|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Pop up menus
I have made a page using php includes:
<?php require("menu.php"); ?> In the menu page, I have set up pop up menus. There are sub menus too. When you scroll over the sub menus, the entire menus jumps down to the bottom of the page--THIS ONLY HAPPENS IN mac os Internet explorer and not the other browsers. Anyone have another type of code I could type in manually or info on how to fix this? Thanks MM |
|
#2
|
|||
|
|||
|
RE: Pop up menus
Pop up menus, sounds to me as this would be handled on the client-side ie javascript?
Please post the code inside menu.php that handles the popups. |
|
#3
|
|||
|
|||
|
RE: Pop up menus
Here is the code for the button:
<tr> <td><img name="index_r4_c1" src="images/index_r4_c1.gif" width="8" height="16" border="0" alt=""></td> <td><a href="#" onMouseOut="MM_swapImgRestore();MM_startTimeout();" onMouseOver="MM_showMenu(window.mm_menu_0930144030_0,0,24,null, 'index_r4_c2');MM_swapImage('index_r4_c2','','imag es/index_r4_c2_f2.gif',1);"><img name="index_r4_c2" src="images/index_r4_c2.gif" width="81" height="16" border="0" alt=""></a></td> <td><img name="index_r4_c3" src="images/index_r4_c3.gif" width="7" height="16" border="0" alt=""></td> <td><table border="0" cellpadding="0" cellspacing="0" width="81"> <tr> <td><a href="#" onMouseOut="MM_swapImgRestore();MM_startTimeout();" onMouseOver="MM_showMenu(window.mm_menu_0930144217_1,0,24,null, 'index_r4_c4');MM_swapImage('index_r4_c4','','imag es/index_r4_c4_f2.gif',1);"><img name="index_r4_c4" src="images/index_r4_c4.gif" width="81" height="15" border="0" alt=""></a></td> </tr> <tr> Here is the Javascript code: <script language="JavaScript"> <!-- function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function mmLoadMenus() { if (window.mm_menu_0930144030_0) return; window.mm_menu_0930144030_0 = new Menu("root",160,15,"Arial, Helvetica, sans-serif",9,"#000000","#ffffff","#c9c9c9","#666666","left","middle",2,0,1000,1,0,true,true,true,0,false,false); mm_menu_0930144030_0.addMenuItem("Policies & Procedures"); mm_menu_0930144030_0.addMenuItem("Mission"); mm_menu_0930144030_0.addMenuItem("Services"); mm_menu_0930144030_0.addMenuItem("Constitution & Bylaws"); mm_menu_0930144030_0.addMenuItem("Benefits"); mm_menu_0930144030_0.addMenuItem("Contact Info"); mm_menu_0930144030_0.addMenuItem("Purpose"); mm_menu_0930144030_0.hideOnMouseOut=true; mm_menu_0930144030_0.menuBorder=1; mm_menu_0930144030_0.menuLiteBgColor='#cccccc'; mm_menu_0930144030_0.menuBorderBgColor='#ffffff'; mm_menu_0930144030_0.bgColor='#ffffff'; window.mm_menu_0930144217_1_1 = new Menu("Annual Conference",160,15,"Arial, Helvetica, sans-serif",9,"#000000","#ffffff","#c9c9c9","#666666","left","middle",2,0,1000,1,0,true,true,true,0,false,false); mm_menu_0930144217_1_1.addMenuItem("Standards Policy"); mm_menu_0930144217_1_1.addMenuItem("Registration"); mm_menu_0930144217_1_1.hideOnMouseOut=true; mm_menu_0930144217_1_1.menuBorder=1; mm_menu_0930144217_1_1.menuLiteBgColor='#cccccc'; mm_menu_0930144217_1_1.menuBorderBgColor='#ffffff' ; mm_menu_0930144217_1_1.bgColor='#ffffff'; window.mm_menu_0930144217_1 = new Menu("root",160,15,"Arial, Helvetica, sans-serif",9,"#000000","#ffffff","#c9c9c9","#666666","left","middle",2,0,1000,1,0,true,true,true,0,false,false); mm_menu_0930144217_1.addMenuItem(mm_menu_093014421 7_1_1); mm_menu_0930144217_1.addMenuItem("House Director's Conference"); mm_menu_0930144217_1.hideOnMouseOut=true; mm_menu_0930144217_1.childMenuIcon="images/arrows.gif"; mm_menu_0930144217_1.menuBorder=1; mm_menu_0930144217_1.menuLiteBgColor='#cccccc'; mm_menu_0930144217_1.menuBorderBgColor='#ffffff'; mm_menu_0930144217_1.bgColor='#ffffff'; mm_menu_0930144217_1.writeMenus(); } // mmLoadMenus() //--> </script> |
|
#4
|
|||
|
|||
|
RE: Pop up menus
The code looks like it is generated by Macromedia dreamweaver. You should try to ask at forums dedicated to that program.
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Pop up menus |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|