Hi,
I posted a problem a while ago where I wanted to pass a url through to a page with an iframe and got a javascript soloution;
Link:
<a href="../new/newboatsframe.html#http://www.searanger.com/">
Frame:
<div id="iframe">
<iframe id="myiframe" height="600" scrolling="auto" src ="#" width="100%"></iframe>
</div>
Script:
<script type="text/javascript">
var myUrl = window.location.href;
var myPos = myUrl.indexOf("#");
var src = myUrl.substring(myPos + 1, myUrl.length);
document.getElementById( 'myiframe' ).src = src;
</script>
My problem now is that while this works fine in most cases it doesn't on the page it links to which also holds the links.
You can go to http://www.bjmarine.net/new/newboatsframe.html#http://www.ferretti-yachts.com/ to see for yourself. When you click on the links again the url changes but the page doesn't refresh.
Does anyone have a solution?
Thanks,
Denis
Edit: Site link changed