Permabanned
- Joined
- 28 Oct 2006
- Posts
- 6,552
- Location
- Bournemouth
hi, i currently have my home page set to one i made, it has 2 i frames, one being Google, and the other being my myspace, as i often look at these 2 pages and thought it would be a good idea to put them both on my start up page.
I have 2 problems though, when it opens, Firefox scrolls down a bit so i can see both, i want the focus to be at the top of the page and i don't want it to scroll
secondly, i need to learn(copy+paste) some code that allows me to get rid of one of the i frames, for instance, when i Google search in the top frame, i would like to be able to get the myspace frame to go away, no complex code that automatically does it but like a little hyper link!
this is the code i currently use
Thanks in advance
Frosty
I have 2 problems though, when it opens, Firefox scrolls down a bit so i can see both, i want the focus to be at the top of the page and i don't want it to scroll
secondly, i need to learn(copy+paste) some code that allows me to get rid of one of the i frames, for instance, when i Google search in the top frame, i would like to be able to get the myspace frame to go away, no complex code that automatically does it but like a little hyper link!
this is the code i currently use
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Home</title>
</head>
<body>
<iframe
src ="http://www.google.co.uk/ig?hl=en"
width="100%" height="1000" frameborder="0">
</iframe>
<iframe
src ="http://home.myspace.com/Modules/HomeDisplay/Pages/Home.aspx??fuseaction=user"
width="100%" height="10000" frameborder="0">
</iframe>
</body>
</html>
Thanks in advance
Frosty
Last edited: