PDA

View Full Version : mouseover ultimate slideshow v2.0



perthroad
09-22-2009, 11:21 PM
1) Script Title: Ultimate Fade In Slideshow v2.0

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

3) Describe problem: Is there a way to disable pause when mouseover occurs? Also is there an instruction to make the pictures appear centered on the page? My usual methods don't seem to work.

ddadmin
09-23-2009, 05:02 AM
For the first question, inside the .js file, try commenting out the below line:


//setting.$wrapperdiv.bind('mouseenter', function(){setting.ismouseover=true}) //pause slideshow mouseover

For the second, do you mean how to center the entire slideshow horizontally on the page?

traq
09-23-2009, 05:24 AM
... is there an instruction to make the pictures appear centered on the page? My usual methods don't seem to work.

What are your "usual methods"? Have you tried setting margin: 0 auto; text-align: center; to the containing <div>?

perthroad
09-23-2009, 06:37 PM
Thanks but when I try to open the fadeslideshow.js file, I get an error message and can't open it. Then error is in line 15. Char:1. Error: 'jQuery' is undefined. Code: 800A1391.

Since posting I have found a way around centering the slideshow thanks.

One other question. If I limit the cycles of the slideshow, must it stop on the first picture in the array, or can it be made to stop on the last?

Thanks again for a great program.

traq
09-24-2009, 04:41 AM
what are you using to try to open the .js file? a plain text editor works best (i.e., Notepad).

If you're getting an error about jQuery being undefined, you need to make sure your <script> call to the jQuery library is correct. It should be:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>

perthroad
09-24-2009, 05:04 PM
Thanks very much. It now does exactly what I wanted.
Perthroad