Results 1 to 3 of 3

Thread: Image over Iframe

  1. #1
    Join Date
    Mar 2012
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Image over Iframe

    Hi, I am useing an Iframe to load sub-page informations.
    However, when I first open's the website, the place where Iframe is,
    its empty..as in the content isn't loaded yet. So I was wondering
    if I can put a image or text on the Iframe until I click on the sub-page link
    for the content to load and then the image/text on there before will disappear
    after the content is loaded.

    Thank You.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    The easiest solution would be to put your image, or a page with your image and/or text in the iframe to start:

    HTML Code:
    <iframe name="whatever" src="placeholder.htm"></iframe>
    On placeholder.htm you could have your image, or some text, or both. Once the user clicks on a link that targets the iframe, that new page will take over in the iframe
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    detroll (03-08-2012)

  4. #3
    Join Date
    Mar 2012
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Lol wow..can't believe I didn't think of that.
    Thank you sir. =)

Bookmarks

Posting Permissions

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