Results 1 to 3 of 3

Thread: Random iframe & DHTML Menu

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

    Default Random iframe & DHTML Menu

    Script: DD Random Iframe
    http://www.dynamicdrive.com/dynamici...ndomiframe.htm

    and

    Script: DD Jim's DHTML Menu V5.7
    http://www.dynamicdrive.com/dynamici...menu/index.htm

    These 2 scripts wont play well together. I'm a bit of an amateur so i cant see the problem but when i load the two scripts in the same page the menu wont work. When I delete one or the other out of there the one reamining works. Anybody bored and feel like taking a quick gander?

  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

    change this:

    <body onload="init()">

    to this:

    <body onload="init();random_iframe();">

    and delete this:

    window.onload=random_iframe

    I wasn't supposed to tell you that, I was supposed to say:

    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.

    But, you were such a good sport for posting links to both scripts and, if my advice confuses you or doesn't work, wait till you read the info in that.
    - John
    ________________________

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

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

    Default

    See that i try to follow the rules and always manage to miss one. hahah

    Thanks a million j.

    Worked perfectly! Now where the heck is that donate button again?

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
  •