View Full Version : Image Viewer not working correctly
gloria_kaiser
09-16-2011, 10:37 PM
Describe problem: When I click on the thumbnail image the second (large) image will display a milli second and then return quickly back to my thumbnail. Without showing the control buttons.
see: http://gkwebdesigns.com/shylaphotography/babieschildren.html
Thank you for your help.
jscheuer1
09-17-2011, 03:15 AM
You posted in Dynamic Drive Scripts help. But the Image Viewer used on the page you linked to is not a Dynamic Drive Script.
Furthermore, it works in Firefox and Opera. Not in IE 9. But in that browser, the image never displays. It shows the loading image for a moment sometimes, then (regardless) just a blank white box.
That can be fixed by updating prototype and scriptaculous. Change this:
<script type="text/javascript" src="/backboxfiles/js/prototype.compressed.js"></script>
<script type="text/javascript" src="/backboxfiles/js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="/backboxfiles/js/lightbox.js"></script>
<script type="text/javascript" src="/backboxfiles/js/dhtmlHistory.js"></script>
<script type="text/javascript" src="/backboxfiles/js/customsignsheader.js"></script>
<script type="text/javascript" src="/backboxfiles/js/scripaculous.js"></script>
to:
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/prototype/1.7.0.0/prototype.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="/backboxfiles/js/lightbox.js"></script>
<script type="text/javascript" src="/backboxfiles/js/dhtmlHistory.js"></script>
<script type="text/javascript" src="/backboxfiles/js/customsignsheader.js"></script>
Yes, get rid of that second call to scriptaculous (scripaculous as it was typo-ed). Because of the misspelling, it's a 404 not found anyway.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.