Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New Coder
    Join Date
    Jul 2002
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Adding more than one Dynamic Script

    I can run my DHTML Scroller script fine but just two days ago I wanted to add a DHTML Script that shows fall leaves falling on the page, when I activated it My DHTML SCROLL vanished on the page I removed the command of fall from "window.onload="
    Left the window.onload=scroll active.

    saved the changes and my DHTML Scroll was back.

    Is there a simple way to allow for more than one DHTML Script to run on a site

  • #2
    Regular Coder
    Join Date
    May 2002
    Location
    Maine, USA
    Posts
    574
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Here's a good tutorial on adding multiple scripts to a page you may want to have a look at .

    http://www.javascriptkit.com/javatut...iplejava.shtml
    boxer_1
    CodingForums Moderator
    "How did a fool and his money get together in the first place?"

  • #3
    Regular Coder
    Join Date
    May 2002
    Location
    Maine, USA
    Posts
    574
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Whoops ! Sorry, I meant to move this thread to the Javascript programming forum, but accidentally moved it here (clicked on the wrong selection). Again, sorry about the mistake.
    Last edited by boxer_1; 07-26-2002 at 05:31 PM.
    boxer_1
    CodingForums Moderator
    "How did a fool and his money get together in the first place?"

  • #4
    New Coder
    Join Date
    Jul 2002
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank You

  • #5
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    Hmm, putting this in JS Programming.

  • #6
    New Coder
    Join Date
    Jul 2002
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ditto on the Job!

  • #7
    New Coder
    Join Date
    Jul 2002
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Addin OnloadSCroll

    Fixed the problem of two window.onload but now
    I want to add the window.onscroll

    But it doesn't show up.

    tried several things including this:

    <body onload="runmikescroll() ;fall() ;staticize()">


    but it is certain I am doing something wrong.

    tried adding this as well

    <body onscroll="staticize ;()">

    Last edited by sabarros; 07-26-2002 at 07:30 PM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •