Hi,
   
    We are using Struts-menus 2.4.3 We calculate the left position for the 
menus in this way:
  <script>
  function getMenuLeftPosition(){ 
  var docWidth = parseInt(document.body.clientWidth);
     return (docWidth-465);
  }
</script>
In the coolmenu4-config.js we have the following:
  oCMenu3=new makeCM("oCMenu3") //Making the menu object. Argument: menuname
  oCMenu3.frames = 0
  //Menu properties   
oCMenu3.pxBetween=0
oCMenu3.fromLeft=getMenuLeftPosition()
oCMenu3.fromTop=21  
oCMenu3.rows=1 
oCMenu3.menuPlacement="left"
                                                             
oCMenu3.offlineRoot="" 
oCMenu3.onlineRoot="" 
oCMenu3.resizeCheck=1 
oCMenu3.wait=200 
oCMenu3.fillImg="../image/cm_fill.gif"
oCMenu3.zIndex=400
oCMenu3.pagecheck=0
oCMenu3.checkscroll=0
  //Background bar properties
oCMenu3.useBar=0
oCMenu3.barWidth="15%"
oCMenu3.barHeight="menu" 
oCMenu3.barClass="clBar"
oCMenu3.barX=250
oCMenu3.barY=0
oCMenu3.barBorderX=0
oCMenu3.barBorderY=0
oCMenu3.barBorderClass=""
   
  When we resize the window, menus are still displayed in the old position i.e. 
they are NOT rendered according to the new body width even though the 
resizeCheck is set to 1. Any solutions?
   
  Thanks in advance,
  --Pallavi

 between 0000-00-00 and 9999-99-99       <hr size=1>Be a better friend, 
newshound, and know-it-all with Yahoo! Mobile. <a 
href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
 "> Try it now.</a>
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
struts-menu-user mailing list
struts-menu-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Reply via email to