FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


using an IFRAME help!





zodiac19
hello,

Can you give me an iframe code that will display another page in my website. For example, I want to display specifically the login area of facebook. let say 100px by 40px. Then, when someone logged in their account it will change view to the center of the facebook and change to 500px by 700px. is it possible? Question

<html><head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--

#container iframe {
width:750px;
height:600px;
margin-left:-310px; //example this part will change if i move to the next page
margin-top:-309px; //which is login home.
border:0 solid;

overflow:hidden;
}
-->
</style>
</head>
<body>
<div id="container">
<iframe src="example.html" scrolling="no"></iframe>
</div>
</body></html>



sonam
I don't think this is possible with iframe. Maybe with ajax and divs, but maybe you can try to find facebook api for your needs.

Sonam
Related topics
Reply to topic    Frihost Forum Index -> Webmaster and Internet -> Design Tips

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.