2
I did a site recently this week, vhtvshows.com.br. When you click on a series to watch and choose the episode ajax takes the link and puts it in my div, but when I go back the link is not in the color I put in CSS:
#exemplo a:visited{
color:#0099ff;
}
Already when I open the link in new tab where the ajax will not work perfectly a:visited
.
Does anyone know what I can do to make it worth a:visited
even using ajax ? don’t want to have to use " iframe".
You need to load ajax based on the url, using a hash like on that website. Note that when switching pages is loaded with ajax, however the url tbm exchange, and when you enter a different url directly the correct content is already loaded... making the site that way you can use a:visited
– RodrigoBorth
The guy blz think using the $_GET will get the expected result as it will be loaded into the computer’s history thus making the a:visited work. Obliged.
– Gabriel