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: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:17

Minor sizing issue


Poster: split-vizionz
Dated: Sunday January 22 2006 - 8:19:39 GMT

Hello folks,
If you view my page at the following address http://www.clientxstaffing.com/resume.html
you will see that the buttons that I fit into that table have shrunk smaller than the 40 pixel height space which they were supposed to fill... leaving red space below the buttons. I can't figure out what in the world causes my buttons to shrink smaller .... I have been doing this for hours and may be missing somnething simple.. so I beg for a fresh mind to dig me out of this misery haha...it's all starting to get blurry and I may pass out... let me know if you notice anything.



I attached the code, where I edited the table to fit the buttons
Code:
<table width="778" border="0" cellspacing="0" cellpadding="0">
  <tr>
   <td width="63" background="images/index_09.gif"><img src="images/index_08.gif" width=63 height=36 alt="">
   </td>
   <td background="images/index_09.gif">
     <input type="text" name="textfield" size="13">

   </td>

   <td width="10" height="40" valign="top"><a href="#"><img src="images/index_11.gif" width=44 height=40 alt="" border="0"></a></td>
   <td width="110" height="40" valign="top"><img src="images/index_12.gif" width=110 height=40></td>
        <td width="408" height="40" valign="top"><script type="text/javascript" src=" http://www.clientxstaffing.com/scripts/milonic_src.js"></script>   
      <script   type="text/javascript">
   if(ns4)_d.write("<scr"+"ipt type=text/javascript src= http://www.clientxstaffing.com/scripts/mmenuns4.js><\/scr"+"ipt>");      
     else _d.write("<scr"+"ipt type=text/javascript src=http://www.clientxstaffing.com/scripts/mmenudom.js><\/scr"+"ipt>");
   </script>
   <script type="text/javascript" src=" http://www.clientxstaffing.com/scripts/menu_data.js"></script>   
  </td>
<td width="39" height="40" valign="top"><img src="images/index_18.gif" width=39 height=40 alt=""></td>
 
</tr>
</table>


Poster: Ruth
Dated: Sunday January 22 2006 - 10:04:33 GMT

Hi,

You have an image and since you haven't specified an imageheight, the image will be 36px, but you're other image in that row is 40px. So, change the menu image to 40px

Code:
image=index_13.gif;imageheight=40;itemheight=40;showmenu=About Us;


That seems to fix the problem.

But, you have a different problem you need to fix. You need to cut the main menu from that menu_data.js file, save the menu_data.js file as it is but without the main menu. Put the main menu in it's own file, add position="relative"; up where you have the alwaysvisible, and put a drawMenus(); at the end of the file so you will have two files with a drawMenus(); at the end. Save that file, name it whatever you'd like, embed_main.js for example. Then call that file in that table cell, only that file. Take the other file calls you have and put them the first thing after the body tag.

Below my name are links to putting the menu in a table.

Ruth


Poster: split-vizionz
Dated: Sunday January 22 2006 - 22:53:51 GMT

YAY!!!!!! You are the WOMAN.......I thank you extremely much... thanks for the support :lol: