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

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?
Perris Calderon wrote on Electronic Punk's profile.
Hey EP! All good with me, applying for Microsoft MVP right now, should have done this a while ago.

Notifications don't work, I only found your response by coming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier!
Perris Calderon wrote on Electronic Punk's profile.
EP, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there!

Forum statistics

Threads
61,996
Messages
673,391
Members
5,585
Latest member
LucyHennessy