Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Show Other Web Pages Dynamic Content In Your Add Space Details »
Show Other Web Pages Dynamic Content In Your Add Space
Mod Version: 1.00, by camoit (Member) camoit is offline
Developer Last Online: May 2014 I like it Show Printable Version Email this Page

vB Version: 4.1.x Rating: (2 votes - 5.00 average) Installs: 6
Released: 31 Jan 2012 Last Update: 01 Feb 2012 Downloads: 18
Not Supported External Content  

Works with 4.1.11
It has taken me some time to find a good I-Frame code to use that will show a certain area of another web page. (I'm not a coder nor do I clam to be) Lets say you have an advertiser that pays you for space on your site, and they are always changing there content. So they call you up and want you to change the the way the add looks. Well with this little I-Frame code you can point to there site and take just the area they are always changing or the part you want to show in your add space. Now they can change the add at any time they want. with out bothering you.

Just take this code and place it in the HTML area of your add space. You can adjust the size of the window and location on the fly to get it just the way you want.
Easy install because it's just copy and paste.

Copy the code below and paste it in your new add space using your add space manager. If the size is to big your board will not display it, so make it smaller. The size is currently set to work in the add space below the navbar. (It's the size I'm currently using)

To see it in action just go to my board. It's just below the Navbar. It's the "Currently Playing " and it changes all the time automatically, and over 480 times per day.

Things to play with.
Change the title, or remove it.
The first width and height is the overall size of the window.
The next width and height is the location on the in the other page that will be displayed.
Last is near the bottom. You will need to put in the URL of the page you want to show.
Thats it copy and paste, your done.
Enjoy........................................................................... ........................



<html>
<head>
<title>Your Title Here</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" >
<style type="text/css">
#outerdiv
{
width:790px;
height:240px;
overflow:hidden;
position:relative;
}

#inneriframe
{
position:absolute;
top:-160px;
left:-318px;
width:1270px;
height:1200px;
}
</style>
</head>
<body>
<div id='outerdiv'>
<iframe src="http://www.The Target Url Here" id='inneriframe' scrolling=no></iframe>
</div>
</body>
</html>


---------------------------------------------------------------------------------------------------

I added a .txt download for the people that want it in note pad.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 31 Jan 2012, 21:32
htscpl's Avatar
htscpl htscpl is offline
 
Join Date: Sep 2003
Location: Houston
Real name: Henry
I am using 3.8.xx but it looks like this should work on it also since it is html inserted... just need to go thru templates.

I'll try it and let you know.
Reply With Quote
  #3  
Old 01 Feb 2012, 00:16
camoit camoit is offline
 
Join Date: Feb 2011
Please do. I would like to know how it works out for you. One thing you can change is near the bottom. That is scrolling=no to yes. That will allow the hole page to be seen in the I-Frame window.
Reply With Quote
  #4  
Old 01 Feb 2012, 08:10
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Real name: Rob
Nice idea,Is there a way to get these details easy??
(The next width and height is the location on the in the other page that will be displayed.)
Reply With Quote
  #5  
Old 03 Feb 2012, 05:08
camoit camoit is offline
 
Join Date: Feb 2011
Originally Posted by rammieone View Post
Nice idea,Is there a way to get these details easy??
(The next width and height is the location on the in the other page that will be displayed.)
I'm not sure sure what you meant by : Is there a way to get these details easy??

Yes on the second width and height, that is the area the I frmae will target.
I just ran across this code on page 9837 while googling I-Frames and it worked,,,,,....

Last edited by camoit; 04 Feb 2012 at 06:47.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 11:10.

Layout Options | Width: Wide Color: