CSShunt is the most frequent updated css inspiration gallery and logo inspiration gallery.which shows best css websites,logo inspirations,More of that it acts as a portal, so, besides a link to your website we post your description, keywords and title. you can submit your best website (and we encourage that), we verify it and post it in less than 24 hours. csshunt have more different section about some other inspirations as Graphic Design gallery, Designer's Inspiration work with some other cool stuff like freebies ,Web design and development related Articles,Web Design and Web Development Resources.so checkout our updated css inspiration gallery,logo inspiration gallery daily and don't forget to left your suggestions.
Java Script Scrollable Div
This is an example of the Scrollarea Control.
To create a scrollable div like this:
- Include the dependant js files.
- The code in the init function needs to be executed in the onload event of the document. Customize the slider to you needs. For more information about the slider go to the slider page.
- Create a div in a div, just like the ones with ID’s “divContainer_1″ and “divContent_1″ in this document.
These ID’s need to be used in the init() method.
The outer container div needs to be relative. Give it a width, and if possible a height also.
In this example we use a height of “100%”. That works together with the min-height and max-height. If you can, set a height in pixels directly.
The inner content div needs to be positioned absolute (in the container div). - Make a div with an ID for the slider, here it is the “sliderDiv”. This ID needs to be used in the setSliderObject() method.
- You can customize the scroll speed using setSlideSpeed() and the mouse wheel speed (IE only) using setWheelSpeed().
- The 2nd div starts at 35%, not at the beginning.
Get blazing fast Internet service from Comcast
Related Posts :
I've had a lot of emails over the last few months about my content slider class, and one of ...
Highslide JS is an image, media and gallery viewer written in JavaScript. These are some of its ...
If you aren't satisfied with prompt, confirm, alert or window.open, then you need JavaScript di ...
A set of beautiful frames 7 PNG | 2300*3500 | 53.8 Mb | rar Download Mirror
PSD – Kung fu 6 PSD | min 5031 x 3437 | rar 255 mb Download Mirror Mirror2
By Blogsdna
Posted on Sunday, December 26th, 2010 at 12:50 pm | Category: Java Script |
Make a Donation
Subscribe by email
Magazine of the week
Categories
- Adobe Photoshop Tutorials
- Ajax
- Articles
- Companies
- Corporate / Elegant
- CSS
- Designers Work
- Flash
- Fonts
- Freebies
- Freelance / Portfolios
- Galleries
- Graphic Art
- HTML
- HTML5
- Icons
- Identity
- Illustration
- Internet
- Java Script
- Jquery
- Magazines
- Marketing
- One Page Websites
- Photo Creativity
- Photoshop
- Print Design
- Stock Images
- Typography
- Vectors
- Video Tutorials
- Wordpress
- Wordpress Themes
Friends
- 92Pixels
- 99Points
- CSS Design Yorkshire
- CSSDesign Awards
- Depot Web Designer
- Design Dazzling
- Designsmag
- Fbrushes
- Freefileshunt
- Logopond
- PSD Vault
- Six Revision
- Smashing Magazine
- Smashingshare
- Smashingshowcase
- Tutorial King
- Underworldmagazines
- Web designer Depot
- Web Designer Wall
- web3mantra
- Webdesign-ne.ws
Recent Articles
-
See what People have Done in HTML5
-
Wordpress Original Content - Originizer
Using originizer wil ensure that your wordpress content is always 100% original. -
Flipping Websites -How To Flip Websites And Make Money Online
-
Start A Web Design Business - Web Design Business Startup Kit
This web design business startup kit is perfect for freelancers that are looking to start a web design business from home.