Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old October 1st, 2003, 01:14 PM
maggie maggie is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Indianapolis, in
Posts: 25 maggie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old October 1st, 2003, 01:17 PM
Gipz Gipz is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Stockholm, Sweden
Posts: 98 Gipz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to Gipz
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.


Reply With Quote
  #3  
Old October 1st, 2003, 01:23 PM
maggie maggie is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Indianapolis, in
Posts: 25 maggie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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&nbsp;&&nbsp;Procedures");
mm_menu_0930144030_0.addMenuItem("Mission");
mm_menu_0930144030_0.addMenuItem("Services");
mm_menu_0930144030_0.addMenuItem("Constitution&nbsp;&&nbsp;Bylaws");
mm_menu_0930144030_0.addMenuItem("Benefits");
mm_menu_0930144030_0.addMenuItem("Contact&nbsp;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&nbsp;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&nbsp;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&nbsp;Director's&nbsp;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>

Reply With Quote
  #4  
Old October 1st, 2003, 07:28 PM
Ashkhan Ashkhan is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 372 Ashkhan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 24 m 57 sec
Reputation Power: 2
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.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > Pop up menus


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT