/    Sign up×
Community /Pin to ProfileBookmark

Drop Out Menu Won’t Drop Back In

i have a pop out menu on my site, this is the code…

<style>
<!–
#m1 { height: 27px; left: 179px; position: absolute; top: 154px; visibility: hidden;
width: 125px; z-index: 10 }
#m2 { height: 27px; left: 255px; position: absolute; top: 154px; visibility: hidden;
width: 125px; z-index: 10 }
#m3 { height: 27px; left: 324px; position: absolute; top: 154px; visibility: hidden;
width: 125px; z-index: 10 }
#m4 { height: 27px; left: 400px; position: absolute; top: 154px; visibility: hidden;
width: 125px; z-index: 10 }
–>
</style>

<SCRIPT language=JavaScript src=”script_files/Script.htm”></SCRIPT>
<SCRIPT language=JavaScript>
// Courtesy of SimplytheBest.net – [url]http://simplythebest.net/scripts/[/url]
if(document.images){
for (i=1; i<=8; i++)
{
eval(“b”+i+” = new Image()”);eval(“b”+i+”.src = ‘script_files/b”+i+”.gif'”);
eval(“b”+i+”on = new Image()”);eval(“b”+i+”on.src = ‘script_files/b”+i+”on.gif'”);
eval(“m1b”+i+” = new Image()”);eval(“m1b”+i+”.src = ‘script_files/m1b”+i+”.gif'”);
eval(“m1b”+i+”on = new Image()”);eval(“m1b”+i+”on.src = ‘script_files/m1b”+i+”on.gif'”);
}
for (i=1; i<=4; i++)
{
eval(“m2b”+i+” = new Image()”);eval(“m2b”+i+”.src = ‘script_files/m2b”+i+”.gif'”);
eval(“m2b”+i+”on = new Image()”);eval(“m2b”+i+”on.src = ‘script_files/m2b”+i+”on.gif'”);
}
for (i=1; i<=4; i++)
{
eval(“m3b”+i+” = new Image()”);eval(“m3b”+i+”.src = ‘script_files/m3b”+i+”.gif'”);
eval(“m3b”+i+”on = new Image()”);eval(“m3b”+i+”on.src = ‘script_files/m3b”+i+”on.gif'”);
}
for (i=1; i<=4; i++)
{
eval(“m4b”+i+” = new Image()”);eval(“m4b”+i+”.src = ‘script_files/m4b”+i+”.gif'”);
eval(“m4b”+i+”on = new Image()”);eval(“m4b”+i+”on.src = ‘script_files/m4b”+i+”on.gif'”);
}
}
</SCRIPT>

<body>

<!– Menu start –>
<DIV id=m1>
<TABLE border=0 cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD vAlign=top>
<TABLE
border=0 cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD vAlign=top><A href=”http://planmagic.com
onmouseout=mImgOff(1,1) onmouseover=mImgOn(1,1)><IMG border=0
name=m1b1
src=”script_files/m1b1.gif”></A></TD></TR>
<TR>
<TD vAlign=top><A href=”http://planmagic.com/company.html
onmouseout=mImgOff(1,2) onmouseover=mImgOn(1,2)><IMG border=0
name=m1b2
src=”script_files/m1b2.gif”></A></TD></TR>
<TR>
<TD vAlign=top><A href=”http://planmagic.com/products.html
onmouseout=mImgOff(1,3) onmouseover=mImgOn(1,3)><IMG border=0
name=m1b3
src=”script_files/m1b3.gif”></A></TD></TR>
<TR>
<TD vAlign=top><A href=”http://planmagic.com/download.html
onmouseout=mImgOff(1,4) onmouseover=mImgOn(1,4)><IMG border=0
name=m1b4
src=”script_files/m1b4.gif”></A></TD></TR>
<TR>
<TD vAlign=top><A href=”http://planmagic.com/contact.html
onmouseout=mImgOff(1,5) onmouseover=mImgOn(1,5)><IMG border=0
name=m1b5
src=”script_files/m1b5.gif”></A></TD></TR>
</TBODY></TABLE></TD></TR></TBODY></TABLE></DIV>
<DIV id=m2>
<TABLE border=0 cellPadding=0 cellSpacing=0>
<TBODY>
<TR>

<TD vAlign=top>

<TABLE border=0 cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD vAlign=top><A
href=”http://planmagic.com/business_planning.html”
onmouseout=mImgOff(2,1) onmouseover=mImgOn(2,1)><IMG border=0 name=m2b1
src=”script_files/m2b1.gif”></A></TD></TR>
<TR>
<TD vAlign=top><A
href=”http://planmagic.com/marketing_planning.html”
onmouseout=mImgOff(2,2) onmouseover=mImgOn(2,2)><IMG border=0 name=m2b2
src=”script_files/m2b2.gif”></A></TD></TR>
<TR>
<TD vAlign=top><A
href=”http://planmagic.com/webquest.html”
onmouseout=mImgOff(2,3) onmouseover=mImgOn(2,3)><IMG border=0 name=m2b3
src=”script_files/m2b3.gif”></A></TD></TR>
<TR>
<TD vAlign=top><A
href=”http://planmagic.com/finance.html”
onmouseout=mImgOff(2,4) onmouseover=mImgOn(2,4)><IMG border=0 name=m2b4
src=”script_files/m2b4.gif”></A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV>

<DIV id=m3>
<TABLE border=0 cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD vAlign=top>
<TABLE border=0 cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD vAlign=top><A
href=”http://planmagic.com/register.html
onmouseout=mImgOff(3,1) onmouseover=mImgOn(3,1)><IMG border=0 name=m3b1
src=”script_files/m3b1.gif”></A></TD></TR>
<TR>
<TD vAlign=top><A
href=”http://planmagic.com/affiliate.html
onmouseout=mImgOff(3,2) onmouseover=mImgOn(3,2)><IMG border=0 name=m3b2
src=”script_files/m3b2.gif”></A></TD></TR>
<TR>
<TD vAlign=top><A
href=”http://planmagic.com/affiliate.html
onmouseout=mImgOff(3,3) onmouseover=mImgOn(3,3)><IMG border=0 name=m3b3
src=”script_files/m3b3.gif”></A></TD></TR>
<TR>
<TD vAlign=top><A
href=”http://planmagic.com/affiliate.html
onmouseout=mImgOff(3,4) onmouseover=mImgOn(3,4)><IMG border=0 name=m3b4
src=”script_files/m3b4.gif”></A></TD></TR>

</TBODY></TABLE></TD></TR></TBODY></TABLE></DIV>

<DIV id=m4>
<TABLE border=0 cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD vAlign=top>
<TABLE border=0 cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD vAlign=top><A
href=”register.html”
onmouseout=mImgOff(4,1) onmouseover=mImgOn(4,1)><IMG border=0 name=m4b1
src=”script_files/m4b1.gif”></A></TD></TR>
<TR>
<TD vAlign=top><A
href=”affiliate.html”
onmouseout=mImgOff(4,2) onmouseover=mImgOn(4,2)><IMG border=0 name=m4b2
src=”script_files/m4b2.gif”></A></TD></TR>
<TR>
<TD vAlign=top><A
href=”affiliate2.html”
onmouseout=mImgOff(4,3) onmouseover=mImgOn(4,3)><IMG border=0 name=m4b3
src=”script_files/m4b3.gif”></A></TD></TR>
<TR>
<TD vAlign=top><A
href=”affiliate3.html”
onmouseout=mImgOff(4,4) onmouseover=mImgOn(4,4)><IMG border=0 name=m4b4
src=”script_files/m4b4.gif”></A></TD></TR>

</TBODY></TABLE></TD></TR></TBODY></TABLE></DIV>

<!– Menu end –>

<TABLE align=center bgcolor=#000000 width=680 border=0 cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD>
<TABLE border=0 cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD>
<TABLE border=0 cellPadding=0 cellSpacing=0>
<TBODY>
<TR>

<td width=55></td>

<TD vAlign=middle align=center><A href=”index.html”
onmouseout=”imgOff(‘1’)”
onmouseover=”imgOn(‘1’)”><IMG border=0
name=b1 src=”script_files/b1.gif”></A></TD>

<TD vAlign=middle><A href=”index.html#”
onmouseout=”imgOff(‘2’)”
onmouseover=”imgOn(‘2’);Show(‘m1’)”><IMG border=0
border=0 name=b2
src=”script_files/b2.gif”></A></TD>

<TD vAlign=middle><A href=”index.html#”
onmouseout=”imgOff(‘3’)”
onmouseover=”imgOn(‘3’);Show(‘m2’)”><IMG border=0
name=b3 src=”script_files/b3.gif”></A></TD>

<TD vAlign=middle><A href=”index.html#”
onmouseout=”imgOff(‘4’)” onmouseover=”imgOn(‘4’);Show(‘m3’)”><IMG
border=0 name=b4
src=”script_files/b4.gif”></A></TD>

<TD vAlign=middle><A href=”index.html#”
onmouseout=”imgOff(‘5’)”
onmouseover=”imgOn(‘5’);Show(‘m4’)”><IMG
border=0 name=b5 src=”script_files/b5.gif”></A></TD>

<TD vAlign=middle><A href=”index.html#”
onmouseout=”imgOff(‘6’)” onmouseover=”imgOn(‘6’)”><IMG
border=0 name=b6
src=”script_files/b6.gif”></A></TD>

<TD vAlign=middle><A href=”index.html#”
onmouseout=”imgOff(‘7’)” onmouseover=”imgOn(‘7’)”><IMG
border=0 name=b7
src=”script_files/b7.gif”></A></TD>

<TD vAlign=middle><A href=”index.html#”
onmouseout=”imgOff(‘8’)” onmouseover=”imgOn(‘8’)”><IMG
border=0 name=b8
src=”script_files/b8.gif”></A></TD>

<TD width=55> </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>

the problem is, the first 3 pop out menus, when u take ur mouse off of them, the menu goes away, like it is suppost to. However, on the 4th menu, the pop out menu pops out, but it just stays there, even when u go to another menu, it is still there. I’ve tried everything and am baffled and don’t know how to fix it.

(Incase u need URL it’s [url]http://www.fwrestling.com/host/ucw05[/url])

to post a comment
JavaScript

5 Comments(s)

Copy linkTweet thisAlerts:
@artemisSep 24.2004 — [font=technical][size=3]from the link you posted I only see three images and they work fine. all those tables in your code make me feel dizzy. alsoi see that you link to a JavaScript file like so:



<SCRIPT language=JavaScript src="script_files/Script[b].htm[/b]"></SCRIPT>

[/quote]


i thought all external scripts would have to be from a [b].js[/b] file?

[/size]
[/font]
Copy linkTweet thisAlerts:
@SilentBob3208authorSep 24.2004 — Well that does make sense, it came with the script. Would it make any sense to rename it to .js instead of .html?
Copy linkTweet thisAlerts:
@artemisSep 24.2004 — [font=technical][size=3]yes that would do the job. it just makes it easier for the server to recognise what type of content is in each file.[/size][/font]
Copy linkTweet thisAlerts:
@SilentBob3208authorSep 24.2004 — TY for the hint btw, it helped me solve the problem!!

I looked into the htm file and i saw this at the bottom


function hideAll(){

Hide('m1');

Hide('m2');

Hide('m3');

}

I simply added


Hide('m4');

}

for the 4th menu, and it worked! But, would it still be ok to rename the file to .js?
Copy linkTweet thisAlerts:
@artemisSep 24.2004 — [font=technical][size=3]yes just rename it to a file name with a .js suffix & make sure you change the link and congratulations for finding the answer![/size][/font]
×

Success!

Help @SilentBob3208 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...