PDA

View Full Version : Scrollable text area?


Doubs
05-19-2005, 03:19 PM
Hi guys!

Newbie alert.

I've been fiddling with website creation and photoshop for a while now, and I have a reasonable understanding of both but nothing special. I've put a quick website design together in photoshop (http://htclub.hattrick.org/The_Kennel/ebsite.gif) and am going to have a go and sticking it all together in dremweaver (previously i'd just messed about in notepad).

I would like to use a scrollable text area in the news piece, and was wondering is their any other way of doing it other than using (evil) frames?!

Also comments on the design would be nice - and before you ask the washing line is just a quick snap i took in my back garden, shall be replaced soon enough :c)


thanks!

domedia
05-19-2005, 03:36 PM
There's an article on this website describing how you can achieve scrolling areas with CSS. ('http://www.dreamweaverclub.com/css-scroller.php') It was written by ranjan and is excellent.

Doubs
05-19-2005, 04:33 PM
There's an article on this website describing how you can achieve scrolling areas with CSS. ('http://www.dreamweaverclub.com/css-scroller.php') It was written by ranjan and is excellent.
hiya, thanks for the reply. i saw that alright while i was having an ickle looks around the site, looks good!

however (correct me if i'm wrong here - i probably am!) it looks like its postioned absolutely, wheras my table would be positioned in the centre of the browser. is there any way around this....?

domedia
05-19-2005, 04:50 PM
Just remove the lines that positions it absolutely. That would the 3 first lines. :)

Doubs
05-19-2005, 04:57 PM
Just remove the lines that positions it absolutely. That would the 3 first lines. :)
but how would it know were to position itsef then?! (forgive my obvious stupidity here :) )

domedia
05-19-2005, 05:07 PM
If you don't position it absolutely, it will appear where you put it in the source. Ie if you put it in your html after your navigation, it will appear after your navigaiton. Not sure how else to put it. If you have some working code and know where you want it to output, paste it in here, or give URL

Doubs
05-19-2005, 05:16 PM
If you don't position it absolutely, it will appear where you put it in the source. Ie if you put it in your html after your navigation, it will appear after your navigaiton. Not sure how else to put it. If you have some working code and know where you want it to output, paste it in here, or give URL
ok i think i have ya. i'll just put it in the cell in my table where i want the text to scroll?


i've no working code yet, i'm just starting out in DW now, was just seeing if i could avoid frames, i'll go ahead and work away in my table and get back to ya when i get that far.

oh, did my pic of the mock-up for the design work for you above? i so, what do ya think? be as critical as ya like! :)

domedia
05-19-2005, 06:23 PM
Yes Doubs you're right :) it will display wherever you put it.
Frames... no reason to even consider it, that's my humble opinion.. there's no advantage whatsoever, it will only constrain you and make your website worse. It's an archaic technology, forget it even existed ;)

Your image above http://htclub.hattrick.org/The_Kennel/ebsite.gif ('http://htclub.hattrick.org/The_Kennel/ebsite.gif') does not exist, you might want to reupload or check the URL.

Doubs
05-19-2005, 06:46 PM
try this fella.... ('http://club.hattrick.org/The_Kennel/ebsite.gif')

keith
05-21-2005, 11:45 AM
If you go to "insert" then "layout objects" then "layer", you can put a text box wherever you want on the page. In the properties box at the bottom, go to "overflow" and click "scroll". Job done!

Doubs
05-21-2005, 06:37 PM
If you go to "insert" then "layout objects" then "layer", you can put a text box wherever you want on the page. In the properties box at the bottom, go to "overflow" and click "scroll". Job done!
sounds good, i'll give that a bash too, cheers!

haymaker
05-22-2005, 08:15 PM
if your going to use a scrollable layer you might want to have a look at a program called scrollbar skinner (google it) lets you customize scrollbars with out having to write anycode :)