473,394 Members | 1,721 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

How to check for microsoft shortcut codes

Hi,

I have been creating a CD-based site which works exactly how I want in IE5.
I decided that I should test it in Mozilla Firefox and Opera.
Unfortunately, a lot of the scrips don't work as expected. I'm pretty sure
that most of the problems are due to using IE specific shortcut codes. My
problem is I'm not sure how to identify which are IE specific codes and
which are not. Is there a debugger program that can identify where I have
used these shorcut codes and offer me the correct generic code? Can Venkman
of JSLint do this?

Thanks,

Phil.
Jul 23 '05 #1
2 1264
In article <41**********@baen1673807.greenlnk.net>, phil.d.green[REMOVE_THIS]
@[AND_THIS]baesystems.com enlightened us with...
Hi,

I have been creating a CD-based site which works exactly how I want in IE5.
I decided that I should test it in Mozilla Firefox and Opera.
Unfortunately, a lot of the scrips don't work as expected. I'm pretty sure
that most of the problems are due to using IE specific shortcut codes. My
problem is I'm not sure how to identify which are IE specific codes and
which are not. Is there a debugger program that can identify where I have
used these shorcut codes and offer me the correct generic code? Can Venkman
of JSLint do this?


Well, you can see what the errors are in Venkman, but it won't give you the
correct syntax.
Got a URL with test script? Or post some snippets here. Don't post the whole
thing please. :)

Most common error I see is using only document.all (IE only).
Other error I see is relying on quirks mode for rendering. But I don't think
that would muck up script.

You can look up valid syntax for Gecko (netscape, mozilla, firefox) here.
Tends to work in all DOM browsers.
http://www.mozilla.org/docs/dom/domr..._shortTOC.html

--
--
~kaeli~
A lot of money is tainted - It taint yours and it taint mine.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #2
I managed to self diagnose one problem - I had an image map with a name tag,
which IE accepted as ID. When I changed the code to
document.getElementById("MapName") it still wouldn't work in Mozilla, then i
worked out that the image map neaded an ID tag as well.

Venkman helped to identify this line in my code as the culprit, It also
helped me to identify where I had put round brackets instead of square
brackets. I'll see if I can solve the rest of the problems now.

Phil.

Jul 23 '05 #3

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

Similar topics

0
by: Howard Kaikow | last post by:
When I installed VS .NET Pro 2002 last year, on a system that has VB 6, an "Open With Microsoft Visual Studio .NET 2002" shortcut was added to the right-click menu when I right-click on a .VBP...
4
by: Salad | last post by:
A97. If you set a forms properties to ShortcutMenu = No, the entire form is disabled from displaying a shortcut menu. If you set the property to Yes, all controls have a shortcut menu. I have...
0
by: cefrancke | last post by:
I recently discovered, that if you set the startup options for "security", you will have alot of work do to get Access back to "normal". If you disable the built-in menus/toolbars you'll have to...
0
by: Marcel | last post by:
Hi, the application I am writing has a MainMenu and a DataGrid (UltraGrid). Now I have to edit the text of each cell in this grid. So far so good. All works fine in editmode but if I press a...
3
by: TC | last post by:
I've written an application using VB.NET 2003 and packaged it with a deployment project. When I use the setup program to install the application, however, it doesn't work. More specifically, the...
7
by: GrandpaB | last post by:
I would appreciate assistance learning how to create a Desktop shortcut in my setup project. In the left pane of the Setup/File System window I right-clicked User's Desktop. From the contex...
3
by: thi | last post by:
Hi, How do i create an application shortcut on desktop programmically in C#? I have done some shortcut coding before in visual basic 6 using windows scripting host but later found out that...
71
ChaseCox
by: ChaseCox | last post by:
I would like to use a Check Box, or several check boxes, that will allow a user to select differnent product lines. The user should be able to select one or many. I also need each check box to...
2
bartonc
by: bartonc | last post by:
There are many applets and other goodies on Windows that must be run by using a command: The normal way to access these tools is to go to the Start menu and click Run. Then type in the name of...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.