Hi,
I am new to struts and struts-menu, please I have a question :
 
For example  in http://localhost:8084/strutsmenu24/tabbedMenu.jsp 
 
in this tabbedMenu.jsp file we have :
 
<div id="content" style="width: 60%">
    <h2>CSS Tabs with Submenus</h2>
    <p>
        Adapted from <a href=""http://www.kalsey.com/tools/csstabs/">http://www.kalsey.com/tools/csstabs/">
        Adam Kalsey's demo</a>.  Changes include:
    </p>
    <ul>
        <li>Removed redundant CSS classes - now uses _javascript_, CSS and
            Cookies to detect which menu should be active.</li>
        <li>Added XHTML Strict DOCTYPE and adjusted CSS accordingly.</li>
        <li>Integrated into <a href=""http://sf.net/projects/struts-menu">http://sf.net/projects/struts-menu">
            Struts-Menu</a> as a new displayer (TabbedMenuDisplayer).</li>
    </ul>
    <p><strong>How it works</strong><br /><br />
        _javascript_ is used to set the active menu when the page first loads.
        It does this by comparing the current location with the href's
        in the menu's links.  Then it uses current.indexOf(eachLink) and
        matches the first one.  If more than one link matches the current link,
        then the cookie from the last clicked menu is used.
        <br /><br />
        As always, send any comments via e-mail to the
        <a href=""mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED] Menu">
        struts-menu user mailing list</a>.
    </p>
    <p><strong>NOTE:</strong> If you do not
        have a location/page on your menu, the first item in the submenu is used.
        This menu does not currently allow for dynamically showing the submenu
        when you mouseover the tabs, but this could probably be added easily.
     </p>
</div>
 
How to have the content of each submenu clicked to be in that
<div id="content ...>
 
</dev>
 
Thank you.


Be a chatter box. Enjoy free PC-to-PC calls with Yahoo! Messenger with Voice.

Reply via email to