Not Absolute Position on the page

X

xx75vulcan

Howdy!

I need to find a way to remove the absolute positioning on a JavaScript
Menu that was given to me.

If I remove the values "162" and "255" in the line:

var pMenu = new PopupMenu('pMenu');
with (pMenu)
{
startMenu('root', false, 162, 225, 17, hBar);

Then the menu doesn't appear at all. I've tried putting the
<script></script> tags inside of a table, but it ignores them and
defaults to the absolute values inside of the script.

My boss doesn't want to start over, he just wants to eliminate the
absolute location.

http://www.rockwood.k12.mo.us/needhelp.htm

Much Thanks!
 
X

xx75vulcan

Nevermind....

All you have to do is in the HTML page, put the <script></script> tags
inside of an <span STYLE:"Position:relative;"></span> Tag.

Ex:

<SPAN STYLE="position:relative; ">
<div id="mymenu">
<script language="JavaScript1.2" src="nav_copy(1).js"></script>
</div>
</SPAN>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top