473,397 Members | 1,949 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,397 software developers and data experts.

Javascript conversion from IE to mozilla firefox <a href="#" >

Hi guys,

I have been searching for solutions, but in vain. Hope i'll be able to source for answers here from you guys, thanks in anticipation.

I have this application that works fine in IE7, but not in mozilla. I have this left menu bar that is suppose to have a column with 2 sub menu. In IE7, the sub menu is able to be shown, but sad to say, in mozilla, it doesn't budge.

My codes snippet being,

Expand|Select|Wrap|Line Numbers
  1. <li class="top" id="clothes"><a href="#" accesskey="K">Clothes</a></li>
  2.         <li class="submenu" id="tops1"><a href="tops.do" target="mainFrame" accesskey="G">Tops</a></li>                             
  3.              <logic:present role="Retail.Create New Bill Payment">
  4.         <li class="submenu" id="tops2"><a href="BillClothesWishList.do?method=start&home=MainCS.do" target="mainFrame" accesskey="K">Bill Clothes Wish List</a></li>                     
  5.         </logic:present>
  6.  
Seems to me that it is due to the <href="#">. Hope there's an answer as to how should i go about changing it so that it is compatible for both IE7 as well as mozilla, in fact, let's just make it compatible for most used browsers, thanks again for your time.

regards, mdbrown
Sep 20 '07 #1
1 1875
acoder
16,027 Expert Mod 8TB
Welcome to TheScripts.

What code are you using to show the sub-menu?
Sep 20 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Charles Nadeau | last post by:
Hello, I am trying to craft a regular expression to filter an URL from a <a href=""></a> tag and the one I have doesn't seen right. I use the regular expression from this snippet of code: ...
1
by: Christian Schmidbauer | last post by:
Hello! I prepare my XML document like this way: ------------------------------------------------------- PrintWriter writer; Document domDocument; Element domElement; // Root tag
6
by: Tony Marston | last post by:
The code <a href="..." target="_blank">...</a> will not validate as XHTML STRICT because of the 'target' tag, so how do I achieve the same result by moving it to a CSS file? I cannot find anything...
2
by: Amir | last post by:
What the for="window" is used for in the <script> tag? TIA
9
by: David D. | last post by:
Does the file extension matter when including a JavaScript file in an HTML page? Normally, one would include a JavaScript file in an HTML page using <script src="foo.JS" type="text/javascript">...
10
by: Dieter Salath? | last post by:
Hi, in our webpage, a user could open a windows explorer to his temp directory with a simple link and usage of the file protocol: <a href="file://C:\temp" target="_blank">C:\temp</a> This...
10
by: Gernot Frisch | last post by:
Hi, I'm currently writing: <span onclick="window.open(...);">Klick Here</span> but I want to use the <a href> for this, since it is defined in the css script the way I want my link to open....
3
by: joe | last post by:
Is it OK to have multiple: <script type="text/javascript" src="funcs1.js"></script> <script type="text/javascript" src="funcs2.js"></script> <script type="text/javascript"...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.