Computing.Net > Forums > Web Development > Scroll bar issues

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Scroll bar issues

Reply to Message Icon

Name: cityroamer
Date: March 18, 2004 at 21:38:51 Pacific
OS: Windows XP Pro
CPU/Ram: 512 MB
Comment:

Hello,

I am trying to scroll bars appear where I want them, and remove the standard web browser scroll bar. I use Macromedia Dreamweaver... how can I make a scroll bar for only a certain layout table? How can I do something similar to this website? (as far as the scrollbars go) http://www.hamptoncomputer.net/

Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: safeTsurfa
Date: March 19, 2004 at 06:29:24 Pacific
Reply:

The easiest and quickest way to see how a web site did something is to view the Source for the page.

If you do this at Hampton Computers, you will see they are using framed pages. One of the options for each frame is to choose whether or not it has a scrollbar.

Oh, and forget about using colours in scrollbars, that only works in Internet Explorer, as it uses the poor coding of IE to get the effect. All it does in real terms is add more code (extra loading time) to the web page, which will be wasted on anyone using Netscape, Opera, Mozilla, etc, because they will never see it.


0

Response Number 2
Name: Code One
Date: March 20, 2004 at 16:06:21 Pacific
Reply:

well, but you still think it looks pretty huh?

just use CSS (Cascading Style Sheets)

type CSS scrollbars in google you'll find a crap load of info..


0

Response Number 3
Name: The Count
Date: March 20, 2004 at 17:21:26 Pacific
Reply:

Hi S. Crawford, safeTsurfa, codeone, hi everyone

Definitely a framed site. :-))

The most important code for the Hampton Computer site, to be found in index.html. The site uses three rows.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
   <head>
      <title>Welcome to Hampton Computer, computer sales, computer servicing, computer repair, computer upgrades, computer networking, computer training</title>
   </head>
   <frameset rows="*,404,*" border="0" framespacing="0" frameborder="NO">
      <frame src="blank_home.html" name="topblnk" scrolling="NO" noresize>
      <frame src="main.html" name="center" scrolling="NO" noresize>
      <frame src="blank_footer.html" name="btmblnk" scrolling="NO" noresize>
   </frameset>
   <noframes>
   <body>
   <!-- Comment by The Count: Enter code for no frames capable browsers here -->
   </body>
   </noframes>
</html>

The most important code for the Duncan Technologies site, to be found in index.html. The site uses one row and two columns.
(http://www.duncan2004.com)

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
   <title>Computer service and repair</title>
</head>
<frameset rows="120,*" border="0">
<frame src="title.html" name="banner" scrolling="no">
<frameset cols="20%,85%" border="0">
<frame src="menu.html" name="menuwindow" scrolling="no" noresize>
<frame src="home.html" name="mainwindow" scrolling="auto" noresize>
;<noframes>
   <body>
   <!-- Comment by The Count: Enter code for no frames capable browsers here -->
   </body>
</noframes>
</frameset>
</html>

Using scrolling="auto" in the <frame> tag causes the scrollbar to appear only when needed.

Oh, and I don't feel like arguing about the use of the colors with the scrollbars. It looks pretty need with IE, and the JavaScript code is minimal.

As I haven't mastered CSS myself yet, I know it's a real handy way to change your layout (background colors, scrollbars, font etc.) in the blink of an eye, I won't argue about the use of it either. :-)


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Scroll bar issues

Get rid of horizontal scroll bar IE www.computing.net/answers/webdevel/get-rid-of-horizontal-scroll-bar-ie/2635.html

Scroll bars in dreamweaver www.computing.net/answers/webdevel/scroll-bars-in-dreamweaver/1542.html

Sisable scroll bars www.computing.net/answers/webdevel/sisable-scroll-bars-/1102.html