brotha bran Posted August 31, 2006 Share Posted August 31, 2006 looking for a tip on how this guys custom scroll bar was made? i looked at the source code and i'm assuming it has to do with the SPAN tag somehow, anyone know an easy way to do this for a slightly amateur coder? maybe point to a tute or something? Link to comment Share on other sites More sharing options...
holmedwa04 Posted August 31, 2006 Share Posted August 31, 2006 looking for a tip on how this guys custom scroll bar was made? i looked at the source code and i'm assuming it has to do with the SPAN tag somehow, anyone know an easy way to do this for a slightly amateur coder? maybe point to a tute or something?You could use this, but this doesn't allow you to use pictures, it just allows you to change the colours. And also it only works in IE apperently?body { scrollbar-3dlight-color:#000000; scrollbar-arrow-color:#FFFFFF; scrollbar-base-color:#000033; scrollbar-darkshadow-color:#000000; scrollbar-face-color:#000066;scrollbar-track-color:#000099; scrollbar-shadow-color:#000033; } Link to comment Share on other sites More sharing options...
skym Posted August 31, 2006 Share Posted August 31, 2006 The spans are to place the graphics and as placeholder for the scrolled text.The scrolling code is in the angryblue_scroll.js file. Link to comment Share on other sites More sharing options...
aspnetguy Posted August 31, 2006 Share Posted August 31, 2006 technically span is not made to enclose blocks of content but to only 'span' one line. <div> is used for blocks.That is why span is an inline element and div is a block element. Link to comment Share on other sites More sharing options...
justsomeguy Posted August 31, 2006 Share Posted August 31, 2006 That's a cool site, but sadly, the scrolling doesn't work in Opera. I'm not sure why, there's no error, it might just be browser detection gone awry. Link to comment Share on other sites More sharing options...
brotha bran Posted September 1, 2006 Author Share Posted September 1, 2006 that's odd that it doesn't work in opera. too bad also. i was directed on another forum to this site which is very similar but the coding looks a lot less difficult. i've been told i'll need to scratch the iframes i am using currently, and use divs for this to work. but i thought div's weren't used for src . could someone point me in the right direction as to what i'll need to do to make this work on my website and have it being used horizontally in each of the three galleries? Link to comment Share on other sites More sharing options...
Jack McKalling Posted September 1, 2006 Share Posted September 1, 2006 That site uses DHTML. You couuld read the tutorial at this site, and look for things like "drag / drop" and "scroll".Or go here:http://www.dynamicdrive.com/dynamicindex11/domdrag/(bottom example) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now