HighDots Forums  

SCROLLING TEXT

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss SCROLLING TEXT in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ROBF2L
 
Posts: n/a

Default SCROLLING TEXT - 06-15-2004 , 02:48 PM






I am designing a site with allot of text. I would like my page to stay the same
height. I want to avoid scrolling the whole page. I would like to scroll just
the area with the content in it. I have the site divided up into frames. I have
assigned a frame on the bottom right of the page to be my content area. I will
be putting mostly text and some photographs in this area. I tried using layers
and selecting "scroll" in the overflow box but every time I preview the page
the text is not where I want it. It keeps jumping around. I am guessing that I
will have to use frames but I do not want to do this. Is there a better way?
Thanks in advance for the help.

Rob



Reply With Quote
  #2  
Old   
old hart
 
Posts: n/a

Default Re: SCROLLING TEXT - 06-15-2004 , 03:38 PM






Hi

Try creating a nesteld layer with the parent layer having its overflow
property set to scroll. Now you can use the 'child' layer to contain the text
and images you want to scroll. Next set a behaviour for the child layer to drag
layer you may need to play about with the action to get it to mve as you wish.
I find that using mouseover works if you click on the layer - sounds wrong but
it works!

A refinement can be to use a timeline to move the child about - again
controlled by a behaviour.




Reply With Quote
  #3  
Old   
Eddie McHam
 
Posts: n/a

Default Re: SCROLLING TEXT - 06-15-2004 , 03:47 PM



Yes, the CSS property called overflow, typically used within a DIV set.

<DIV ID="myDiv" style="overflow:auto">
scrolling content
</DIV>

Choose "auto" if you want the scrollbars to only appear when the content is
too long to fit.
Choose "scroll" if you want the scrollbars to appear regardless of the content
height and width.

Personally, I stick with Auto. I also would not recommend using more than one
scrolling DIV on the same page; otherwise the whole page looks as ugly as
frames (IMNSHO).

Hope this helps. Happy scrolling!

~e


Reply With Quote
  #4  
Old   
dougal
 
Posts: n/a

Default Re: SCROLLING TEXT - 06-15-2004 , 03:53 PM



hi Rob,
I had a similar problem a couple of years ago on a site. Heres the url for the
page with a srolling winndow
www.medfairs.com/careerfrs_emp/cfairs_emp.html
Although this window is only a few inches wide, you can make it any size you
want. Check it out to see if this is the kind of thing you want, if it is I
can dig for the way I did it. (it's been a couple of years and I have ony put
this kind of thing one one site so my memory is a bit hazy right now)

Dougal


Reply With Quote
  #5  
Old   
ROBF2L
 
Posts: n/a

Default Re: SCROLLING TEXT - 06-15-2004 , 05:00 PM



dougal

That is what I am looking for. I have done this before using llayers but for
some reason it is not working and I am getting a scroll bar on the bottom as
well. What you have on your page is what I am looking to do just a slightly
larger version. If you are able to come up with the work around that would be
great because I am new to web design and am still learning dreamweaver. Old
hart kind of lost me but I have printed out his reply and looking the topics up
in the help menue. Thanks to all of you for answering my post.

Rob


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.