HighDots Forums  

Vertical Scrolls

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Vertical Scrolls in the Macromedia Dreamweaver forum.



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

Default Vertical Scrolls - 11-19-2004 , 07:49 PM






I am creating a website done entirely in Tables (frames are driving me crazy
and layers are unpredictable)...but here is my problem:

I need to create a centralized area within the main page with locked h & w
coordinates that contain LOTS of information. Because of this I need a vertical
scroll (so the window isn't too big).

Some questions:
-Any way of adding vertical scrolls in a table?

-If not, any 3rd Party extensions to recommend to handle this?

-If I'm really screwed (ie, can't add vertical scrolls in a table
window)...should I lock a layer within a table (or any other suggestions?)

Thanks in advance.



Reply With Quote
  #2  
Old   
T.Pastrana - 4Level
 
Posts: n/a

Default Re: Vertical Scrolls - 11-19-2004 , 08:13 PM






One way is to insert a div with the overflow property set to auto. You
canplace this div inside of a table cell. Here is an example.

http://www.fourlevel.com/nimbus/textarea/scrollable3.htm


--
Regards,
...Trent Pastrana
www.fourlevel.com

-----------------------------



"theasylumcc" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I am creating a website done entirely in Tables (frames are driving me
crazy
and layers are unpredictable)...but here is my problem:

I need to create a centralized area within the main page with locked h &
w
coordinates that contain LOTS of information. Because of this I need a
vertical
scroll (so the window isn't too big).

Some questions:
-Any way of adding vertical scrolls in a table?

-If not, any 3rd Party extensions to recommend to handle this?

-If I'm really screwed (ie, can't add vertical scrolls in a table
window)...should I lock a layer within a table (or any other suggestions?)

Thanks in advance.





Reply With Quote
  #3  
Old   
theasylumcc
 
Posts: n/a

Default Re: Vertical Scrolls - 11-20-2004 , 01:05 AM



Trent, thanks for the input.

My next question is probably indicative of us new generation web guys that
don't have a lot of coding experience (and rely on Dreamweaver's great icon
interface)...so get ready to roll your eyes...

Where do I attach this div coding?

Assuming that I'm in the code view of Dreamweaver...do I add your code in the
table area that I want scrollable? Or is there something else that I'm missing?


Reply With Quote
  #4  
Old   
T.Pastrana - 4Level
 
Posts: n/a

Default Re: Vertical Scrolls - 11-20-2004 , 01:15 AM



Sure, in code view just plop the <div>s inside the table cell ( <td> ) and
add your text. The styles go inside the <head></head> tags.


<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<div id="ScrollDiv">Your text</div>
</td>
</tr>
</table>



--
Regards,
...Trent Pastrana
www.fourlevel.com

-----------------------------



"theasylumcc" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Trent, thanks for the input.

My next question is probably indicative of us new generation web guys
that
don't have a lot of coding experience (and rely on Dreamweaver's great
icon
interface)...so get ready to roll your eyes...

Where do I attach this div coding?

Assuming that I'm in the code view of Dreamweaver...do I add your code
in the
table area that I want scrollable? Or is there something else that I'm
missing?




Reply With Quote
  #5  
Old   
T.Pastrana - 4Level
 
Posts: n/a

Default Re: Vertical Scrolls - 11-20-2004 , 01:16 AM



You can add your text in Design View if you want by the way. You don't need
to do this in Code View.


--
Regards,
...Trent Pastrana
www.fourlevel.com

-----------------------------




"T.Pastrana - 4Level" <aaaa (AT) aaaa (DOT) com> wrote

Quote:
Sure, in code view just plop the <div>s inside the table cell ( <td> ) and
add your text. The styles go inside the <head></head> tags.


table width="100%" border="0" cellspacing="0" cellpadding="0"
tr
td
div id="ScrollDiv">Your text</div
/td
/tr
/table



--
Regards,
..Trent Pastrana
www.fourlevel.com

-----------------------------



"theasylumcc" <webforumsuser (AT) macromedia (DOT) com> wrote in message
news:cnmmr5$2fr$1 (AT) forums (DOT) macromedia.com...
Trent, thanks for the input.

My next question is probably indicative of us new generation web guys
that
don't have a lot of coding experience (and rely on Dreamweaver's great
icon
interface)...so get ready to roll your eyes...

Where do I attach this div coding?

Assuming that I'm in the code view of Dreamweaver...do I add your code
in the
table area that I want scrollable? Or is there something else that I'm
missing?






Reply With Quote
  #6  
Old   
theasylumcc
 
Posts: n/a

Default Re: Vertical Scrolls - 11-20-2004 , 03:17 AM



Thanks!

When I get back to work on Monday, I'll try this out.



Reply With Quote
  #7  
Old   
el_rodente
 
Posts: n/a

Default Re: Vertical Scrolls - 12-05-2004 , 05:33 AM



hi, i just tried this, and it didnt work

http://members.johnholdun.com/abstracttree/indexpage/finsite.html
there is the site, can you check the source code to see what im doing wrong?

its for a school site, and i want to post many updates without having to
delete or archive the last one, please help


Reply With Quote
  #8  
Old   
el_rodente
 
Posts: n/a

Default Re: Vertical Scrolls - 12-05-2004 , 09:11 AM



waaaait a minute, do i need bot the css AND the div? :S

Reply With Quote
  #9  
Old   
TC2112
 
Posts: n/a

Default Re: Vertical Scrolls - 12-05-2004 , 10:09 AM



Hello,

Once you put enough text in the div to 'overfill' it, you'll see the scrollbars.
Take care,
Tim

Reply With Quote
  #10  
Old   
el_rodente
 
Posts: n/a

Default Re: Vertical Scrolls - 12-05-2004 , 10:14 AM



but no i dont, ill overflow it now


all the "g"s will be the text needed to overflow, please help :S

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.