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
 

RagnaroK

Must be dreaming...
Joined
27 Apr 2002
Messages
673
It "should" automatically add scrollbars when the content overflows the iframe.
 

Tuffgong4

The Donger Need Food!!!!
Political Access
Joined
21 Jun 2002
Messages
2,465
cool I'll try it and get back to you on the forum rag
 

Tuffgong4

The Donger Need Food!!!!
Political Access
Joined
21 Jun 2002
Messages
2,465
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
 

CHiLLaXen

hypnotika
Joined
6 Jan 2004
Messages
107
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

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.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?

Forum statistics

Threads
62,007
Messages
673,466
Members
5,598
Latest member
Larry Chris