Results 1 to 7 of 7

Thread: Open Window with Full Screen Window Opener with Link instead of button.

  1. #1
    Join Date
    Dec 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Open Window with Full Screen Window Opener with Link instead of button.

    1) Script Title: Full Screen Window Opener

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex8/window1.htm

    3) Describe problem: How do I change this script to onclick to open new window when clicking a link rather than a button. I want to open a fullscreen slideshow using this script by having the window open when a thumbnail image is clicked.

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Replace this:
    HTML Code:
    <form>
    <input type="button" onClick="fullwin('http://www.dynamicdrive.com')" value="Open window">
    </form>
    with this:
    HTML Code:
    <a href="#" onClick="fullwin('http://www.dynamicdrive.com')">Open window</a>

  3. #3
    Join Date
    Dec 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thankyou... works great in IE, Opera, and Firebird... except Firebird leaves the status bar. Is there anyway to not load the status bar in Firebird? I tried adding status=0 and statusbar=0 with no affect.

  4. #4
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Firebird?? Is that like Firefox 1?

  5. #5
    Join Date
    Dec 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ha ha ... must have been a latent memory of my 1967 Firebird....

    Yes... I mean Firefox. Is there anyway to not load the status bar in Firebird? I tried adding status=0 and statusbar=0 with no affect.

    Thankyou Snookerman for your help.

  6. #6
    Join Date
    Dec 2008
    Location
    Nigeria
    Posts
    95
    Thanks
    3
    Thanked 8 Times in 8 Posts

    Default

    <a href="javascript:void(0)" onClick="fullwin('http://www.dynamicdrive.com')">Open window</a>
    or
    <a href="javascript:fullwin('http://www.dynamicdrive.com');">Open window</a>

    will also work fine.

  7. #7
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Quote Originally Posted by ezink View Post
    Yes... I mean Firefox. Is there anyway to not load the status bar in Firebird?
    well Firefox did have a couple of different names, one of them being Firebird.

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
  •