Results 1 to 3 of 3

Thread: DOM Image Rollover II and DHTML Tip Message conflicting?

  1. #1
    Join Date
    Dec 2006
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default DOM Image Rollover II and DHTML Tip Message conflicting?

    1) Script Title:
    DOM Image Rollover II
    DHTML Tip Message

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamicindex15/domroll2.htm
    http://www.dynamicdrive.com/dynamicindex5/popinfo.htm

    3) Describe problem:
    The above two scripts are brilliant. However when both are use on the same page they conflict (as I found out by turning one or the other off). My experience of JS isn't exactly brilliant, but I have looked through the var and functions calls yet cannot find any conflicting elements.

    I'd really like to be able to use both scripts together, but I am facing a brick wall. Does anyone have any ideas or solutions?

  2. #2
    Join Date
    Dec 2006
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default



    D'oh. It came down to a variable

    A few of us (one who claims to be good at js) spent ages looking over this and completely missed the "ih" variable
    Last edited by aka Robbie; 02-14-2007 at 04:33 PM.

  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

    That's funny, it took me a few minutes just now but, I came up with the 'ih' variable. Specifically by changing (case sensitive, whole words only):

    ih

    to:

    newih

    in oodomimagerollover.js
    - John
    ________________________

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

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
  •