I’m having trouble making my anchor links work in Safari (both FF and IE work fine). I have a few PHP pages with a list of school classes, each with unique IDs. For example, I have a page for the beginning classes, another page for the intermediate classes, and another for advanced. Within each page are descriptions of each class and are given unique ID’s:
<a name="LISTNAME" id="LISTNAME">Class Name</a>
My main classes page links to all classes within their individual page… so I want some links to link directly to the specific area where that class is on it’s PHP page. The links are as follows:
<a href="intermediate_classes.php#LISTNAME">Class Name</a>
However, Safari is not reading the anchor and only loading the page’s regular URL, not the extension to the anchored area. What happens is when I click on the link, I can see the address bar read the full URL with the #LISTNAME but will eventually remove the anchor extension and just load intermediate_classes.php. Even when I copy and paste intermediate_classes.php#LISTNAME directly to the address bar, Safari still removes the anchor extension.
Any help with this?