Results 1 to 6 of 6

Thread: Conveyor Belt slideshow - javascript:openWind

  1. #1
    Join Date
    May 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Conveyor Belt slideshow - javascript:openWind

    Conveyor Belt slideshow
    http://www.dynamicdrive.com/dynamici...rightslide.htm

    greetings. trying to open window (when user clicks on image) using javascript:openWind but cannot get script to work - any help would be great (oh, opening directly to jpg file, but code to htm file is the same really, so I'll take that)

    thanx in advance!!

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    The way this script is set up, using the target="_blank" would be easier (from the demo code, changes in red):
    Code:
    leftrightslide[0]='<a href="http://" target="_blank"><img src="dynamicbook1.gif" border=1></a>'
    but, you could use:
    Code:
    leftrightslide[0]='<a href="#" onclick="javascript:window.open(\'http://\');return false"><img src="dynamicbook1.gif" border=1></a>'
    There is no openWind unless you've defined it as a function.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jun 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default conveyor belt slideshow popup to size

    I see that you helped someone on how to use the conveyor belt slideshow script to open a pop window via two methods. Through a _blank window as well as through a javascript openwindow. I can also see (though I'm not very knowledged in programming) that you seem to be escaping out with "\" to allow the ' character.

    Now to the point. I'm seeking to use the javascript method of opening a window because I know its capable of setting size/noscroll/nostatus etc but I don't understand the proper form of integrating it within the slideshow script.

    Could you kindly help by showing me a sample of opening a popupwindow to a specific size?

    thank you for your time...

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    See this thread:

    http://www.dynamicdrive.com/forums/s...ead.php?t=3197

    Let us know if you still have questions.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Jun 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default a thousand thanks

    I knew I had the idea right... thank you for the reference that lead to the popup generator as well.

    Much appreciated!

  6. #6
    Join Date
    May 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    John: thank you so much for the detailed example.

    Elle

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
  •