Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:54
follow scroll problem
Poster: Ruth
Dated: Tuesday December 2 2003 - 3:21:45 GMT
I finally got back home and downloaded rc28, checked my finally completed menu and hit a snag. I have a horizontal menu fixed top position and a small 'button' that follows scroll which you click to take you back to the menu.
Code:
with(milonic=new menuname("main1")){
style=main1;
top=35;
left=1;
alwaysvisible=1;
followscroll=1;
itemwidth=50;
align="center";
aI("text=<span onMouseOut=\"changeText(this,'MENU')\" onMouseOver=\"changeText(this,'Click')\">MENU</span>;url=#top;");
}
style=main1;
top=35;
left=1;
alwaysvisible=1;
followscroll=1;
itemwidth=50;
align="center";
aI("text=<span onMouseOut=\"changeText(this,'MENU')\" onMouseOver=\"changeText(this,'Click')\">MENU</span>;url=#top;");
}
WIth the rc28 the button disappears off the bottom of the screen as soon as you begin to scroll down.
I checked back on releases and it works in rc14 [I dont' have any until 17] and not in 17 on. The problem occurs in NN4.79 so to stop fiddling with this static browser and yet still have milonic on it, I thought about calling
Code:
<SCRIPT language=JavaScript src="arrayV3.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="mmenu.js" type=text/javascript></SCRIPT>
for NN4 and for all others calling<SCRIPT language=JavaScript src="mmenu.js" type=text/javascript></SCRIPT>
Code:
<SCRIPT language=JavaScript src="milonic_src.js" type=text/javascript></SCRIPT>
<script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");
</script>
<SCRIPT language=JavaScript src="v5.js" type=text/javascript></SCRIPT>
Is this possible and if so could someone help me with how I do it? I have no idea how to do it. Thanks so much. Here's the test page for it if anyone has netscape 4+. http://www.poems2u.com/test/v5test.htm
<script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");
</script>
<SCRIPT language=JavaScript src="v5.js" type=text/javascript></SCRIPT>
Ruth
PS: Happy Holidays ~ and Congrats on the poll, Milonic is far and away the best menu out there IMHO.
Poster: John
Dated: Tuesday December 2 2003 - 4:49:13 GMT
Sorry, Ruth. No more NS4.x. One of the other guys will look at it for you.
Poster: Ruth
Dated: Tuesday December 2 2003 - 6:04:06 GMT
Thanks John, but what I was really interested inn was calling the v3 on the NN4, then I can just leave it there and not bother with it and have v5 being used for all the other browsers out there, and v3 would never be called except for the NN4 browsers. Does that make sense, well I guess only if it's possible to do.
Ruth
Poster: John
Dated: Tuesday December 2 2003 - 14:02:15 GMT
Perhaps this is a bug in the ns4 module of v5. I'll drop Andy a note to take a look.
Meanwhile, would you kindly post your original message to the bugs topic?
Thanks.
Poster: Ruth
Dated: Tuesday December 2 2003 - 16:45:28 GMT
Did that. And updated it here to include the problem, and then found that somehow it ended up posted here AGAIN instead of in the bug section. I'm going to try again to post it in the bug section. Lord, sometimes I feel real dumb
Ruth
Poster: John
Dated: Tuesday December 2 2003 - 18:58:36 GMT
innkeeper9 wrote:
Lord, sometimes I feel real dumb
There's a large group, including me, in that line
Poster: Ruth
Dated: Wednesday December 3 2003 - 18:53:05 GMT
Then do we need to redownload the rc28 because I don't see a new release version yet? It is doing it with the rc28 version I have. Thanks
Ruth
Poster: John
Dated: Wednesday December 3 2003 - 19:17:55 GMT
There were 2 RC28 releases, Ruth (at least). Current (as of now) is Wednesday November 26 2003 - 11:54. Check the comments at the top of any menu code file. The RC AND built date are both important, as frequently there will be multiple releases under the same RC.