Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New Coder
    Join Date
    Mar 2003
    Posts
    24
    Thanks
    0
    Thanked 0 Times in 0 Posts

    iframecode websites using iframe

    will some one please advise me the url of the websites using iframe
    thanks

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,529
    Thanks
    8
    Thanked 1,091 Times in 1,082 Posts
    This site uses <iframe> to change the center part
    of the screen without a page refresh.
    http://www.pierretoutain.com

    It could be done without using an iframe, but the
    affect of the refresh flashes the page. The author
    also didn't want to use Javascripting for that either.

    The main reason for iframe was to allow the author
    to change the content that appears in the iframe.
    It's all done dynamically, using Perl (PHP would be fine too).

    I've never had SEO issues with iframes (inline frames),
    but frames (plain old frames) are a different issue.

    View the HTML source of the website (link above) and
    see how the <iframe> is inserted.

  • #3
    Senior Coder
    Join Date
    Dec 2005
    Location
    Slovenia
    Posts
    1,991
    Thanks
    120
    Thanked 76 Times in 76 Posts
    In case u fill that u discowered something that will solve the need to not have java script at all ...
    note: iframes does not resize to its inserted contence automaticaly.
    This is a big bummer, jou then need to resize them via java script.

  • #4
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,529
    Thanks
    8
    Thanked 1,091 Times in 1,082 Posts
    That's why the contents of the iframe are dynamically generated using PHP.
    If PHP is creating the contents, it can alter CSS properties to fit text, paragraphs,
    etc. and use GD to fit images. No Javascripting needed.

    And I don't see how Javascripting could do that anyhow.

    Also, with PHP, it's all done server-side, so nobody needs to see the scripting.
    It just renders like ordinary HTML. Clean, efficient, and can use CSS style sheets.

    You didn't mention what content needs to be inserted into the iframe ...
    You only asked for a URL example. I'm not sure what you're looking for.

    Instead of bashing our examples, show us some examples of your own.
    Give us a URL of some iframes you've done where Javascripting solves your problems.

  • #5
    Senior Coder
    Join Date
    Dec 2005
    Location
    Slovenia
    Posts
    1,991
    Thanks
    120
    Thanked 76 Times in 76 Posts
    Hey I was just pointing something out for original poster, no direspect ment, to anybody.

  • #6
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,529
    Thanks
    8
    Thanked 1,091 Times in 1,082 Posts
    Bubikol ...
    Sorry, I didn't look close enough ...
    I thought you were the original poster.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •