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.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back