Results 1 to 4 of 4

Thread: conveyer belt

  1. #1
    Join Date
    Apr 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default conveyer belt

    1) Script Title: conveyer belt slideshow

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...rightslide.htm

    3) Describe problem: Really cool slideshow! Is it possible to have a popup message on some of the pictures , when clicked?
    Karin

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    A popup message? Do you mean an alert box with a message in it, or something else? If the first, simply put this in the array where you define the images:

    Code:
    leftrightslide[0]='<a href="#" onclick="alert(\'This is my message\'); return false;"><img src="dynamicbook1.gif" border=1></a>'
    leftrightslide[1]='<a href="http://"><img src="dynamicbook2.gif" border=1></a>'
    The above will make the first image show an alert box when the image is clicked.
    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    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

    Yes, just choose a pop message script, install it on the page, and insert its HTML code for the pop up trigger here (and similar, as desired) in the conveyor script:

    Code:
    leftrightslide[0]='<a href="http://"><img src="dynamicbook1.gif" border=1></a>'
    The only tricky parts are:

    1. If the pop up trigger code uses single quotes (') the must be escaped (\').
    2. And, possible script conflicts. Choose a pop up script and I can tell you if there will be a script conflict and if so, how to avoid it.
    - John
    ________________________

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

  4. #4
    Join Date
    Apr 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Great !

    thanks for the tips!!!! Popups work great! karin

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
  •