hi!
i was wondering if someone could help me with an urgent problem!
resently i have been taking over a wabpage of which i was only to makeover the firstpage. when i did this i got a lot of problems with the rest of the site. its a really old site, which was using framelayout until i changed the frontpage.
so now i obviosly need a solution! quickly!
im doing it like this,shortversion.
<a href="next.html" onclick="func()">thelink</a>
so im sending a request to js at the same time as im moving forward til the next htmlpage. in the external js i do as fallows.
function next()
{
document.getElementById('inladdare').src="anotherpage.htm";
}
this is were the problem starts i think.
js doesnt know that ive switched htmlpage. it thinks that "document" is the frontpage, and thats why it cant find the iframe,'inladdare', in which i want to load the new html, "anotherpage.htm"
so, now i wonder if its even possible to do something like this? or does anybody have a better idea?
i cant use php, because its not supported. neigther can i manually change all of the dokuments, theres simply too many. and if i do so itll only cause more problems than if i leave it be.
please! im desperate and very greatful for whatever help i can get!
thanx!
//chii



