473,909 Members | 5,658 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Won't Work on MAC

Hi All, I have never written any code for MACs and I don't own a MAC.
I have an intranet site that has drop down menus very similar to the
ones on this site .. http://www.fedex.com/us/

The menus work perfectly on Windows IE but not at all on MAC IE. Any
chance someone out there can easily identify the problem in my code?
I'm sure I'm referencing some object or event that doesn't exist in
MACs but I can't find any docs that would help me figure out where the
problem is.

Here's the CSS:

a
{
text-decoration: none;
color: black;
}
a#pw
{
color: blue;
text-decoration: underline;
cursor: hand;
}
a:hover li
{
background-color: #E35152;
}
ul
{
margin: 0;
padding: 0;
border: 0px none;; list-style-type:none
}
li
{
border-left:2px solid; border-right:2px solid; border-top:0px solid;
border-bottom:2px solid; cursor: hand;
float: left;
position: relative;
font-size: 10pt;
text-align: left;
width: 142;
padding: 4;
background-color: #C0C0C0
}
li ul
{
position: absolute;
left: -2px;
top: 23px;
display: none;
padding: 0;
}
li#title
{
text-align: left;
height: 20px;
font-weight: bold;
padding: 3;
border-left-width: 0;
}
li:hover ul, li.over ul
{
display: block;
}
li:hover, li.over
{
background-color: #E35152;
}
Here's the javascript:

function startList()
{
if (document.all&& document.getEle mentById)
{
navRoot = document.getEle mentById('nav') ;
for (i=0; i<navRoot.child Nodes.length; i++)
{
node = navRoot.childNo des[i];
if (node.nodeName= ='LI')
{
node.onmouseove r=function()
{
this.className+ =' over';
}
node.onmouseout =function()
{
this.className= this.className. replace(' over', '');
}
}
}
}
}
Thanks in advance for the help.

- Matt

Jul 23 '05 #1
1 1169
ma**********@gm ail.com wrote:
Hi All, I have never written any code for MACs and I don't own a MAC.
I have an intranet site that has drop down menus very similar to the
ones on this site .. http://www.fedex.com/us/

The menus work perfectly on Windows IE but not at all on MAC IE. Any
chance someone out there can easily identify the problem in my code?
I'm sure I'm referencing some object or event that doesn't exist in
MACs but I can't find any docs that would help me figure out where the
problem is.
It may help if you identify which Mac IE you're having problems with.
There is quite a bit of difference between 5.0 and later versions
(support for some 'features' was actually reduced).
[...] Here's the javascript:

function startList()
{
if (document.all&& document.getEle mentById)
Probably nothing to do with your issue, but it seems strange to
restrict operation of the script to only browsers that support both
getElementById and document.all - particularly given that you use
only getElementById.

Have a look in the group FAQ for ways to support document.all.
{
navRoot = document.getEle mentById('nav') ;
for (i=0; i<navRoot.child Nodes.length; i++)
{ [...] }
}
Thanks in advance for the help.

- Matt


--
Fred
Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
12946
by: Kerry Neilson | last post by:
For the past couple of months, Idle won't start when I invoke it. I am at a complete loss for why this is. When this happens, they python command line still starts, and python works fine otherwise. Most interesting to me is that a reboot won't fix the problem. But if I just try it again sometime later it will work. Anyone have any ideas? I'm running python 2.3 on windows 2000 professional.
1
1566
by: Jim | last post by:
Hey guys I DESPERATLY need some help with this small javascript i have on this website. All that it's supposed to do is change the button image once it's pressed but alas... I copy-pasted the code as it was given to me from Imageready but it won't work. The event that i wanted (and "created" with Imageready) was ondown. The code is this: ONMOUSEOUT="changeImages('company', 'Images/company.gif'); return true;"...
3
6183
by: DFS | last post by:
I've been working around this for years (I believe), so I figured someone here might know: Why won't a crosstab query accept a value from a form reference? TRANSFORM Format(First(QtrAvg),'Fixed') AS FirstQtrAvg SELECT PropertyCode, Survey, Question FROM SurveyData WHERE PropertyCode = Forms.MainForm.Subform.Form.PropertyCode GROUP BY PropertyCode, Survey, Question
7
1785
by: simon | last post by:
I have simple html(aspx) page, but vertical height won't work. Even if i had set the height of a table=100%, the table is not 100% height. I spend a lot of time(my real page is more complicated) to figured it out that this won't work because of attribute of a page: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> I have visual studio 2005 beta2 and it appends this attribute to every...
3
5065
by: musosdev | last post by:
Hi guys Okay, I've setup my projects to open and compile fine in VS2005 using FPSE and remote web, but it's *really* slow. So I thought I'd have a go at doing it the normal way, by loading from the network share. It loads in VS2005 fine, and I can edit and save code changes etc, but when I try and Build the solution, I get the following error... An error occured loading a configuration file: Failed to start monitoring
11
1836
by: John Ortt | last post by:
Hi everyone. I have a database which I have developed in Access 2000 which is working nicely. The problem is that my customer only has Access 97. I tried to convert the database but the main menu won't work. I has two parts, a mainmenu and a submenu which displays the option buttons.
7
11207
by: Eran.Yasso | last post by:
Hi, I have project that automate excel(using Excel COM) which works fine in my home. I took the project from my home to work and tried to build the project but it won't built. I get error "The type or namespace name 'Excel' could not be found". the error points to line in my code: "public Excel.Application ExcelObj = null".
2
1306
by: scitrenbaum | last post by:
Here is the dilemma. I have a website where everything works perfectly in all browsers except for Safari. When you are in Safari and you go to this page... http://www.3hounddesign.com/Woods_Woods/packaging.html The first time you click one of the numbered boxes at the bottom of the screen it advances to that number. However, after that, it won't advance to the next (or previous) number unless you use the arrows to forward to the next...
2
2982
tpgames
by: tpgames | last post by:
Two days ago, MS office Word would type JP fonts, I thought. I didn't think I was using Works. Now, it won't type in JP. Jasc Paint shop pro 8, should type JP fonts because I am using XP, according to Corel's website, and Jasc uses whatever is in the XP font folder. But, it won't. All the JP fonts types as English, even with JP selected in the Language Bar. I can't afford to upgrade to any better paint program. I do have a free JP word...
4
2517
by: z55177 | last post by:
My domain: http://www.esthevision.cz/ This is the cause of my problem. The template is supposed to look somewhat like this: PINK STRIPE http://themebot.com/website-templates/ht... I created an extra copy of it called Natvrdo, since I modified the logo. Okay, I have this in my HTML (Natvrdo being the CSS style sheet) This is what I have in my index.html:
0
10037
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11348
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10540
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7249
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5938
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6140
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4776
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4336
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3359
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.