Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > hiding menu item in dreamweaver flyout menu

Thread Tools

hiding menu item in dreamweaver flyout menu

Posts: n/a
The follwing code in SECTION A comes from a flyout menu that was
created in Dreamweaver.

I added a div tag to one of the items in there because I would like to
control when it is displayed. <div id="RenewCoverage"> is what I

It appears that I can't simply use a function like in SECTION B
because of the way the dynamic menu is called.

Any body familiar with dreamweaver flyouts and know how I can control
which menu items are displayed based on values i will assign in hidden

Any help would be appreciated.



<div id="p7TBtrig10" style="position:absolute; left: 0px; top: 66px;
width: 110px; z-index: 500; visibility: visible"><a
href="javascript:;" onMouseOver="P7_trigMM2('p7TBim10')"><img
src="../images/Nav01.gif" alt="menu 1" name="p7TBim10" id="p7TBim10"
width="110" height="21" border="0"></a></div>
<div id="p7TBsub10" class="p7tbsub" style="position:absolute; left:
108px; top: 61px; width: 166px; z-index: 400; visibility: hidden">
<p><a href="../about/index.asp">Who is AANA Insurance?</a></p>
<p><a href="../about/index.asp">Quarterly Agency Update</a></p>
<p><a href="../about/index.asp">Other Insurance</a></p>
<p><a href="../about/contact.asp">Contact Information</a></p>
<div id="p7TBtrig20" style="position:absolute; left: 0px; top: 87px;
width: 110px; z-index: 500; visibility: visible"><a
href="javascript:;" onMouseOver="P7_trigMM2('p7TBim20')"><img
src="../images/Nav02.gif" alt="menu 2" name="p7TBim20" id="p7TBim20"
width="110" height="21" border="0"></a></div>
<div id="p7TBsub20" class="p7tbsub" style="position:absolute; left:
108px; top: 77px; width: 164px; z-index: 400; visibility: hidden">
<p><a href="../webforms/policyinformation.aspx?Function=PolicyInformation" >Policy

<div id="RenewCoverage">
<p><a href="../webforms/applicantinformation.aspx?Function=RenewCoverage"> Renew

<p><a href="../webforms/policyrenewalresults.aspx?Function=PayforRenewal"> Pay
for Renewal</a></p>
<p><a href="#">View Policy Documents</a></p>
href="../webforms/policydocuments.aspx?Function=ViewCurrentPolicyDoc uments">Current
href="../webforms/policydocuments.aspx?Function=ViewRenewalPolicyDoc uments">Renewal
<p><a href="#">Make a Change</a></p>
<p><a href="#">Report a Claim</a></p>
function hideRenew()
var renewTextboxValue = document.getElementById('txtRenew').value;
var renewMenuItem = document.getElementById('RenewCoverage');

if (renewTextboxValue == 'hide') { = 'none'}
else { = '';
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
flyout menu help needed adjusted HTML 2 05-19-2009 12:30 PM
Vertical Navigation Flyout Gordon3d HTML 1 08-18-2007 07:35 PM
how to edit Dreamweaver pages without dreamweaver? Jason HTML 25 01-09-2005 02:06 PM
Select menus above flyout menus? help? HTML 8 12-09-2004 12:54 PM
Flyout navigation script help MrPhilHill Javascript 0 08-19-2003 09:47 PM