Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
CSS Drop down menu for mac
Old 03-10-2005, 06:13 PM CSS Drop down menu for mac
Junior Talker

Posts: 4
Location: Tempe, Azrizona
Trades: 0
We currently have a horizontal drop down menu that works fine in windows (ie/mozilla) and works fine on mozilla/safari but not ie on a mac. In ie-5.2 on mac the menu shows up vertically not horizontal and the drop downs don't work. Does anyone have a solution for this?

Thank you,
Sara
__________________

Please login or register to view this content. Registration is FREE
Epsilonium is offline
Reply With Quote
View Public Profile Visit Epsilonium's homepage!
 
 
Register now for full access!
Old 03-10-2005, 06:54 PM
ParasHaria's Avatar
Extreme Talker

Posts: 155
Location: London, UK
Trades: 0
Is the drop down menu completely in CSS or is it using JavaScript too? Also can you send us a link to it?
__________________

Please login or register to view this content. Registration is FREE

Design | Development | Hosting | SEO
ParasHaria is offline
Reply With Quote
View Public Profile Visit ParasHaria's homepage!
 
Old 03-11-2005, 12:23 PM
Junior Talker

Posts: 4
Location: Tempe, Azrizona
Trades: 0
It is using javascript. The link is dev.epsilonium.com/forge/index.html

Thank You
__________________

Please login or register to view this content. Registration is FREE
Epsilonium is offline
Reply With Quote
View Public Profile Visit Epsilonium's homepage!
 
Old 03-11-2005, 12:34 PM
dan245's Avatar
Skilled Talker

Posts: 59
Location: Massachusetts, USA
Trades: 0
Could you send us the code, please?
dan245 is offline
Reply With Quote
View Public Profile
 
Old 03-11-2005, 12:47 PM
Junior Talker

Posts: 4
Location: Tempe, Azrizona
Trades: 0
heres the css:

body {
background-color: #000000;
}
img {
border: none;
}
h1 {
font: 13px Verdana, Geneva, Arial, Helvetica, sans-serif;
font-weight: bold;
margin: 0px;
padding: 0px;
}
h2 {
font: 12px Verdana, Geneva, Arial, Helvetica, sans-serif;
font-weight: bold;
margin: 0px;
padding: 0px;
}
h3 {
font: 11px Verdana, Geneva, Arial, Helvetica, sans-serif;
font-weight: bold;
margin: 0px;
padding: 0px;
}
p {
margin: 0px 0px 12px 0px;
}
.menu {
background-color: #3E0101;
background-image: url(images/menuBG.gif);
background-position: left;
background-repeat: repeat-x;
}
.body {
background: #FF0000;
font: 11px Verdana, Geneva, Arial, Helvetica, sans-serif;
color: #FFFFFF;
}
.sub {
background-image: url(images/subBG.gif);
background-position: left;
background-repeat: repeat-x;
font: 11px Verdana, Geneva, Arial, Helvetica, sans-serif;
color: #FFFFFF;
padding: 20px 0px 0px 6px;
}

#nav, #nav ul {
float: right;
list-style: none;
line-height: 1;
font-weight: normal;
padding: 0;
margin: 0;
width: auto;
}
#nav a {
display: block;
color: #FFFFFF;
text-decoration: none;
padding: 0px 0px 0px 3px;
}
#nav a:hover {
color: #FF0000;
}
#nav a.current {
color: #FF0000;
}
#nav li {
float: left;
padding: 0px 0px 0px 0px;
width: auto;
}
#nav li ul {
position: absolute;
left: -999em;
height: auto;
width: 130px;
margin: 0 0 0 8px;
padding: 0 0 0 0;
border: medium;
background-color: #3E0101;
}
#nav li li {
padding: 3px 8px 2px 4px;
width: 130px;
}
#nav li ul a {
color: #FFFFFF;
font: 11px Verdana, Geneva, Arial, Helvetica, sans-serif;
}
#nav li ul a:hover {
color: #FF0000;
background-image: url(images/subTarget.gif);
background-position: left;
background-repeat: no-repeat;
}
#active a:link, #active a:visited {
color: #FF0000;
background-image: url(images/subTarget.gif);
background-position: left;
background-repeat: no-repeat;
}
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {
left: auto;
border: thick #FF0000;
}
.bullet {
margin: 5px 0px 8px 0px;
padding: 0px 0px 0px 25px;
list-style-type: none;
list-style-image: url(images/subTarget.gif);
}

here's the javascript for the image swap:

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 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_findObj(n, d) { //v3.0
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); 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];}
}

here's the javascript for ie:
sfHover = function() {
var sfEls = document.getElementById("nav").getElementsByTagNam e("LI");
for (var i=0; i<sfEls.length; i++) {
sfEls[i].onmouseover=function() {
this.className+=" sfhover";
}
sfEls[i].onmouseout=function() {
this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
}
}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
__________________

Please login or register to view this content. Registration is FREE
Epsilonium is offline
Reply With Quote
View Public Profile Visit Epsilonium's homepage!
 
Old 03-11-2005, 07:47 PM
Kaiman's Avatar
Extreme Talker

Posts: 237
Trades: 0
I had a similar problem in IE 5.2 for Mac with the menus on my website. They seem to work fine but the borders around the dropdowns didn't show up correctly. I haven't been able to fix it. IE 5.2 for Mac has such bad CSS/DHMTL support that that could well be your problem. I am sorry I can't help you more. I long for the day when webdesigners will have it easy like carpenters where one inch = one inch!

Kaiman

Storm King Design
Kaiman is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to CSS Drop down menu for mac
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.41702 seconds with 12 queries