![]() |
|
|||||||
| Register | FAQ | Members List | Arcade | Dev Directory | HB Bank | Calendar | Search | Today's Posts | Mark Forums Read |
| HTML / XHTML / CSS Discuss HTML, XHTML and CSS coding in this forum. |
| Have A Look At Some Of Our Webmaster Related Sponsors! | |||||
![]() Script Directory |
![]() Advertise Here |
![]() Market Leverage |
![]() Free Templates |
![]() 3D Guide-characters |
![]() Advertise Here |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#8 (permalink) | |
|
Administrator
|
Some other attributes:
frameborder (border around frame, defaults to 1, set to 0 to remove) width height style (add CSS to it) name (to be used to identify it) How to have a link change page in iFrame: Quote:
|
|
|
|
|
|
|
#12 (permalink) | |
|
Administrator
|
I would think Amazon of all places would be beyond the use of iFrames and using includes in PHP which are much more efficient.
Quote:
Another tip is if you are for example in a table or something and are using an iframe you can set the width and height to 100% to take up the whole area of the table, this can be very useful when you don't want to name an exact height and width, but rather it to just be fluid. |
|
|
|
|
|
|
#14 (permalink) |
|
Senior Moderator
|
In my professional opinion, iframes should only be used when the iframes are translating another page, or when a shoutbox is used or some sort of chat mechanism.
|
|
|
|
|
|
#15 (permalink) | |
|
Field Master
|
Quote:
I agree with this and this is what i do, I fell in love with php due to this include function only. and keeping design fluid is always a good idea, coz it allows easy transaction between screen resolutions. |
|
|
|
|
|
|
#16 (permalink) |
|
Administrator
|
Yeah iFrames are a good alternative to people who don't know php and similar, however any big name site won't use them.
Also, yes AJAX is just Javascript with database capabilities, but yeah switching between frame with javascript is cool, but you can do a similar effect without even using a frame! |
|
|
|
|
|
#18 (permalink) |
|
New Hunter
|
Iframe is Inline Frame.
With frames, you can display more than one Web page in the same browser window. Frames With frames, you can display more than one HTML document in the same browser window. Each HTML document is called a frame, and each frame is independent of the others. The disadvantages of using frames are: The web developer must keep track of more HTML documents It is difficult to print the entire page -------------------------------------------------------------------------------- The Frameset Tag The <frameset> tag defines how to divide the window into frames Each frameset defines a set of rows or columns The values of the rows/columns indicate the amount of screen area each row/column will occupy -------------------------------------------------------------------------------- The Frame Tag The <frame> tag defines what HTML document to put into each frame In the example below we have a frameset with two columns. The first column is set to 25% of the width of the browser window. The second column is set to 75% of the width of the browser window. The HTML document "frame_a.htm" is put into the first column, and the HTML document "frame_b.htm" is put into the second column: <frameset cols="25%,75%"> <frame src="frame_a.htm"> <frame src="frame_b.htm"> </frameset> Note: The frameset column size value can also be set in pixels (cols="200,500"), and one of the columns can be set to use the remaining space (cols="25%,*"). -------------------------------------------------------------------------------- Basic Notes - Useful Tips If a frame has visible borders, the user can resize it by dragging the border. To prevent a user from doing this, you can add noresize="noresize" to the <frame> tag. Add the <noframes> tag for browsers that do not support frames. Important: You cannot use the <body></body> tags together with the <frameset></frameset> tags! However, if you add a <noframes> tag containing some text for browsers that do not support frames, you will have to enclose the text in <body></body> tags! See how it is done in the first example below.
__________________
free web based proxy http://www.fxan.net Computer Tips n Tricks Forum http://www.bitslinker.com |
|
|
|
|
|
#19 (permalink) |
|
Field Master
|
http://gulgasht.com/a/3/
Web Development assignment by using frameset tag in xhtml Check the above link and tell me about these frames. either these or iframe or the simple frames. I have create these frames last year when i was preparing my assignment...
__________________
Always be Happy... ![]() Last edited by naziajabeen; 04-04-2008 at 10:11 PM. |
|
|
|
|
|
#20 (permalink) |
|
New Hunter
|
<html>
<body> The material below comes from the website Example Web Page <iframe src="http://example.com" height="200"> Alternative text for browsers that do not understand IFrames. </iframe> </body> </html> The source you want to link in the iframe is in the <iframe src=" "> |
|
|
|