View Full Version : Need some generic dreamweaver help
tronimrich
May 14th, 2005, 07:29 PM
Hey guys, I'm new to the Coding of websites but I've dabbled in design for some time now. Anyway, I want to know of a way I could create a menu within my layout that scrolls independently from the main scroller. I think it may be iframes the way it is managed? Anyway, the type I am talking about looks like this (look on right side of the middle section "whats new", and how it scrolls independently) http://menacestudio.com/ I am hoping to do something very similiar for this, except in means to add content.
four1seven
May 14th, 2005, 07:35 PM
I replied in the other forum you posted this in, but here ya go.
An Iframe would do what you're trying to do.
<IFRAME SRC="menu.html" FRAMEBORDER="0" SCROLLING="auto" WIDTH="YOUR WIDTH" HEIGHT="YOUR HEIGHT" TITLE="TITLE">You're
Browser does not support iframes, please download IE 6.0. </IFRAME>
Is that all you're looking for?
Here is a tut - www.w3schools.com/tags/tag_iframe.asp
SlowRoasted
May 14th, 2005, 08:00 PM
i would go with a scrolling div
tronimrich
May 14th, 2005, 08:21 PM
scrolling div? Btw, I did the iframe way, it came out working, but posistioning in dreamweaver seems to be a pain.
four1seven
May 14th, 2005, 08:39 PM
Scolling DIV = CSS, it would work well also.
<div style="border : solid 1px #000000; background : #ffffff; color : #000000; padding : 5px; width : 200px; height : 100px; overflow : auto; ">
Menu1<br />
Menu2<br />
Menu3<br />
Menu4<br />
Menu5<br />
</div>
:D
tronimrich
May 15th, 2005, 02:02 AM
Hmm, I like this stile better but it doesnt get the scroll bar effect. Is there anyway this is possible? Also, can you link or add images within this css?
four1seven
May 15th, 2005, 10:58 AM
The scroll bar effect takes place when the contents of the text area is to large to fit.
Change the height on that one and you'll see.
Here is an example I made real quick with the scroller and a image link within it.
http://www.joelsmith.name/divscroller.php
P.S. Looks better in Firefox ;)
tronimrich
May 15th, 2005, 01:44 PM
Thanks a lot, very helpful.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.