I can assure you that very many folks have followed that advice with no problem. But you do seem to indicate you're not working from the official version of the script. That may or may not be the explanation. And because of that I may need a link to your page to really figure this out for you. Suffice it to say though that you kind of lost me with your explanation of the problem with this solution, but I think I caught back up at the end:

Originally Posted by
syswriter
Fourth, it would be nice to have the ability to do an implicit click on load in the <body> tag to have the large image load automatically.
That implies that your thumbnails are activated by click. If so, we can do that. But we can also do it a little sooner by using jQuery's document ready approach. Here's how that would work - Put this script in the head of the page after the script tag for thumbnailviewer2.js:
Code:
<script type="text/javascript">
jQuery(document).ready(function($){
$('a[rel="enlargeimage"]').eq(0).click();
});
</script>
That's it. If you're using mouseover:
Code:
<script type="text/javascript">
jQuery(document).ready(function($){
$('a[rel="enlargeimage"]').eq(0).mouseover();
});
</script>
The browser cache may need to be cleared and/or the page refreshed to see changes.
If you're still having problems and want more help:
Please post a link to a page on your site that contains the problematic code so we can check it out.
Bookmarks