Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Dec 2008
    Posts
    82
    Plugin Contributions
    0

    Default add button to launch html page

    How would i go about adding a button to the information menu, so that when you click it it loads an html page in a new window??

    I've installed tiltviewer on my clients site and we want a link to the tiltviewer gallery in the information menu, however we just want the link to load the tiltviewer html page, and not to just link to another php page on the site.
    "You've seen the film, now get the doll. Handi Bendi Ghandi, complete with a wardrobe of robes and a cast of five thousand"

  2. #2
    Join Date
    Dec 2008
    Posts
    82
    Plugin Contributions
    0

    Default Re: add button to launch html page

    Just as a starter for this, I'm assuming that I just need to add an extra page and menu item as per the about_us scenario, but change the target of the navigation button to point towards the html file???.... Am I correct??
    Please help,

    Cheers, Andy
    "You've seen the film, now get the doll. Handi Bendi Ghandi, complete with a wardrobe of robes and a cast of five thousand"

  3. #3
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,119
    Plugin Contributions
    6

    Default Re: add button to launch html page

    Quote Originally Posted by bettsaj View Post
    Just as a starter for this, I'm assuming that I just need to add an extra page and menu item as per the about_us scenario, but change the target of the navigation button to point towards the html file???.... Am I correct??
    Please help,

    Cheers, Andy
    Yep. That should do it.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  4. #4
    Join Date
    Dec 2008
    Posts
    82
    Plugin Contributions
    0

    Default Re: add button to launch html page

    Ok... If you check the site you'll see that I've created a new page and nav button for gallery.

    www.pinknblue.biz/index.php

    Now I just need to know what code to alter and where to make the nav button open www.pinknblue.biz/tiltviewer/index.html

    Also I want it to open in a new window if possible.

    Cheers,

    Andy
    "You've seen the film, now get the doll. Handi Bendi Ghandi, complete with a wardrobe of robes and a cast of five thousand"

  5. #5
    Join Date
    Dec 2008
    Posts
    82
    Plugin Contributions
    0

    Default Re: add button to launch html page

    can't figure out where to put the code.. or even what to put...

    Any takers please?

    Andy
    "You've seen the film, now get the doll. Handi Bendi Ghandi, complete with a wardrobe of robes and a cast of five thousand"

  6. #6
    Join Date
    Dec 2008
    Posts
    82
    Plugin Contributions
    0

    Default Re: add button to launch html page

    I've tried changing some of the code in information.php but when I do the menu just disappears.... i need some guidance on this.
    "You've seen the film, now get the doll. Handi Bendi Ghandi, complete with a wardrobe of robes and a cast of five thousand"

  7. #7
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,119
    Plugin Contributions
    6

    Default Re: add button to launch html page

    Quote Originally Posted by bettsaj View Post
    Ok... If you check the site you'll see that I've created a new page and nav button for gallery.

    www.pinknblue.biz/index.php

    Now I just need to know what code to alter and where to make the nav button open www.pinknblue.biz/tiltviewer/index.html

    Also I want it to open in a new window if possible.

    Cheers,

    Andy
    bett, when you created your nav button, where did it get this URL?: http://pinknblue.biz/index.php?main_page=gallery, as that's where it's pointing to (you had to point it that dirrection, somewhere. Just change that address to your html page, or even better.....put your gallery on the page that the nav button is already pointing to.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  8. #8
    Join Date
    Dec 2008
    Posts
    82
    Plugin Contributions
    0

    Default Re: add button to launch html page

    I'm not sure whether the tiltgallery will display properly embedded into a php page, due to the size required for the tiltgallery to work. I think it would be too small.

    I'll give it a go though, and see what it looks like. I still prefer the idea of the galley loading in a seperate window with the black background.
    "You've seen the film, now get the doll. Handi Bendi Ghandi, complete with a wardrobe of robes and a cast of five thousand"

  9. #9
    Join Date
    Dec 2008
    Posts
    82
    Plugin Contributions
    0

    Default Re: add button to launch html page

    i embedded the gallery into the define_gallery.php page and it was way too small. I still think it's better to click the nav button and the gallery page loads in a seperate window full screen.

    The url of the gallery page is www.pinknblue.biz/tiltviewer/index.html

    you'll see it looks much better and at a nice resolution.
    "You've seen the film, now get the doll. Handi Bendi Ghandi, complete with a wardrobe of robes and a cast of five thousand"

  10. #10
    Join Date
    Dec 2008
    Posts
    82
    Plugin Contributions
    0

    Default Re: add button to launch html page

    Quote Originally Posted by Get Em Fast View Post
    bett, when you created your nav button, where did it get this URL?: http://pinknblue.biz/index.php?main_page=gallery, as that's where it's pointing to (you had to point it that dirrection, somewhere. Just change that address to your html page, or even better.....put your gallery on the page that the nav button is already pointing to.

    Where do I change that code?
    "You've seen the film, now get the doll. Handi Bendi Ghandi, complete with a wardrobe of robes and a cast of five thousand"

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. HTML Code Needed - Click Here Button
    By brighteyedbambam in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 5 Mar 2009, 10:56 AM
  2. Editing the css button generation html output
    By dsided in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 9 Sep 2008, 01:43 PM
  3. Edit 'Add to Cart' Button HTML
    By DiZZ in forum General Questions
    Replies: 5
    Last Post: 21 May 2008, 08:48 PM
  4. Add "Buy Now" button on a simple HTML page
    By daman in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Apr 2008, 06:25 PM
  5. Possible to Download button open an html window using .js?
    By hifipj in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Oct 2007, 08:07 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •