plainblack.com
Username Password
search
Bookmark and Share

    

Creating a new Navigation Style? anyone done this before?

User aewhale
Date 8/18/2007 9:13 pm
Views 997
Rating -10    Rate [
|
]
Previous · Next
User Message
aewhale

I am trying to implement a button which will surround the Horizontal Menu Style which is provided in Web Gui.

The HTML Code that I am looking to use to enhance the Menu Style is this:

    <applet code="fphover.class" codebase="_fpclass" width="120" height="24">
      <param name="text" value="Menu Title">
      <param name="color" value="#B4EDA5">
      <param name="hovercolor" value="#FFFFFF">
      <param name="textcolor" value="#000000">
      <param name="effect" value="average">
      <param name="url" value="URL" valuetype="ref">
      <param name="bgcolor" value="#008000">
      <param name="font" value="Dialog">
      <param name="fontstyle" value="regular">
      <param name="fontsize" value="14">
    </applet>
 

The WebGui Menu Style that I am using as a Boilerplate is the HorizMenu.  It looks like this:

                <tmpl_if displayTitle>
                <h2><tmpl_var title></h2>
                </tmpl_if>
                <tmpl_if description>
                        <p><tmpl_var description></p>
                </tmpl_if>
                <tmpl_if session.var.adminOn>
<tmpl_var controls>
</tmpl_if>
<span class="horizontalMenu">
<tmpl_loop page_loop>
<applet code="fphover.class" codebase="_fpclass" width="120" height="24">
<a class="horizontalMenu" <tmpl_if page.newWindow>onclick="window.open('<tmpl_var page.url>')" href="#" <tmpl_else>href="<tmpl_var page.url>"</tmpl_if>><tmpl_var page.menuTitle></a>
   <tmpl_unless "__last__"> &middot; </tmpl_unless>
</tmpl_loop>
</span>

 

Never having manipulated the WebGui style before, I am not certain what is required in the code fragement about, and what I can replace with the java  applet.

Has anyone done this before?

 

 

--- (Edited on 8/18/2007 10:13 pm [GMT-0400] by aewhale) ---

--- (Edited on 8/18/2007 10:28 pm [GMT-0400] by aewhale) ---



Back to Top
Rate [
|
]
 
 
bartjol
Most styles kan be managed with the css file, just assign the classes consequently for the depth of the menuitem(sometimes styles are already assigned to object like horizontal menus, you can look these up in your sourcecode wdile viewing tehe page). After that, it is just a matter of assigning the desired properties.

--- (Edited on 8/20/2007 3:06 pm [GMT+0200] by bartjol) ---



Back to Top
Rate [
|
]
 
 
    



© 2012 Plain Black Corporation | All Rights Reserved