Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 25, 2012, 07:34:41 AM

Pages: [1]   Go Down
  Print  
Author Topic: Html links change  (Read 185 times)
auweout
Pong! (the videogame) Master
*****
Offline Offline

Posts: 28


« on: November 10, 2011, 10:15:31 PM »

To briefly explain what is happening.... I can hover over my links on my index.html page. Click any of them which directs me to the proper page... but any remaining licks change to the same as first previously clicked link and stays there Wierd. Therfore clicking does nothing at this point. I can refresh to the index page again and everthing is back to normal. I can hover over any link I want but if I click it it will go to the correct page , but then the remaining link all change to that one.
Is the a problem with my html or css file?
Thanks
Logged
MrPhil
Senior Moderator
Berserker Poster
*****
Offline Offline

Posts: 5219



« Reply #1 on: November 11, 2011, 06:58:29 AM »

Are you saying that the color changes on the other links, or that their targets change? I'm confused by your writing "lick" -- is that "click" or "link" you meant? Clicking on one link (<a> tag) should have no effect on any other link. That link's color should change to indicate that it's already been "visited" (the color can be selected in CSS).

If this is a static HTML file, the link target (href) should not change. If this actually output from a program such as PHP, it's possible that there is something in the code that changes the target on the fly when the page is regenerated.
Logged

Visit My Site

E-mail Me
  
-= From the ashes shall rise a sooty tern =-
Pages: [1]   Go Up
  Print  
 
Jump to: