Bookmarks don't work the same in...

User 2225744 Photo


Registered User
9 posts

Jo Ann wrote:
Here's a page from a site I did for my brother's band, you can see the links on the left side which are tags to take you to the sections for each person. Work nicely and very easy to setup.
http://rockinwithmainstreet.com/band_bios.html


Jo Ann - Your page displays perfectly in both Firefox and Chrome. The #krissy bookmark displays right in the center of the displayed page. Would that I were so fortunate!

Others replying to my original post have said to use anchor tags instead of scripts. Anchor tags of the form
<a name="anchorA"></a>
are what I am using! I am not using scripts!

I am a rank newbie to VSD, so I appreciate any gentle handholding you veterans are willing to offer.

- Earl
User 422767 Photo


Registered User
259 posts

I did not know there was an anchor problem with VSD when I suggested scripts. :P

I tested placing anchors using HTML boxes in VSD: http://shearme.coffeecup.com/Testpage.html
It worked in chrome for me.


<a name="anchor">Anchor</a>
<a href="page.html#anchor>Link to anchor</a>
Aren't you a little short for a Storm Trooper?
User 364143 Photo


Guest
5,410 posts

Of course anchor tags work in Chrome. They work in all major browsers.
CoffeeCup... Yeah, they are the best!
User 187934 Photo


Senior Advisor
20,271 posts

I've observed the anchor dragging on the bottom on some pages.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2225744 Photo


Registered User
9 posts

Tomalicious wrote:
Of course anchor tags work in Chrome. They work in all major browsers.


It's not that the anchor tag doesn't work in Chrome, it's just that in my simple experiment (Firefox on my XP machine, compared to Chrome on my Windows 7 laptop) the anchor doesn't position the page the same in both browsers. However in at least one of the other examples posted here, it does.

So my question may not be as much about how different browsers handle the positioning of anchor tags, as it is about why my web site doesn't behave like others.

Earl
User 38401 Photo


Senior Advisor
10,951 posts

Well see the thing I was noticing on your pages is that the actual content links aren't there. I didn't see any links in your content areas that were linked to the alphabetical menu you have setup. It does seem to work in Firefox, not sure how lol, but looking at your code it seems that it's missing each of the tags that need to be positioned in the page near the actual content being linked to.

If you can take a look at the code of my page in the link I gave earlier, you will see that it takes a little practice and a little trial and error to get the links right where you want them also. I didn't get them right off the bat either hehe, I had to play with the positioning until I got it to go exactly where I wanted it on the page. This means that it doesn't always go at the top of the actual section (in your case sample letters) and may need to actually be positioned a bit higher on the page or lower etc.

Take a look at Zacs test page too and see if between his made in VSD and mine in HTML Editor you can find a happy medium on it. Using the HTML Tool definitely sounds like what is needed which I wasn't sure about so that's all good to go, just gotta get the code correctly on the page is all.

I'm not seeing anything wrong in the code for it either which isn't helping, maybe try making your menu not be a scrolling menu and see if that is maybe what's messing it up? Maybe there's something in the script for the menu that is causing it.

P.S. Don't forget to include links back to the top of the page also (anchor tags also) so people don't have to scroll all the way back up manually.
User 422767 Photo


Registered User
259 posts

Tomalicious wrote:
Of course anchor tags work in Chrome. They work in all major browsers.


Anchors were never in question, but rather how they are placed/used/implemented in VSD.

The HTML and CSS is the same on Earl's page and my test page, so I agree with Jo - you should check to see if the menu is affecting it. :)
Aren't you a little short for a Storm Trooper?
User 364143 Photo


Guest
5,410 posts

Duh, if they work, then it must be something on the page altering the results. :rolleyes:
CoffeeCup... Yeah, they are the best!
User 422767 Photo


Registered User
259 posts

:P
Aren't you a little short for a Storm Trooper?

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.