DHTML Menu floating

Home » Forums » Free DHTML Menu Builder » DHTML Menu floating


Trial User
2 posts

Hi everyone,

The menu floats away from the table cell whewre it is supposed to appear, when I add the iframe name "contents" to my menu.js file (attached)

I modified the menu.js file as follows (added 'contents'):

var DocTargetFrame='contents'; // Frame where target documents appear


When I did that my menu bar moves down, into the IFrame space:

http://charlesdarwall.com/t/

Or, the problem is that my menubar is not locking into the table?!?!?

P.S. The menu.txt file attached is the menu.js (name changed to allow upload to this site.)


Senior Advisor
3,144 posts

Charles,

You posted your question in the FLASH menu builder message section.

I have moved your question to the DHTML message section.

The line of code you have posted in your message is to used with controlling what appears in a FRAME, not iFrame.

There are many help files here for the DHTML menu builder. Look here:
http://www.coffeecup.com/free-dhtml/help/

One thing you can do is remove the changes to that line of code you posted above, and find this line of code:
var TargetLoc=''; // span id for relative positioning
change this to read:
var TargetLoc='themenu'; // span id for relative positioning

Now enclose the menu in a span.

<span id="themenu"> menu code goes here </span>

That should keep the menu where you place it.
Bill R.
First Baptist Church
Brighter Day Charities
Roberson Family


Registered User
2 posts

Bill,
Will my menu still will not stay in the right place depending on the monitor size? Am I doing something wrong or do I need to change something else?


Senior Advisor
6,674 posts
Online Now

Hiya Traci,

We will need link(s) to your site page(s) in question to be able to help you more. Just saying something still isn't working doesn't tell us much hehe. :) Jo Ann

http://lbwebsites.com just recently completed and open :)
http://northbaldwinliteracycouncil.org .... Our local Literacy Council

Due to spammers the below sites are not viewable outside the US, sorry guys :(
http://proudayou.com - My sons website for his music business
http://rockinwithmainstreet.com - My brother's band website

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.