this doesnt sound difficult but i think the way i am approaching it might not be ideal, i thought first checking if there is a http://www. with stristr("" in haystack message to replace) then have it look using str coordinates go through http:// until the end but i dont think this will work as well. it dawns on me that i could possibly also do this with javascript if i wanted to it would make sense make a cross browser script in js
var links = this.menu.getElementsByTagName("a");_
for (var i = 0; i < links.length; i++){
if (links.href == document.location.href) {
links.className = "current";
break;
}
}
... but i see no need in this because it could be done in php with predefined vars i just dont know how yet
var links = this.menu.getElementsByTagName("a");_
for (var i = 0; i < links.length; i++){
if (links.href == document.location.href) {
links.className = "current";
break;
}
}
... but i see no need in this because it could be done in php with predefined vars i just dont know how yet