View Full Version : For those who are good with javascript...

08-06-2002, 10:52 PM
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 (http://www.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.

08-07-2002, 12:01 AM
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.


08-07-2002, 01:17 AM
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.

08-07-2002, 03:01 AM
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).