472,952 Members | 2,231 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Help using anchor tags in the same page

http://www.shaneregister.com/listings.asp#15

The following page has anchor tags setup that will link you to the listing. This works fine in firefox. In IE it does not work at all. You can veiw source to see the code. Any help would be appreciated.

Thanks
Nov 19 '07 #1
2 1556
http://www.shaneregister.com/listings.asp#15

The following page has anchor tags setup that will link you to the listing. This works fine in firefox. In IE it does not work at all. You can veiw source to see the code. Any help would be appreciated.

Thanks

Ok i was able to fix it

It turns out that although all browsers SHOULD be able to find an anchor tag like <a name="top"></a>, some (meaning IE) can't find it if it's empty like that (no character content between the tags).

So I changed it to <a name="top>&nbsp;</a> with a non-breaking space between the tags, and it's working now. BTW, "name" and "id" are both valid...

but I did change it to ID
Nov 19 '07 #2
Death Slaught
1,137 1GB
Why would you expect it to work. The pupose of an anchor is to provide a link for the user, and in your case a link to the top of something. It makes no sense to not provide something for the user to click. Also why are you using a non-breaking space? Your users won't be able to see it therefor it will have no purpose.

Thanks, Death
Nov 19 '07 #3

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

Similar topics

8
by: lancevictor | last post by:
I'm learning javascript, and toward that end, I am recreating a page "my way". The original page: http://stenbergcollege.com and the one that I'm creating:...
7
by: Eric | last post by:
I am certain the answer will be 'NO', but I wanted to ask anyway just incase I have missed something. Everyone knows that one pass data to a page in an anchor tag by using the GET Method: <a...
11
by: yawnmoth | last post by:
If using an onclick event handler to execute javascript when an anchor element is clicked on, what should the href attribute be? #? javascript:void(0)? Something else?
1
by: Jack Fox | last post by:
I am saving some formated html fragments (text, some formatting tags and anchor tags) in a SQL text column then writing it to a page. Something strange is happening with the anchor tags within the...
3
by: DonnyW | last post by:
I am working on an application that displays a list of items (biglist.aspx). With each item, there is a link that takes the user to another aspx page for updating the specific details of that item...
2
by: Luhar | last post by:
After much scouring of information on Regular Expressions from books and the web, I've come up with the this handy little Regex to parse links from HTML: ...
5
by: Lucky | last post by:
hi guys, i'm looking for a RegEx which can find these type of string from the bunch of html lines. if any one can help me here, would be appriciated. <a...
3
by: Rob | last post by:
Hi, I need to convert our word documents to html for our website. I've used MS Word's "Save as HTML" feature and ran "Microsoft Office HTML Filtrer 2.0" to clean up the code but I am stuck with a...
4
by: pbd22 | last post by:
Hi. I am trying to add an "onclick" 'event to an anchor tag and this is proving harder than I imagined. The anchor HAS NO ID. And, there will be tons of them on the page. So, I cannot access...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.