NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Web Design Discussion
Reload this Page Text Box Problem

Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 04-11-2004, 11:20 PM THREAD STARTER               #1 (permalink)
New Member
Join Date: Feb 2004
Location: Australia
Posts: 10
bluey21 is an unknown quantity at this point
 



Text Box Problem


Hi, I'm making a site for a restaurant, and because the menu is so big I want to put it in a text box with its own scoll bar. Might be iframes or something like, but sorry i'm just beginning this stuff. Is iframes the way to go and if so how do u do it?

thanks all
bluey21 is offline  
Old 04-12-2004, 05:02 AM   #2 (permalink)
NamePros Member
 
OneEyedDog's Avatar
Join Date: Mar 2004
Location: Middle Earth (NZ)
Posts: 149
OneEyedDog is on a distinguished road
 



Re: Text Box Problem


Quote:
Originally posted by bluey21
Hi, I'm making a site for a restaurant, and because the menu is so big I want to put it in a text box with its own scoll bar. Might be iframes or something like, but sorry i'm just beginning this stuff. Is iframes the way to go and if so how do u do it?

thanks all
Well you could do this with iFrames, here is the code for an iFrame:

Quote:
<IFRAME SRC="content.htm" WIDTH=200 HEIGHT=300 SCROLLING=YES>
If you can see this, your browser doesn't understand IFRAME. However, we'll still <A HREF="content.htm">link</A> you to the file here.
</IFRAME>
SRC="content.htm" is a local path to your iFrame content, you could also use something like SRC="http://www.domain.com/content.htm".
????: NamePros.com http://www.namepros.com/web-design-discussion/26652-text-box-problem.html

Also you can set SCROLLING=YES to SCROLLING=AUTO if you only require scrolling when the content html file is longer or wider than the specified measurements above.

Now, that said iFrames can be clumsy if not done right and my ultimate suggestion would be to use PHP or SSI but if you are just learning or simply happy with the iFrame, your away!

Warm Wishes,
__________________
Script Installation, Avatars, Banners and Buttons for $NP or Paypal, PM me your requirements :D
Deni J Vanin | Freelance Jobs and Forums | Web Design
OneEyedDog is offline  
Old 04-13-2004, 05:48 AM   #3 (permalink)
New Member
Join Date: Apr 2004
Posts: 10
scisoft is an unknown quantity at this point
 



iFrame may not be the best idea. It should be possible to use <div> or <p> or something with css style overflow: auto;
so it will display srollbars.
scisoft is offline  
Old 04-13-2004, 01:04 PM   #4 (permalink)
NamePros Regular
Join Date: Apr 2004
Location: NL
Posts: 808
Slewey is just really niceSlewey is just really niceSlewey is just really niceSlewey is just really nice
 



iframes also display scrollbars
Slewey is offline  
Old 04-14-2004, 05:36 AM   #5 (permalink)
New Member
Join Date: Apr 2004
Posts: 10
scisoft is an unknown quantity at this point
 



Quote:
Originally posted by Slewey
iframes also display scrollbars
but are somehow ..... well messy?
scisoft is offline  
Old 04-14-2004, 08:35 AM   #6 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer
Quote:
Originally posted by scisoft
but are somehow ..... well messy?
i dont think they are messy if they are styled right
adam_uk is offline  
Old 04-14-2004, 09:45 AM   #7 (permalink)
NamePros Regular
Join Date: Apr 2004
Location: NL
Posts: 808
Slewey is just really niceSlewey is just really niceSlewey is just really niceSlewey is just really nice
 



wasn't messy here...
Slewey is offline  
Old 04-15-2004, 04:33 PM   #8 (permalink)
NamePros Member
Join Date: Mar 2004
Location: maryland
Posts: 53
fetus is an unknown quantity at this point
 



i would use a iframe but dont do the whole site in frames.. i wouldnt suggest that.
__________________
i learn from my mistakes

everytime a dog barks a negative ( - ) a positive ( + ) is born.
fetus is offline  
Old 04-17-2004, 07:40 AM   #9 (permalink)
Senior Member
 
wicked_gal00's Avatar
Join Date: Jun 2003
Location: Toronto
Posts: 2,383
wicked_gal00 is a splendid one to beholdwicked_gal00 is a splendid one to beholdwicked_gal00 is a splendid one to beholdwicked_gal00 is a splendid one to beholdwicked_gal00 is a splendid one to beholdwicked_gal00 is a splendid one to beholdwicked_gal00 is a splendid one to beholdwicked_gal00 is a splendid one to behold
 



I think divs would be simpler to do here that iframes. Trouble with iframes is you have to make a new html page that has the content of that iframe. With a div layer, you can just have the content on the same page.
wicked_gal00 is offline  
Old 04-19-2004, 06:51 AM   #10 (permalink)
NamePros Member
Join Date: Apr 2004
Location: Melbourne, AU
Posts: 41
mstwntd is an unknown quantity at this point
 



Iframes are just as bad as any frames. Bad with search engines!. And more fuss. Why bother when there is a safer, easier way of achieving the same goal using a scrollable layer.
__________________
egor-k.com - web, graphic design
Last edited by mstwntd; 04-19-2004 at 06:54 AM.
mstwntd is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 07:49 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger