Results 1 to 5 of 5

Thread: Image Spotlight effect IE

  1. #1
    Join Date
    Dec 2004
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Image Spotlight effect IE

    this code seems to allow only for one image to carry the id tag, applying the same id tag to other images will not work.

    here is the link:http://www.dynamicdrive.com/dynamicindex4/spotlight.htm

    i.e.

    when the id is applied to two images the code will not work for bth
    <img id="myimage"src="image1.gif">
    <img id="myimage" src="image2.gif" >
    Last edited by zhangdong; 12-05-2004 at 07:04 AM.

  2. #2
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I believe it to only be applicable to one image per page.

    Also note that 10%ish of your users won't be able to see this as they are using either FireFox or Netscape.

    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  3. #3
    Join Date
    Mar 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hello,

    I am having a similar issue, although I was able to modify the code partially. The result were 3 images blacked out, ready to scroll your mouse over, but only 1 of the 3 actually working. In fact, by scrolling over any of the 3 images, only the 3rd image will display the spotlight. Very strange.

    I would VERY much appreciate any help in solving this riddle.

    The original page using 1 image is here: www.furryarns.com/bogo.htm

    The new page with 3 images is here: www.furryarns.com/bogo.new.htm

    Thanks!

    -=K=-

  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

    Note: Questions regarding multiple script usage are not usually replied to due to their time consuming nature. See this thread for more information, and this tutorial for one possible solution.

    Aside from the tutorial above, which usually is the solution when the problem is two different scripts, you may need to consult:

    http://www.howtocreate.co.uk/tutoria...allshow#refcon

    Which explains how two scripts on the same page may not use the same set of variable names, id names, etc. This is especially important if the problem is two copies of the same script on a page but, can come into play with two different scripts when the first step won't fix it.

    One other approach that works in both situations, if adaptable to one (or more) of the scripts, is to put one script in a borderless iframe. It will look like it is on the same page but, since it really is on a separate page, conflicts are no longer an issue.
    - John
    ________________________

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

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

    Default

    Hello,

    Thank you for advising me of the prior threads. I posted knowing the policy of dynamic drive, because the forum is the place for assistance. However, I cannot follow your recommendation, simply because i dont know any coding. I am a self taught hack, working on trial and error. Not familiar with borderless frames, but it sounds interesting.

    If you or someone could actually provide assistance directly related to my stalled web page, I would be very appreciative. Any other kind of advice is really not going to help.

    Thanks,

    -=K=-

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
  •