Home :: Forums :: Register :: Sign In :: Links :: Downloads :: Shop
You are not signed in. Please sign in. If you have not registered, please click here.

Opening a module in an iframe ?

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb   More...
#1Sun Oct 03, 2004 7:26 pm   Opening a module in an iframe ?
phptest
CZ Super Newbie
phptest has been a member for over 4 year's 4 Year Member
Status: Offline
Joined: Aug 22, 2004
0.04 posts per day
Posts: 58
Points: 3,076
   
I know my questions keep getting even more strange but here it goes.

When i load a module from my own website into an iframe i will not only get that module loaded into the iframe but also the header (mainpage) etc..

How can i load a module in an iframe without loading the entire mainpage into the iframe ?



Hope you understand my question.



Back to top Reply with quote
#2Sun Oct 03, 2004 10:25 pm   re: Opening a module in an iframe ?
Taut
PayPal Donation
Asst. Admin
 Codezwiz Site Donator
Taut has been a member for over 5 year's 5 Year Member
usa.gif california.gif
Occupation: Entrepreneur
Fav. Sports Team: SF Giants
Website: admins101.com
Status: Offline
Joined: May 27, 2003
2.74 posts per day
Posts: 5504
Points: 481,695
   
no I don't understand...if your module is already incorporated into your site, there shouldn't be a need to iframe. You only use the iframe to bring in an external page from a different site or server




_________________
My life is spent in one long effort to escape from the commonplace of existence.
Back to top Reply with quote
#3Mon Oct 04, 2004 3:34 am   re: Opening a module in an iframe ?
phptest
CZ Super Newbie
phptest has been a member for over 4 year's 4 Year Member
Status: Offline
Joined: Aug 22, 2004
0.04 posts per day
Posts: 58
Points: 3,076
   
I would like to use the iframe to load that particular module because i like the border that the iframe has...



Back to top Reply with quote
#4Mon Oct 04, 2004 6:45 pm   re: Opening a module in an iframe ?
Taut
PayPal Donation
Asst. Admin
 Codezwiz Site Donator
Taut has been a member for over 5 year's 5 Year Member
usa.gif california.gif
Occupation: Entrepreneur
Fav. Sports Team: SF Giants
Website: admins101.com
Status: Offline
Joined: May 27, 2003
2.74 posts per day
Posts: 5504
Points: 481,695
   
hmmm...the only way I can think of is a long way. Telli may have some other idea

You would need to create another page and have the module link open up in that page. Then using some absolute positioning, cutting off the header and other parts you don't want seen. Now you can iframe that newly created page.

The newly created page would look something like this in HTML format:


<html>
<head>
<style type="text/css"> iframe { position: absolute; top: -300px;left: -10px; right: -10px; } </style>
</head>
<body>
<iframe src="http://yourURLhere.php" height="YOUR page height" width="YOUR PAGE WIDTH"></iframe>
</body>
</html>


You'll have to play with the positioning to give you the values of the page



_________________
My life is spent in one long effort to escape from the commonplace of existence.
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb   More...
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum