Ok Im having trouble with my Iframes Ive made them expandable but they are not expanding :s and the sub navigation just messes up
http://habboinfo.co.uk/uk/
+rep for help!

Ok Im having trouble with my Iframes Ive made them expandable but they are not expanding :s and the sub navigation just messes up
http://habboinfo.co.uk/uk/
+rep for help!
bump [sorry] lol
EDIT: my bad, well it seems no page is even loading in the sub nav iframe anyway so..
Last edited by DUB; 14-05-2008 at 12:52 PM.
;veni vidi vici
;i came, i saw, i ownt
couldn't edit previous post..
But erm, you can try this though...
In your header put:
Then in your body tag you need to load the function so put:Code:<script language="JavaScript"> function iframelol() { if(document.getElementById && !(document.all)) { h = document.getElementById('content').contentDocument.body.scrollHeight; document.getElementById('content').style.height = h; } else if(document.all) { h = document.frames('content').document.body.scrollHeight; document.all.content.style.height = h; } } </script>
Then just put your iframe tag where you want it to go for e.g:Code:<body onLoad="iframelol()">
Code:<iframe src="homepage.html" width=XX scrolling=no frameborder=0 id="content"; ></iframe>
haven't tested it, but it should work
;veni vidi vici
;i came, i saw, i ownt
K it works in IE but not in firefox :S
Want to hide these adverts? Register an account for free!