Click to See Complete Forum and Search --> : Please Help!


katie_lostsoul
04-13-2003, 12:43 PM
HI there,

Awhile ago I tried a java script which was a top navigational menu (mouse over, menu appears) and I could never get it to work.

I downloaded it at www.dynamicdrive.com it's called Top Menu and it's the 1st version. Has anyone had difficulty with this one?

And would anyone be interested in looking at it for me? Thanks!

devinabox
04-13-2003, 02:34 PM
I'll be glad to take a look for you...you can email me your code, or post it here...

katie_lostsoul
04-14-2003, 07:14 PM
Hi there,


Alrighty, I have attached the 3 files you need...and please note that none of the links are actually valid since I don't want to do them properly until I get this darn thing working!

Also, here is the direct link of the page so you can see that it doesn't work:

http://www.angelfire.com/theforce/katietrfan/TEST.html you can see that the menu is there, however when you run your mouse over the links they either work or dont' work...and if they work, roll your mouse down further on the list...it disappears! :(

Thanks again!! :)

katie_lostsoul
04-14-2003, 07:16 PM
Guess I should attach the files :p

Wait...it won't let me! they are .js files..hmm

katie_lostsoul
04-17-2003, 09:52 PM
Hi guys,

I posted a help thing a few days ago but it quickly got moved to the 3rd page so I'm going to try again! :P

Alrighty, awhile ago I downloaded a java script for a cool menu that I wanted. I had it all working great, until I uploaded my site, then it decided not to work.

I am determined to get it to work!! Here it is:
http://www.angelfire.com/theforce/katietrfan/TEST.html

As you can see, when you roll your mouse over it, it either works, or doesn't...and if it does, it dissappears immediately. Can anyone please help? I would attach the js files, but this forum won't let me..hm...

Thanks!

DrDaMour
04-17-2003, 09:56 PM
you have these two lines

<script language="JavaScript" src="file:///C|/Documents%20and%20Settings/Katie/Desktop/menu.js"></script>
<script language="JavaScript" src="file:///C|/Documents%20and%20Settings/Katie/Desktop/menucontext.js"></script>


which are local file locations, that may be your problem, but i can't get debug yoru code without those things being properly loaded

katie_lostsoul
04-17-2003, 10:00 PM
Ok, try the link again!!

DrDaMour
04-17-2003, 10:19 PM
first off you can zip the js files and then they can be looked at.

The problem is that anglefires javascript is conflicting with your own javascript. I'll see if i can narrow it down to what is messing up exactly, but if you don't use angelfire, it should work fine....

katie_lostsoul
04-17-2003, 10:20 PM
Can I e-mail you the js files????

Stupid angelfire...hmm..I was wondering if that was the problem, but then someone helped me here with another script and it turns out that the person who wrote the script wrote it wrong!!! :D

Thanks,
Katie

DrDaMour
04-17-2003, 10:30 PM
Ok the problem is

this script is written assuming that the bar will be at the top of the page. What's happening is since it's not at teh top on angelfire if you go down a submenu and you get to a point that is past what the script thinks is the end of the submenu it hides it. So that's the problem, it think syou're going past the farthest point in teh script because the whole menu on anglefire is moved x pixels down.

how to fix this i will leave to a master like dave, cause it's definately outa my league.

katie_lostsoul
04-17-2003, 10:33 PM
Lol -- I have no idea what you're talking about...hehe

DAVE?! WHERE ARE YOU???

Thanks for replying! :) SHould I send Dave a pm?

DrDaMour
04-17-2003, 10:38 PM
well see that menu hides the submenu when the mouse goes past a specific y coordinate. taht y coordinate is based on the idea taht the menu is at the very top of the page. since angelfire is pushing the menu down that y coordinate is no longer correct and teh menu is dissapearing to soon.

crappy picutre
should be:

xxxxxxx <--submenu
xxxxxxx <--submenu
xxxxxxx <--submenu
yyyyyyyy <--point at which sub menu disapears

is

zzzzzzz <-anglefire stuff
zzzzzzz <-anglefire stuff
zzzzzzz <-anglefire stuff
xxxxxxx <--submenu
yyyyyyyy <--point at which sub menu disapears
xxxxxxx <--submenu

katie_lostsoul
04-17-2003, 10:39 PM
Oooh, I see what you mean...hmm...is this fixable???

katie_lostsoul
04-18-2003, 01:41 PM
Yes, yes I do!

I downloaded a java script a loooong time ago for my site. A cool drop down menu. I got it to work fine on my puter until I uploaded it, and it stopped working...could you look at the script for me? DrDaMour said...well, look up hehe (too much to type)

I can e-mail you the .js files if you like? Thanks!

Katie

DrDaMour
04-18-2003, 04:21 PM
but that's not her problem....don't most browsers just ignore a second body tag anyways?

katie_lostsoul
04-18-2003, 08:27 PM
Two body tags, eh? *puts on glasses* :confused: Can't see them!

khalidali63
04-19-2003, 02:34 PM
Here you go....

once the pixel difference caused by the banner was removed,the code works as it should be

http://68.145.35.86/temp/kattie/TopNavMenu-katie_lostsoul.html

:D

DrDaMour
04-19-2003, 03:06 PM
see i knew someone talented woudl have the answer

katie_lostsoul
04-19-2003, 06:43 PM
LOL :D Yeppers!