Closed Thread Icon

Topic awaiting preservation: hands in the air with the slide-out menu. (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=8396" title="Pages that link to Topic awaiting preservation: hands in the air with the slide-out menu. (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: hands in the air with the slide-out menu. <span class="small">(Page 1 of 1)</span>\

 
jive
Paranoid (IV) Inmate

From: Greenville, SC, USA
Insane since: Jan 2002

posted posted 11-18-2002 01:37

I've been learning and studying javascript and I found a great script, but I'm having difficulties with it. I've beat my head on the monitor for hours trying to figure this out, so now I figure its time to throw my hands up and just seek some inmate shock therapy (help). So here we go.

Files:

There are two files simpledown4: working file with only 4 menu links. Simpledown5error: Same file but added 5th menu link and am getting errors and is not laying out right.

What I'm trying to do: be able to add more menu links besides only 4.

Errors:

1rst error when the page loads:

line: 164
Char: 3
Error: 'upslideoutmenu' is undefined
code: 0

next two errors when I rollover link5

line: 85
Char: 1
Error: 'container' is null or not an object
code: 0


line: 95
Char: 1
Error: 'container' is null or not an object
code: 0

So I'm gonna keep trying to figure this out... If somebody can school me a bit or help out that would be much appreciated.





Rooster
Bipolar (III) Inmate

From: the uterus
Insane since: Nov 2002

posted posted 11-18-2002 03:10

Do you use IE?

jive
Paranoid (IV) Inmate

From: Greenville, SC, USA
Insane since: Jan 2002

posted posted 11-18-2002 16:32

yes, I use ie. The script works with all browsers. but the problem I'm having is adding more than one main menu link.




Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 11-18-2002 16:55

Look veeeeeerrrrryyyyy closely at this:

new ypSlideOutMenu("menu1", "down", 10, 125, 150, 100)
new ypSlideOutMenu("menu2", "down", 74, 125, 150, 100)
new ypSlideOutMenu("menu3", "down", 134, 125, 150, 75)
new ypSlideOutMenu("menu4", "down", 194, 125, 150, 100)
new ypslideoutmenu("menu5", "down", 230, 125, 150, 100) // <- error on this line

I found this by listening to the first error that the page gave ("ypslideoutmenu is undefined"). It seemed strange that it would happen on that 5th line if it hadn't happened before then.

[This message has been edited by Slime (edited 11-18-2002).]

Rooster
Bipolar (III) Inmate

From: the uterus
Insane since: Nov 2002

posted posted 11-18-2002 18:31

Do this, if you haven't already...

Tools->Internet Options->Advanced->Browsing->Disable Script Debugging = False;

Reload the page with errors; then when it asks click, ?yes?, ?yes?, ?ok?.

« BackwardsOnwards »

Show Forum Drop Down Menu