iframe scrollbar coding

Tuffgong4

The Donger Need Food!!!!
Political Access
Joined
21 Jun 2002
Messages
2,465
just a question...I just learned about iframes but have yet to play around with it yet...I'm going to use them to serve up the content on my website and I was wondering if they automatically scroll if the content is too large for the table cell or if you have to code the iframe so it will have a scrolll
 
It "should" automatically add scrollbars when the content overflows the iframe.
 
cool I'll try it and get back to you on the forum rag
 
ok using dreamweaver and want to accomplish this
Easy, add this simple code in the link tag: target="iframe"
I want to put this code to a table that just has a background color where to I put the code...or how do I do it...
also I need to add something similar to this with the name changed for my own purposed but this is what is on the website
The code:
| <a href="http://www.zymic.com/html/content.html" target="iframe2">Content</a>
| <a href="http://www.zymic.com/html/jokes.html" target="iframe2">Jokes</a>
| <a href="http://www.zymic.com/html/resources.html" target="iframe2">Resources</a> |
now where would this go as well
 
Code:
<table bgcolor="background_color" background="image_file"><tr><td>
<!-- link to iframe -->
<a href="blah1.html" target="iframe_name">blah 1</a>
<a href="blah2.html" target="iframe_name">blah 2</a>
<a href="blah3.html" target="iframe_name">blah 3</a>
</td></tr></table>

<iframe name="iframe_name" width="if_needed" height="if_needed" scroll="auto">
</iframe>

this code is a little smiple but hope you get the idea

also, instead of doing href="http://www.zymic.com/html/..."
you can just do href="/html/..."
 

Members online

No members online now.

Forum statistics

Threads
62,021
Messages
673,242
Members
5,640
Latest member
Kgkass
Back
Top