Jul 25, 2008

<iframe> Tag - a page within a page

Free Web Hosting, No Ads > CONTRIBUTE > Tutorials
Pages: 1, 2

free web hosting

<iframe> Tag - a page within a page

leiaah
I really love the <IFRAME> tag. I use it a lot in my website especially for shoutboxes. I use to wonder how it's done and I thought you use a lot of frames for it but it's actually quite simple. You may paste this code in a table/cell and then just change the values of the width and height.

CODE

<IFRAME name= main src="main.htm" frameBorder=0 width="334" height="311" marginwidth="0" marginheight="0">
 <font size="1">Please get Netscape 6.0 or Internet Explorer 5+ to view this page</font>
</IFRAME>


It would look nicer if you have changed the color of the scrollbar.

Message from snlildude87: leiaah, please put all code in the code ([code][/code]) tags for better readability. smile.gif

Reply

round
Not sure i understand the need for iframe tag. The iframe code you have above seems like an include, wondering if you couldn't just use the include code to accomplish the same thing?
round.trap17.com

Reply

ill
the iframe function is html, for one. the iframe includes the document named in an inline frame, which means it can be any size, not take up however long the document in the iframe is. very preferable for shoutboxes. Shoutboxes in include tags suck, take up the whole screen.. it's annoying

Reply

beeseven
It sounds similar to <object>. I'm not really familiar with either, so does one offer anything more than the other?

Reply

the_furious1
This is amazing thanks for sharing this information, it can be useful to some people!!!! Like me it can be useful to, because I always wanted to do that!!!
iframes can be very useful for the spacing, navigation and overall web site look!!!

Reply

the_furious1
I have been trying to find some free shout boxes, but your's looks the best. Can you please share the code?

Reply

extremehardware
Hmm, I just used an iFrame to link my free forums into my website, so that people no longer have to open a new window/leave my site to get to the forums. Very nice! But I think I'll switch back since there is an error with the bottom of my forums with the iframe command. Thanks anyways for the information.

Reply

yoofus
QUOTE(the_furious1 @ Mar 21 2005, 03:30 PM)
I have been trying to find some free shout boxes, but your's looks the best. Can you please share the code?
*



Go to www.shoutmix.com if you want a free shoutbox

Reply

Becca
Why can't you just try a shoutbox script or make your own.. It's sooo easy...
Just like a guestbook or blog.
iframes are good but don't use too much of it... i don't know why but I was told that tip about website making some one told me it wasn't a good idea to ues it too much and it werent very professional... I have no idea why. I use to use it for EVERYTHING.

Reply

ill
they're annoying and they can throw the whole page off. i dunno they're just annoying lol

Reply

Latest Entries

nol
very simple task, that many people prefer not to use. I agree the scrolling becomes a pain, but when it is used right, it is very effective and nice looking. I like to use it for news and such, like on the front page for news. ALso, its eeasy for when you don't want a page to reload everytime they click on the navigation, its really effective for navigation and banners that don't need to load every time they go to a new page, which allows faster viewing of the webpage.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Pages: 1, 2
Recent Queries:-
  1. iframe whole page - 13.13 hr back. (1)
  2. how to set iframe tag in mail in php - 15.65 hr back. (1)
  3. html iframe to fill the whole page - 23.24 hr back. (1)
Similar Topics
Looking for tag, page, page

Searching Video's for tag, page, page
advertisement



<iframe> Tag - a page within a page



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE