JavaScript

Moderators: None (Apply to moderate this forum)
Number of threads: 2061
Number of posts: 5164

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Javascript content slider help needed Posted by wuweitim on 5 Apr 2011 at 8:16 AM
Having trouble getting this scrollbar to work. Any help would be greatly appreciated. Thanks

<div class="events">
<!-- EVENT CONTENT -->
<div class="contentdiv">
<div id="slider1" class="contentslide">
<h3>37th Annual Washington, DC Chapter of the ROCKS, Inc. Spring Gala and Awards Ceremony</h3>
Saturday, April 16, 2011<br/>
6:00pm – 11:00pm<br/>
Fort Belvoir’s Office Club<br/>
www.therocksdc.org<br/>
<h3>37th Annual Washington, DC Chapter of the ROCKS, Inc. Spring Gala and Awards Ceremony</h3>
Saturday, April 16, 2011<br/>
6:00pm – 11:00pm<br/>
Fort Belvoir’s Office Club<br/>
www.therocksdc.org<br/>
</div>
<!-- TO ADD ADDITIONAL/REMOVE EVENTS... -->
<!-- Use the template below beginning at EVENT CONTENT. Copy and paste the code above these instructions and under the event above. Remove the comment marks around <div class="contentdiv">...</div>. Do NOT change the div class name. To remove an event, highlight and delete the code beginning with <div class="contentdiv">...</div>.-->
<!-- EVENT CONTENT -->
<div class="contentdiv">
<h3></h3>
<p> </p>
</div>
</div>
<b>
<div class="pagination" id="paginate-slider1"></div>
<script type="text/javascript">
// ContentSlider("slider_ID" , opt_miliseconds_rotate)

// MANUAL VERSION
// ContentSlider("slider1")

// AUTOMATIC VERSION
ContentSlider("slider1", 5000)
</script>
<div class="clear"></div>
</b></div>
Report
Re: Javascript content slider help needed Posted by miketaylor on 16 Nov 2011 at 12:23 PM
There are two javascript variables which you can use to control the slide speed.
there is...
var dhtmlgoodies_slideSpeed = 10; // Higher value = faster
var dhtmlgoodies_timer = 10; // Lower value = faster
and
<script type="text/javascript">
showHideContent(false,1); // Automatically expand first item
</script>
try it and i hope you get a positive result
Report
Re: Javascript content slider help needed Posted by miketaylor on 16 Nov 2011 at 12:24 PM
There are two javascript variables which you can use to control the slide speed.
there is...
var dhtmlgoodies_slideSpeed = 10; // Higher value = faster
var dhtmlgoodies_timer = 10; // Lower value = faster
and
<script type="text/javascript">
showHideContent(false,1); // Automatically expand first item
</script>
try it and i hope you get a positive result
Report
This post has been deleted. Posted by miketaylor on 16 Nov 2011 at 12:26 PM
This post has been deleted.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.