469,323 Members | 1,575 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,323 developers. It's quick & easy.

Not Absolute Position on the page

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!

Jun 5 '06 #1
1 1085


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>
xx********@juno.com wrote:
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!


Jun 5 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Bryan R. Meyer | last post: by
3 posts views Thread by Alexander Fischer | last post: by
8 posts views Thread by TJ Walls | last post: by
1 post views Thread by Lars A. Gundersen | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Gurmeet2796 | last post: by
reply views Thread by mdpf | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.