navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Free FrontPage Templates

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Remove absolute position in Javascript Menu

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> Remove absolute position in Javascript Menu
Page: [1]
 
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>

(in reply to xx75vulcan)
Page:   [1]

All Forums >> Web Development >> General Web Development >> Remove absolute position in Javascript Menu
Page: [1]
Jump to: 1





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