Sorry in advance for my ignorance...
I can not figure out why the script seems to function... but i get no scrolling images.
Will you please help me!!
css and js file are in the right spots:
http://ntsos2.medensure.com/gallery2.html
Sorry in advance for my ignorance...
I can not figure out why the script seems to function... but i get no scrolling images.
Will you please help me!!
css and js file are in the right spots:
http://ntsos2.medensure.com/gallery2.html
You have a script conflict with the:
script. Either remove it or, in motiongallery.js, go the bottom and change this:HTML Code:<script type="text/javascript" src="scripts/nav_functions.js"></script>
to:Code:window.onload=fillup
In order to be kind to folks who may be surfing with very old browsers, you should also put the calls for the other two scripts before cmotion:Code:if ( typeof window.addEventListener != "undefined" ) window.addEventListener( "load", fillup, false ); else if ( typeof window.attachEvent != "undefined" ) window.attachEvent( "onload", fillup ); else { if ( window.onload != null ) { var oldOnload = window.onload; window.onload = function ( e ) { oldOnload( e ); fillup(); }; } else window.onload = fillup; }
This is not required for modern browsers.HTML Code:<script type="text/javascript" src="scripts/nav_functions.js"></script> <script src="scripts/sifr.js" type="text/javascript"></script> <script type="text/javascript" src="scripts/motiongallery.js"> /*********************************************** * CMotion Image Gallery- ? Dynamic Drive DHTML code library (www.dynamicdrive.com) * Visit http://www.dynamicDrive.com for hundreds of DHTML scripts * This notice must stay intact for legal use ***********************************************/ </script>
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Thanks so much... It worked great. Last question...
Is it possible to break the images displayed on multiple rows and scroll each row separatly.
thanks again.
http://ntsos2.medensure.com/gallery.html
never mind.... i found the ref question to the iframe fix for multiple scripts.
I'm also looking for how to add a caption to the image or maybe a brief description when it loads popup. I will see if i can find ref to this in the forum
Thank you so very much for your help.
I'm not sure if you mean a caption for the the images as they slide by, and/or for them once they are in the pop-up. Both are possible and have been covered elsewhere. Let us know if you are having trouble finding and/or using the references.Originally Posted by dydoyaga
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
hi guys, i'm facing the exact same problem..the script works (it opens the enlarged image in a popup window) but it just doesn't scroll..
i've tried following the advice jscheuer1 has given but it still doesn't work..
HELP!![]()
Attached is the code in .txt format..
Originally Posted by lilithfiend
Your case is simpler but also could be solved using the method shown in post #2 in this thread (just the part in the middle two code blocks about replacing the window.onload call in the script). Another, as I say simpler, method would be to remove:
from the script ans add it like so, to your body onload event:Code:window.onload=fillup
Either of these two methods will prevent onload conflicts between the script and the MM_preloadImages() function. There could be other problems.Code:<body onLoad="fillup();MM_preloadImages('images/link_01_.gif','images/link_02_.gif','images/link_03_.gif','images/link_04_.gif','images/link_05_.gif','images/link_R_.gif')">
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
thanks for the advice..ok this is what i did:
1) removedfrom the motiongallery.jsp fileCode:window.onload=fillup
2) addedto my html fileCode:<body onLoad="fillup();MM_preloadImages('images/link_01_.gif','images/link_02_.gif','images/link_03_.gif','images/link_04_.gif','images/link_05_.gif','images/link_R_.gif')">
is this correct?
cos i did it, but it still doesn't work..
There must be other problems, either that or you have an old version of the page cached or lying around somewhere that is getting used.Originally Posted by lilithfiend
A link to your page would be best for troubleshooting.
Last edited by jscheuer1; 04-21-2006 at 07:55 AM.
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
i've already tried deleting the temp files and refreshed many times..
here's the link to the page..appreciate your help!
Bookmarks