Solved

<A name="..."...> in Netscape

Posted on 2002-04-27
6
143 Views
Last Modified: 2010-04-09
Hi All,
 I have a giant form in my HTML, which is generated dynamically by a JSP. The page is divided into many blocks (tables), and links at the top of the page for each of these blocks.
 I am using <a name="1"> etc. for the links. They are working fine in IE, but in @#$#$ Netscape, nothing happens when the link is clicked on. I have tried with quotes, without quotes, with # in name without # in name.. nothing works! any pointers?
TIA,
Ananth
0
Comment
Question by:ananth222
6 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 6973004
are the <a name ..> tags inside the table, then it will not work (on some browsers) 'cause it's not w3c standard :-(
0
 
LVL 12

Expert Comment

by:ahosang
ID: 6973135
name should not begin with a numeral.
Try <a name="a1">
0
 
LVL 18

Expert Comment

by:bruno
ID: 6973400
how are you linking to it?

should be


<a href="#1">topic 1</a>


not sure about the number thing?  haven't heard that before, but i've never used numbers in the name tag i don't think.....



BRUNO
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 22

Expert Comment

by:CJ_S
ID: 6973507
ahosang is right. No object, tag or variable should ever start with a number. It's one of the rules in programming ;-)

CJ
0
 

Author Comment

by:ananth222
ID: 6974767
I had given the <a name...> tag inside a <tr> but outside <td>! I put it inside the <td> and it now works fine!!
danke hoffmann!
Nice points from the others too, but I guess numbers do work here...
aufweidersehen!
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 6975289
according to w3c, name= and id= must start with a letter, so CJ_S is right too.
Auch danke ;-)

0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now