|
| |
|
|
xx75vulcan
Posts: 25 Joined: 1/6/2006 From: Wildwood MO Status: offline
|
Remove absolute position in Javascript Menu - 6/5/2006 17:00:47
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!
|
|
|
|
xx75vulcan
Posts: 25 Joined: 1/6/2006 From: Wildwood MO Status: offline
|
RE: Remove absolute position in Javascript Menu - 6/5/2006 17:37:59
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>
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|