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 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Aug 2002
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    For those who are good with javascript...

    Iv'e been working with this dropdown menu. At first, i only had one problem with it, but earlier today, iv'e been getting another error.

    The menu is located at Primarysolution.com/psmenu.html

    The first issue is... I'm trieng to get it to drop down straight from the dropdown image location, instead of using the positioning from the left. This needs to be done because the layout is centered, therefore if someones browser is minimized, the ligning won't be right.

    The problem (which just started happening once i added another 2 menu's) is ... If you look under "Client Reviews", and you let about 2 reviews go by... You will see that it starts saying "Undefined". I don't know what's causing that to happen.

    If anyone can help me, I'd really appreciate it. Thanks.
    Last edited by josh; 08-06-2002 at 11:54 PM.

  • #2
    Regular Coder
    Join Date
    May 2002
    Location
    Seattle, WA
    Posts
    665
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hi,
    you're using the Pausing updown message scroller from Dynamic Drive: http://www.dynamicdrive.com/dynamicindex2/crosstick.htm

    and you're using illegal copy of the script in your page. please put a copyright notice in the script. also, the current version works in NS6. once the Copyright notice is added, then we can help with the script.

    thanks.

  • #3
    New to the CF scene
    Join Date
    Aug 2002
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'm sorry. I wasn't aware of who created it to begin with. I got it from a friend over at youngpup.net.

    Anyways, When i try go to the dynamicdrive link provided, and try to add the copyright notice on the top, it gives me a syntax error.
    Last edited by josh; 08-07-2002 at 02:22 AM.

  • #4
    Regular Coder
    Join Date
    May 2002
    Location
    Seattle, WA
    Posts
    665
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hi,
    just add them like so:

    <script language="JavaScript1.2">

    /*
    Pausing updown message scroller-
    ?Dynamic Drive (www.dynamicdrive.com)
    For full source code, installation instructions,
    Terms Of Use, visit http://www.dynamicdrive.com
    */

    //configure the below five variables to change the style of the scroller
    var scrollerwidth=150
    var scrollerheight=105

    ...

    and make sure to follow directions from Dynamic Drive on installing this script(meaning for your problem, put the entire set of code together).


  •  

    Posting Permissions

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