PDA

View Full Version : javascript drop down is a no go in mac


rwilliams1961
10-23-2007, 06:49 PM
I have created a drop down menu (all graphic) that works in Firefox, IE6 and IE7. However, my client, who uses a Mac (I don't have access to one) says that the drop down does not work for her. I am unsure which browser she uses.

This is the javascript:

function P7_autoLayers() { //v1.4 by PVII
var g,b,k,f,args=P7_autoLayers.arguments;a=parseInt(args[0]);if(isNaN(a))a=0;
if(!document.p7setc){p7c=new Array();document.p7setc=true;for(var u=0;u<10;u++){
p7c[u]=new Array();}}for(k=0;k<p7c[a].length;k++){if((g=MM_findObj(p7c[a][k]))!=null){
b=(document.layers)?g:g.style;b.visibility="hidden";}}for(k=1;k<args.length;k++){
if((g=MM_findObj(args[k]))!=null){b=(document.layers)?g:g.style;b.visibility="visible";f=false;
for(var j=0;j<p7c[a].length;j++){if(args[k]==p7c[a][j]) {f=true;}}
if(!f){p7c[a][p7c[a].length++]=args[k];}}}
}

This is the HTML:

href="javascript:;" onMouseOver="P7_autoLayers(0,'droplinks_intro','all_closer')"

This is the URL:

http://www.overflowmedia.com/melissa/

Any ideas?

angelochen960
10-24-2007, 09:47 PM
I tried your link in my Macbook Pro, under 'introduction' and 'learn more' there are drop down menus, it works with Opera and Firefox, but not Safari 3, you can download Safari for Windows to test it out yourself, it should have the same effect as Safari in Mac.
A.C.