PDA

View Full Version : trying to insert a scroll bar


Tom
01-05-07, 21:23
I've been trying for the past hour to get a scroll bar on the first page of my site, I managed to get one on another page and change the colour but no joy with this page!

does anyone know what code to put in? (I have searched and tried!)

TIA

edd_t
01-05-07, 21:30
horizontal or verticle?

is it for the entire page, or just a small part of it?

Tom
01-05-07, 21:36
just a vertical for the whole page :), it's weird as on the "contact" page it was there by default, but I can't seem to get it to work on this page. I figure it's to do with the simple viewer thing but i'm not 100% sure.

sorry verticle!!!!!!!!!!!!!

Tom
01-05-07, 21:40
Sorry just re read that! verticle! : Doh :

edd_t
01-05-07, 21:53
erm, usually if its for the entire page a scroll bar will appear automaticly when your page is longer that the viewable area on screen.

when you preview the page you are creating, if you make your browser window smaller (instead of full screen) does the scroll bar appear?

Ric
01-05-07, 21:53
it doe sent recognise the simple viewer as a scalable object so just resizes it you would need to put the simple viewer in its own table and perhaps centre it so the page knows there is something of size there

Tom
01-05-07, 21:57
Ok thanks for the advice :), yeah I tried that Edd but no difference, next lesson html and tables! :)

edd_t
01-05-07, 22:10
the bit thats making the page larger than the browser is Flash isnt it? so thats going to be effecting it.

tables are always nice and easy. ive got some code somewhere for adding a scroll bar to a table, will have to dig it up.

Tom
01-05-07, 22:11
yeah it is, is there anyway around that? :) tried inserting into a table but no joy.

edd_t
01-05-07, 22:14
hmmm you can add a scroll bar to your flash. but i havnt done flash for a good couple of years now.

press F1 and type in scroll bar or something. it'll be there. there should be something in the 'Actions' view thing.
or try the Macromedia Exchange for a plugin that help you do it.

Tom
01-05-07, 22:31
wahey got it working, had to delete "overflow hidden" out of the script, thanks for all you help :thumbs:

edd_t
01-05-07, 22:32
nice one. did you do the Flash all yourself? or did you use a wizard? cos thats pretty cool and im a little behind with Flash these days.

Wez
01-05-07, 22:36
Would be good if you could get it all to fit on a page maybe designed to fit inside the most common screen res, 1024x768 so maybe 800x600 would be a good area to work with, no scrolling needed then.

Just a thought :)

Tom
02-05-07, 00:02
yeah, have been trying to Wez :) it's being a bitch though :p

Naah Edd found it on the web, I'm a complete noob to website building :)

Wez
02-05-07, 00:12
To keep everything in line you need to use tables with fixed sizes, well thats how I do it anyway :)


EDIT: stay away from frames, although they are easy to setup they do not always look the same on different systems.