/    Sign up×
Community /Pin to ProfileBookmark

Floating Vertical Pull Down Menu?

Ok, I’m trying to edit a site that was created by another user. He’s got a vertical pulldown menu working on a framed site. The problem is that it doesn’t float or stay visible when someone is scrolling, and the client wants it too. Here’s the code for the menu, but does anyone know how to edit it so it floats also? I’d really appreciate the help. The site is [url]www.shawnmei.com[/url]

<script language=”JavaScript”>

var keepstatic=0
var menucolor=”#000060″
var submenuwidth=150

</script>

</head>

<body bgcolor=black marginwidth=”0″ marginheight=”0″ leftmargin=”0″ topmargin=”0″ scrolling=no noresize>

<script language=”JavaScript” src=”menu.js”></script>
<script language=”JavaScript” src=”menucontext.js”></script>
<script language=”JavaScript”>
showToolbar();
</script>
<script language=”JavaScript”>
function UpdateIt(){
if (ie&&keepstatic&&!opr6)
document.all[“MainTable”].style.top = document.body.scrollTop;
setTimeout(“UpdateIt()”, 200);
}
UpdateIt();
</script>

<script language=JavaScript>
<!–

function clickIE() {if (document.all) {(message);return
false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all))
{
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents
(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else
{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function(“return false”)
// –>
</script>

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @esykes 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,
)...