July 1, 200818 yr 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/newsite/new/newboa...tti-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
July 2, 200818 yr Author I've now managed to get it working with onClick="window.location.reload(true); but only in IE. Can anyone help with FF? Denis
Create an account or sign in to comment