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 > Programming
Reload this Page Sidebar within web page?

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 03-22-2006, 07:09 PM THREAD STARTER               #1 (permalink)
NamePros Regular
Join Date: Aug 2005
Location: Leeds, UK
Posts: 263
noswad is an unknown quantity at this point
 



Sidebar within web page?


Hi everybody!

Does anyone know how to create a sidebar within a webpage to stop my page been really deep?

Examples (look in the news area):

http://www.franzferdinand.co.uk/

http://www.hollyoaks.com/

Dave.
__________________
Michael McIntyre - Fan site for the super funny UK comedian Michael McIntyre
noswad is offline  
Old 03-24-2006, 05:23 AM   #2 (permalink)
NamePros Member
 
whyme953's Avatar
Join Date: Jun 2004
Posts: 92
whyme953 is an unknown quantity at this point
 



use a layer (div) and set overflow to scroll.
__________________
Bais Menachem
whyme953 is offline  
Old 03-24-2006, 07:25 AM   #3 (permalink)
Senior Member
Join Date: Dec 2004
Location: Burlington, Vermont
Posts: 1,048
dan_Vt is a jewel in the roughdan_Vt is a jewel in the roughdan_Vt is a jewel in the rough
 



Do you know how to make it so that it only scrolls vertically?

Thanks for the info! I always thought those were just done with iframes and I want to stay away from iframes.

D
__________________
Vermont SEO
Tool Band Forum

For Sale: Co-Sign.com
dan_Vt is offline  
Old 03-24-2006, 07:46 AM   #4 (permalink)
A Wealth of Knowledge
 
stscac's Avatar
Join Date: Aug 2004
Posts: 3,809
stscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud of
 



Originally Posted by whyme953
use a layer (div) and set overflow to scroll.
Yep, but don't forget to assign a height and width for that div, or you're not going to have any defined area to overflow.
????: NamePros.com http://www.namepros.com/programming/179618-sidebar-within-web-page.html



-Steve
stscac is offline  
Old 03-29-2006, 08:43 AM   #5 (permalink)
Senior Member
Join Date: Dec 2004
Location: Burlington, Vermont
Posts: 1,048
dan_Vt is a jewel in the roughdan_Vt is a jewel in the roughdan_Vt is a jewel in the rough
 



Originally Posted by dan_Vt
Do you know how to make it so that it only scrolls vertically?
????: NamePros.com http://www.namepros.com/showthread.php?t=179618

Thanks for the info! I always thought those were just done with iframes and I want to stay away from iframes.

D
I realized that question sounds moronic, so let me rephrase.

I know it will scroll only when it has to, but how do you get the horizontal scroll bar to completely disappear when it isn't needed? (when I view it I see a greyed out horiz. bar)
__________________
Vermont SEO
Tool Band Forum

For Sale: Co-Sign.com
dan_Vt is offline  
Old 03-29-2006, 09:01 AM   #6 (permalink)
NamePros Member
 
whyme953's Avatar
Join Date: Jun 2004
Posts: 92
whyme953 is an unknown quantity at this point
 



sorry about that, overflow should be "auto"
__________________
Bais Menachem
whyme953 is offline  
Old 03-29-2006, 09:45 AM   #7 (permalink)
Senior Member
Join Date: Dec 2004
Location: Burlington, Vermont
Posts: 1,048
dan_Vt is a jewel in the roughdan_Vt is a jewel in the roughdan_Vt is a jewel in the rough
 



Originally Posted by whyme953
sorry about that, overflow should be "auto"
Excellent. Thank you!

Dan
__________________
Vermont SEO
Tool Band Forum

For Sale: Co-Sign.com
dan_Vt 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 10:00 PM.

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