Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Closed Thread
How to create a slider to show divs
Old 11-05-2010, 06:52 PM [carousel] How to create a slider to show divs
Experienced Talker

Posts: 47
Trades: 0
Hello
I want to create a slider for 5 divs i have but only show 3 unless i click an arrow to slide them over.

My Code for the area where i want the slider to be is:
HTML Code:
        <div class="pricing-table" style="border-left:1px solid #BFBFBF;">
          <div class="column features" style="width: 332px; float: left;">
            <div class="toprow"><h3>The<br>Plan<br>Features:</h3></div>
            <div><span>Storage Space</span></div>
            <div><span>Brandwith /pm</span></div>
            <div><span>SQL Databases</span></div>
            <div><span>Subdomains</span></div>
            <div><span>Parked Domains</span></div>
            <div><span>Addon Domains</span></div>
            <div><span>FTP Accounts</span></div>
            <div><span>Email Accounts</span></div>
            <div style="height: 22px;"><span>CGI Access</span></div>
            <div style="height: 22px;"><span>cPanel 11</span></div>
            <div class="botrow"><span>Order</span></div>
          </div>
          <div id="packages">
            <div class="bronze column" style="width: 209px; float: left; text-align: center;">
              <div class="toprow slideleft"><h3>Bronze</h3><br><span class="price">FREE</span></div>
              <div>158 MB</div>
              <div>2000 MB</div>
              <div>11</div>
              <div>15</div>
              <div>4</div>
              <div>4</div>
              <div>3</div>
              <div>5</div>
              <div><img alt="" src="./images/mini-icons/no.png" class="icon"></div>
              <div><img alt="" src="./images/mini-icons/yes.png" class="icon"></div>
              <div class="botrow"><a href="#" class="big-btn green aligncenter">Sign Up !</a></div>
            </div>
            <div class="silver column" style="width: 209px; float: left; text-align: center;">
              <div class="toprow"><h3>Silver</h3><br><span class="price">50p</span></div>
              <div>846 MB</div>
              <div>3690 MB</div>
              <div>570</div>
              <div>800</div>
              <div>400</div>
              <div>400</div>
              <div>370</div>
              <div>520</div>
              <div><img alt="" src="./images/mini-icons/yes.png" class="icon"></div>
              <div><img alt="" src="./images/mini-icons/yes.png" class="icon"></div>
              <div class="botrow"><a href="#" class="big-btn blue aligncenter">Order Now !</a></div>
            </div>
            <div class="Gold column" style="width: 209px; float: left; text-align: center;">
              <div class="toprow"><h3>Gold</h3><br><span class="price">99p</span></div>
              <div>2024 MB</div>
              <div>20000 MB</div>
              <div>Unlimited</div>
              <div>Unlimited</div>
              <div>Unlimited</div>
              <div>Unlimited</div>
              <div>Unlimited</div>
              <div>Unlimited</div>
              <div><img alt="" src="./images/mini-icons/yes.png" class="icon"></div>
              <div><img alt="" src="./images/mini-icons/yes.png" class="icon"></div>
              <div class="botrow"><a href="#" class="big-btn orange aligncenter">Order Now !</a></div>
            </div>
            <div class="Platinum column" style="width: 209px; float: left; text-align: center;">
              <div class="toprow"><h3>Platinum</h3><br><span class="price">&pound;2</span></div>
              <div>5054 MB</div>
              <div>Unlimited</div>
              <div>Unlimited</div>
              <div>Unlimited</div>
              <div>Unlimited</div>
              <div>Unlimited</div>
              <div>Unlimited</div>
              <div>Unlimited</div>
              <div><img alt="" src="./images/mini-icons/yes.png" class="icon"></div>
              <div><img alt="" src="./images/mini-icons/yes.png" class="icon"></div>
              <div class="botrow"><a href="#" class="big-btn red aligncenter">Order Now !</a></div>
            </div>
            <div class="Diamond column" style="width: 209px; float: left; text-align: center;">
              <div class="toprow"><h3>Diamond</h3><br><span class="price">&pound;5</span></div>
              <div>8078 MB</div>
              <div>Unlimited</div>
              <div>Unlimited</div>
              <div>Unlimited</div>
              <div>Unlimited</div>
              <div>Unlimited</div>
              <div>Unlimited</div>
              <div>Unlimited</div>
              <div><img alt="" src="./images/mini-icons/yes.png" class="icon"></div>
              <div><img alt="" src="./images/mini-icons/yes.png" class="icon"></div>
              <div class="botrow"><a href="#" class="big-btn green aligncenter">Order Now !</a></div>
            </div>
I want the slider to use the divs within the div with the id 'packages'.

Thanks if you can help me.

Last edited by NextToNothing; 11-06-2010 at 02:34 PM..
NextToNothing is offline
View Public Profile
 
 
Register now for full access!
Old 11-05-2010, 08:14 PM Re: How to create a slider to show divs
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0

Take your pick
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Old 11-06-2010, 06:30 AM Re: [carousel] How to create a slider to show divs
Experienced Talker

Posts: 47
Trades: 0
Quote:
Originally Posted by chrishirst View Post
Yeah, i wouldnt have came here unless i couldnt find it on google.

Although whilst searching google i came across some jquery called serialsrcoll but i dont know how to use it

Quote:
Originally Posted by chrishirst's sig
Chris. ->> Links are advertising NOT optimising!! <<-

Last edited by NextToNothing; 11-06-2010 at 02:34 PM..
NextToNothing is offline
View Public Profile
 
Old 11-07-2010, 08:47 AM Re: How to create a slider to show divs
Experienced Talker

Posts: 47
Trades: 0
Resolved!

Ive done it now, no thanks to webmaster-talk.
For anyone who wants to know how to do something like this search google for jcarousel.
NextToNothing is offline
View Public Profile
 
Closed Thread     « Reply to How to create a slider to show divs
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.20860 seconds with 12 queries