Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:01

Hide Form Items


Poster: dyma97
Dated: Monday December 20 2004 - 22:29:26 GMT

I am curious to know if the functionality to hide content based on a div Id works in v 3.4.12. I have been playing with it, have not had much success.

The site I am building is not public, so the best I can do are the following code samples:

<i>From my .js file</i>

addmenu(menu=["af_1",,,200,1,,style1,0,"left",,10,,,,,,,"searchDiv",,,,
,"&nbsp;&nbsp;Advancement","show-menu=af_2",,"",1
,"&nbsp;&nbsp;Assignments and Jobs","show-menu=af_14",,"",1
,"&nbsp;&nbsp;Education and Training","show-menu=af_26",,"",1
,"&nbsp;&nbsp;Enlisted","show-menu=af_179",,"",1
,"&nbsp;&nbsp;Force Development","show-menu=af_180",,"",1
,"&nbsp;&nbsp;Mission Support Officer","show-menu=af_178",,"",1
,"&nbsp;&nbsp;Non-Line Officer","show-menu=af_181",,"",1
,"&nbsp;&nbsp;Operations Officer","show-menu=af_182",,"",1
,"&nbsp;&nbsp;Retirement and Separation","show-menu=af_39",,"",1
,"&nbsp;&nbsp;Support Information","show-menu=af_183",,"",1])


<i>From my Html page</i>

<div id="searchDiv" name="searchDiv">
<h1>hide this text</h1>
</div>

Any tips would be appreciated.
<b>
I realize we need to upgrade to the latest version, but that is problematis as the.js files are dynamically generated from a db and rewriting that code takes quite a bit of time.</b>


Poster: John
Dated: Tuesday December 21 2004 - 13:44:05 GMT

You are correct - you need to upgrade! Even within the v3-series you are quite a bit down-level. The last v3 was 3.5.15, which should still be available here.

As you apparently know, v3 is no longer supported or developed. The time spent in re-coding would be well worth it in terms of new features and functions, not to mention support.