Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What if someone can't see the IFRAME

Status
Not open for further replies.

altendew

Programmer
Mar 29, 2005
154
US
Hey I know javascript has the <noscript>, is there something similar if the user doesnt accept and iframe?
 
W3C said:
For user agents that support frames, the following example will place an inline frame surrounded by a border in the middle of the text.

<IFRAME src="foo.html" width="400" height="500"
scrolling="auto" frameborder="1">
[Your user agent does not support frames or is currently configured
not to display frames. However, you may visit
<A href="foo.html">the related document.</A>]
</IFRAME>
I guess this answers your question. More here:
 
No thats not even what I asked, I said is there a way to display text if there browser doesnt support inline frames.
 
Which part of the "[Your user agent does not support frames or is currently configured
not to display frames. However, you may visit
<A href="foo.html">the related document.</A>]" didn't you understand? Also, if you would bother to read the link I gave you, you would come up with this:
W3C said:
The information to be inserted inline is designated by the src attribute of this element. The contents of the IFRAME element, on the other hand, should only be displayed by user agents that do not support frames or are configured not to display frames.
To explain, contents of the iframe is that stuff between the opening tag and closing tag. Sometimes reading the post gives away the answer.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top