What is an iframe and how to use it ???

8 replies
  • WEB DESIGN
  • |
Hey guys i see so many talking of using an iframe in their websites but then i dont know what is it and how exactly to use it.So please help me know more about it.

ANd yes still learning about website related stuff [not im ] so please explain in as simple language as possible.



Thank to all
#iframe #websites
  • {{ DiscussionBoard.errors[2802572].message }}
  • Profile picture of the author mark587905
    It is a piece of coding which allows you to enter for example an application form or your site without hasving to use a long code. It has to be placed in the html of a page amnd will load the application form when your site loads.
    {{ DiscussionBoard.errors[2802578].message }}
  • Profile picture of the author Gaurav Duggal
    Hi Koolestnerd,

    An Iframe is basically a way to display content from another web page or website on a different website / page. For example, you can own the site ilovebooks [dot] com and then use an iframe to display content from amazon [dot] com . The site that is being put in the frame will have exactly the same functionality as the original site, its just being displayed within your own page.

    You can choose to display the framed website in full or partially as well. If you do a full (100%) Iframe , lets say you iframe amazon [dot] com then the page that you are displaying the iframe on will look and feel exactly like amazon.com... in fact it will be amazon.com for all intents and purposes. Usually 100% iframes are discouraged since it can be deceptive. But using smaller frames can be useful.

    One useful way of using a smaller iframe, is for example you can make a contact form on one page and then display it on different parts of your website as well by just iframing your contact form. To see an example of this check out Let's Do India! - Namaste and Welcome. Feauturing South India Tours - Departing January 2010 . On the bottom you'll see a contact form that has been iframed from a completely different website.

    Probably the easiest way to experiment with frames is to try it yourself. You can use the following code, and simple insert any site you want into the "frame src" tag, and you can also change the rows value to something other than 100%. Also, insert this code before the </HEAD> tag of your website for it to work.

    <FRAMESET border=0 rows=100%,*"
    frameborder="no"
    marginleft=0 margintop=0 marginright=0
    marginbottom=0>
    <frame src="http://www.amazon.com"
    scrolling=auto frameborder="no" border=0 noresize>
    <frame topmargin= "0" marginwidth=0 scrolling=no
    marginheight=0 frameborder="no" border=0 noresize>
    </FRAMESET>
    Have fun
    {{ DiscussionBoard.errors[2802588].message }}
  • Profile picture of the author Koolestnerd
    @lokimotion

    Thank you i now know how it basically works.But the actual reason i was asking you this is because a product i thought of promoting from clickbank had pop-up for a discount and if someone buys from the discounted page i get no commission since the "affiliate =someone" becomes "none".So one of my contacts said get hold of the discount page url and dd ur affiliate link and then use iframe.


    So can you please explain me how what that person actually meant.I mean im asking about the method that person asked me to use .



    P.S :unable to contact her for so many days so asking in ere.Hope you'll help


    Thanks
    {{ DiscussionBoard.errors[2802632].message }}
  • Profile picture of the author davidthomas35
    Thanks for the informative post about iframe. I am new to programming world. But i think there is lots of opportunities to use iframe on any site. I am using wordpress. I hope there might be some plugins to use this feature easily.
    {{ DiscussionBoard.errors[2806364].message }}

Trending Topics