Welcome Guest ( Log In | Click here to Register a free account now! )
Welcome to Bleeping Computer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.![]() ![]() |
Dec 3 2007, 11:43 PM
Post
#1
|
|
![]() Member ![]() ![]() Group: Members Posts: 16 Joined: 4-October 06 Member No.: 88,545 |
How are you? Throughout my webpage I have been using the html:- <a name = “#6”></a> in conjunction with <a href = “#6”></a> to navigate bookmarks. I use homesite, and it gave me a warning message about the code that I ignored. In Internet Explorer using URL#6 goes straight to the bookmark I wanted but I have been recently advised to use Firefox as it is supposed to be more secure, and discovered that URL#6 only goes to URL ignoring the bookmark. I wish to have the URL go directly to the bookmark, please can you advise on the correct code that will work with all browsers or at least Firefox as well as IE7. Hope you are keeping well, All the Best Bill Z |
|
|
|
Dec 4 2007, 05:57 PM
Post
#2
|
|
![]() Member ![]() ![]() Group: Members Posts: 97 Joined: 14-July 07 From: Central New York Member No.: 143,655 |
I wish to have the URL go directly to the bookmark, please can you advise on the correct code that will work with all browsers or at least Firefox as well as IE7. Are you looking for the site to automatically do that? While I'm sure there are probably ways to code that, I wouldn't suggest it. You can have a link that your viewers can click on themselves to add your site to their bookmarks. I found two sites that you can use: Your HTML Source and/or My Site Space The first link gives you the code to play with and the last one will create the code for you. I hope this answered your question! Good luck. -------------------- ![]() "I would feel more optimistic about a bright future for man if he spent less time proving that he can outwit Nature and more time tasting her sweetness and respecting her seniority." E. B. White (1899 - 1985) |
|
|
|
Dec 10 2007, 02:00 PM
Post
#3
|
|
![]() Forum Regular ![]() ![]() ![]() Group: Members Posts: 260 Joined: 11-June 07 From: Cymru/Wales Member No.: 136,036 |
try using <a href="filename#6">Bookmark 6</a>
-------------------- Tom
Tswsl1989 Duct tape is like the force. It has a light side, a dark side, and it holds the universe together |
|
|
|
Dec 11 2007, 10:05 AM
Post
#4
|
|
![]() Bleepin' Night Watchman ![]() ![]() ![]() ![]() ![]() ![]() Group: BC Advisor Posts: 1,975 Joined: 5-December 05 From: The City of Saint Francis, by the western sea Member No.: 43,307 |
It does work in Firefox, indeed in all browsers that I know of. If the code you gave in your first post is an accurate representation of the code you are actually using then i think I found your problem.
It should be like this: The link you gave is correct <a href="filename#6">Bookmark 6</a> however the anchor you made has an error; there should not be a # in the anchor name: This is the correct usage: <a name="6"></a> I suspect that IE is either handling the anchor tage incorrectly or that it is compensating for a common error in HTML code. -------------------- Social Lives Are Overrated. |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 9th January 2009 - 03:39 AM |