Forum Moderators: open

Message Too Old, No Replies

adding title to iFrame

         

walker

1:40 pm on Mar 22, 2005 (gmt 0)

10+ Year Member



Hi

In the same way as you can add scrollbars etc, is it possibile to assign a titlebar to an Iframe?

Any help really appreciated!

Kind Regards

Walker

mcanada

12:14 pm on Mar 25, 2005 (gmt 0)

10+ Year Member



I don't think that iFrames have a title property available.

SpaceFrog

12:31 pm on Mar 25, 2005 (gmt 0)

10+ Year Member



you could add a fake one by using a div just above iframe and retirevong title from page displayed in iframe (only if page is on same root ...

Rambo Tribble

4:21 pm on Mar 25, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Actually, iframes do have a title property, but it's what's supposed to appear as the tooltip on hover. IE, in the absence of a title, displays the alt value, which has led to confusion on this point.

You would appear to looking for an iframe analog to the table's caption element. I do not believe one exists.

The iframe is already a block element, so placing it within another block element to contain both the iframe and its "caption", would seem one available course.

If, on the other hand, you are looking to produce a browser chrome effect, I think you're pretty much on your own.