Results 1 to 5 of 5

Thread: how to put text on an iframe

  1. #1
    marc
    Guest

    Default how to put text on an iframe

    Hi,
    I have this problem:

    I have created an iframe with some links on above it. When someone clicks
    the links, they are displayed in the iframe. Fine so far. BUT.. I want to
    display a text when someone comes to this site. Something like a help text
    how to use the buttons above the iframe. So, some text written ON the
    iframe. But when I write text, the red exclamation mark appears and shows an
    error.

    how can I do this?

    thanks, marc



  2. #2
    Steve Karr
    Guest

    Default Re: how to put text on an iframe

    Marc,

    When you layed the iframe down in your layout, what did you select as the
    page/URL to display in the iframe? That would be the default that appears in
    the iframe when the page is first visited. To do what you want:

    Create a new page for your intro text. Make it zero-margins or whatever so
    it looks like you want in the iframe. Then, in your iframe properties, make
    this new page the page that your iframe links to.

    Hope this helps.
    --
    Steve Karr
    www.stevekarr.com
    steve@<nospam>stevekarr.com
    "marc" <marc@herms.it> wrote in message
    news:gpk557$k914@flsun90netnews01.netobjects.com.. .
    > Hi,
    > I have this problem:
    >
    > I have created an iframe with some links on above it. When someone clicks
    > the links, they are displayed in the iframe. Fine so far. BUT.. I want to
    > display a text when someone comes to this site. Something like a help text
    > how to use the buttons above the iframe. So, some text written ON the
    > iframe. But when I write text, the red exclamation mark appears and shows
    > an error.
    >
    > how can I do this?
    >
    > thanks, marc
    >




  3. #3
    JJ
    Guest

    Default Re: how to put text on an iframe

    I think you are asking if you can put text directly over or in the iFrame
    and the answer is you can't because an iFrame is simply displaying someone
    else's web page which you can put text into of course. It is just a window
    to someone else's HTML which you have no control over.

    You could simply put the instructions somewhere around the iFrame or do a
    popup window that has the instructions (less preferable)

    "Steve Karr" <steve@stevekarr.com> wrote in message
    news:gploe9$r311@flsun90netnews01.netobjects.com.. .
    > Marc,
    >
    > When you layed the iframe down in your layout, what did you select as the
    > page/URL to display in the iframe? That would be the default that appears
    > in the iframe when the page is first visited. To do what you want:
    >
    > Create a new page for your intro text. Make it zero-margins or whatever so
    > it looks like you want in the iframe. Then, in your iframe properties,
    > make this new page the page that your iframe links to.
    >
    > Hope this helps.
    > --
    > Steve Karr
    > www.stevekarr.com
    > steve@<nospam>stevekarr.com
    > "marc" <marc@herms.it> wrote in message
    > news:gpk557$k914@flsun90netnews01.netobjects.com.. .
    >> Hi,
    >> I have this problem:
    >>
    >> I have created an iframe with some links on above it. When someone clicks
    >> the links, they are displayed in the iframe. Fine so far. BUT.. I want to
    >> display a text when someone comes to this site. Something like a help
    >> text how to use the buttons above the iframe. So, some text written ON
    >> the iframe. But when I write text, the red exclamation mark appears and
    >> shows an error.
    >>
    >> how can I do this?
    >>
    >> thanks, marc
    >>

    >
    >
    >




  4. #4
    JJ
    Guest

    Default Re: how to put text on an iframe

    That should be can't ...
    > someone else's web page which you can't put text into of course.



    "JJ" <jamesjimmy3000@yahoo.com> wrote in message
    news:gpmu08$20u1@flsun90netnews01.netobjects.com.. .
    >I think you are asking if you can put text directly over or in the iFrame
    >and the answer is you can't because an iFrame is simply displaying someone
    >else's web page which you can put text into of course. It is just a window
    >to someone else's HTML which you have no control over.
    >
    > You could simply put the instructions somewhere around the iFrame or do a
    > popup window that has the instructions (less preferable)
    >
    > "Steve Karr" <steve@stevekarr.com> wrote in message
    > news:gploe9$r311@flsun90netnews01.netobjects.com.. .
    >> Marc,
    >>
    >> When you layed the iframe down in your layout, what did you select as the
    >> page/URL to display in the iframe? That would be the default that appears
    >> in the iframe when the page is first visited. To do what you want:
    >>
    >> Create a new page for your intro text. Make it zero-margins or whatever
    >> so it looks like you want in the iframe. Then, in your iframe properties,
    >> make this new page the page that your iframe links to.
    >>
    >> Hope this helps.
    >> --
    >> Steve Karr
    >> www.stevekarr.com
    >> steve@<nospam>stevekarr.com
    >> "marc" <marc@herms.it> wrote in message
    >> news:gpk557$k914@flsun90netnews01.netobjects.com.. .
    >>> Hi,
    >>> I have this problem:
    >>>
    >>> I have created an iframe with some links on above it. When someone
    >>> clicks the links, they are displayed in the iframe. Fine so far. BUT.. I
    >>> want to display a text when someone comes to this site. Something like a
    >>> help text how to use the buttons above the iframe. So, some text written
    >>> ON the iframe. But when I write text, the red exclamation mark appears
    >>> and shows an error.
    >>>
    >>> how can I do this?
    >>>
    >>> thanks, marc
    >>>

    >>
    >>
    >>

    >
    >




  5. #5
    Nancy O
    Guest

    Default Re: how to put text on an iframe

    <answer is you can't because an iFrame is simply displaying someone else's
    web page>

    Not necessarily. Iframe src="some-page.html" which could be any page on the
    domain name server, or an external URL such as Google.com. If the OP places
    his message text in the target html page, as Steve suggests, it will be seen
    when the parent page loads.


    --
    Nancy O.
    www.alt-web.com/Tutorials/
    NOF Tips & Tutorials



Posting Permissions

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