Closed Thread Icon

Topic awaiting preservation: Sliding menu...AHH!! (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=8345" title="Pages that link to Topic awaiting preservation: Sliding menu...AHH!! (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Sliding menu...AHH!! <span class="small">(Page 1 of 1)</span>\

 
Thumper
Paranoid (IV) Inmate

From: Deeetroit, MI. USA
Insane since: Mar 2002

posted posted 10-15-2002 00:41

Not a coder here, I am trying to lay this side menu out with a DHTML menu slider I found. The original script was just background colors and 1 px borders...So I went ahead and decided to throw in some backgroud IMAGES! Well turns out there is something in the code, that when viewed in Netscape 6, is mysteriously adding a 1 px seperator between the Menu Categories. This is bugging the HELL out of me! Can anyone help?

The menu can be found here.

The Javascript can be found here.

Thanks in advance!

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 10-15-2002 02:09

Hmm. Have you tried manually setting a height for the element via CSS? Perhaps you should combine that with overflow:hidden.

Thumper
Paranoid (IV) Inmate

From: Deeetroit, MI. USA
Insane since: Mar 2002

posted posted 10-15-2002 05:29

Slime, that was my initial thought. I tried it in the CSS, and for the variables that are set for the js (check the file). No dice! Still the same thing in Netscape only. IE is fine. I am very convinced that it is somewhere in the .js file and since I am only good with code from the neck down, I cannot put the puzzle together. I can tell you this, if it is some kind of "hint," there is a function... :

code:
function epull_down(nr,to,nowv)
{
if((nowv + steps) >= to) {vsteps = to - nowv;}
else {vsteps = steps;}
name = "down" + (nr-1);
obj = document.getElementById(name).style.clip = "rect(0,"+width+","+(nowv+vsteps)+",0)";
for (i=nr;i<self_menu.length;i++)
{
name = "down" + i;
obj = document.getElementById(name);
obj.style.top = parseInt(obj.style.top)+vsteps;
}
nowv+=vsteps;
if(nowv < to) timerID = setTimeout("epull_down("+nr+","+to+","+nowv+")",speed);
else {timerID = "";if(startid != "stop") open_all(); else end_prepare()}
}



...within the Javascript that when I change (nowv+vsteps) to just (nowv), it adds ANOTHER 1 px line at the BOTTOM of the submenu on the first run (Netscape 6), but dissappears for good after it has been collapsed once. I am thinking somewhere around here is the problem. I dunno though...

*rips out hair*

Oh shit now I have another problem!! My hair is gone! Can anyone recommend a good toupe manufacturer? Money is no object!

SalmanKhana
Bipolar (III) Inmate

From: Fresno, CA, USA
Insane since: Apr 2002

posted posted 10-18-2002 02:52

I'm also looking for a good Menu script that lets images as background..


can u guys help plz ?

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 10-18-2002 08:38

SalmanKhana, there's no need for posting replies all around the place, because you already asked the similar question in another topic...


« BackwardsOnwards »

Show Forum Drop Down Menu