Hide Form Items

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
dyma97
Beginner
Beginner
Posts: 6
Joined: Mon Dec 20, 2004 11:17 pm

Hide Form Items

Post by dyma97 »

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>
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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.
John
Post Reply