Results 1 to 6 of 6

Thread: Ultimate Fade-in slideshow (v1.51): Disable Left Mouse Click

  1. #1
    Join Date
    Aug 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ultimate Fade-in slideshow (v1.51): Disable Left Mouse Click

    Script URL: http://www.dynamicdrive.com/dynamici...nslideshow.htm

    I am using this script with the mouse over option disabled. Is it possible to disable left clicking the images in the slideshow (I do not have the images linking to anything).

    Thanks

  2. #2
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    Sure. Just don't put any links in the array, Like in fadeimages[0]: fadeimages[0]=["photo1.jpg", "", ""] //plain image syntax
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  3. #3
    Join Date
    Aug 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks so much! I removed
    Code:
    "", ""
    earlier when working on the script and forgot that I needed to replace it. I was almost pulling my hair out.

  4. #4
    Join Date
    Aug 2007
    Posts
    21
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    I am new to scripts and have been using the ultimate fader script to learn on.
    I have manged to get it to work on my html page with the script imbedded in the code. My next try was to put the script into an external file and get it o work that way. Problem:- the ultimate fader is in effect two scripts - the first is the bit that goes in the <head> and the secon is the bit that goes in the <body> I can run the entire script from a separate .js file but then it is all in the <head> section. If I just run the first part of the script from a separate .js file into the <head> section and leave the second part imbedded in the html file I get errors when i try to run it like fadeshow not declared etc.
    How do I run a two part script from a separate .js file? I tried leaving part of the html that goes between the 2 parts of the script in the .js file but that was a disaster!!
    Any help will be appreciated by a newbie!!
    Peter

  5. #5
    Join Date
    Aug 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

  6. #6
    Join Date
    Aug 2007
    Posts
    21
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks for your reply Kiterson.
    Your link doesn't address the fact that there are 2 parts to the script - one in the <head> and one in the <body>. If you call the .js file from the <head> then the <body> bit doesn't work. I tried just putting the long <head> part into the external .js file and leaving the short <body> part embedded but that doesn't work because when the <head> bit gets to the end it doesn't leave any refs for the <body> bit to work on, hence the error messages.
    many thanks,
    Peter

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
  •