I've never had this issue before. I am trying to have my main menu have a link to a lower part of the page and clicking the menu item does nothing.
The menu link uses a variable to tell coldfusion to display a piece of content lower on the page. If the url.var isn't in the url, the content won't appear.
I added the #a1
anchor to the end of the link and when I click on the link, nothing happens at all. The url doesn't change, the page doesn't reload with the url variable in the address bar and the page doesn't MOVE down to the anchor location.
I've read the following information online about this type issue and none of the solutions seem to fix my problem.
- If you're using Jquery, it could be conflicting with the anchor tag (don't know how to troubleshoot that)
- If my anchors use the NAME feature, they must have the ID as well (which I do).
- If the anchor tag is located inside a certain type of DIV, it could possibly not work.
- If the page size (height) is variable, the browser may not know how to locate where the anchor exists.
<A href="index.cfm?n1=photos#a1" class="hdrmnu">photos</A>
<a id="a1" name="a1"></a>
I've used anchor tags for 12 years in my web development and this is the first time I've encountered anything like this.