Hi,
I haven't used this jQuery tool. But I would think that the tool would require the structure
<div id="products">
<img src="http://static.flowplayer.org/img/commerce/free.png" alt="Free version" />
<img src="http://static.flowplayer.org/img/commerce/commercial.png" alt="Commercial version" />
<img src="http://static.flowplayer.org/img/commerce/multidomain.png" alt="Multidomain version" />
</div>
The tool would look for an img within a div (again, I haven't seen the code, so this is an assumption). Lots of jQuery plugins require a certain format.
I would do this:
<div id="products">
<img src="http://static.flowplayer.org/img/commerce/free.png" alt="Free version" id="image1" />
<img src="http://static.flowplayer.org/img/commerce/commercial.png" alt="Commercial version" id="image2" />
<img src="http://static.flowplayer.org/img/commerce/multidomain.png" alt="Multidomain version" id="image3" />
</div>
Adding the ids to each tag. I've tried it and it doesn't appear to break the plugin. (Excuse the terrible naming convention :))
Then bind the click of the images to a redirect using javascript:
$("#image1").click(function() {
window.location = 'http://www.google.co.za';
});
$("#image2").click(function() {
window.location = 'http://www.google.co.za/somwhereelse';
});
$("#image3").click(function() {
window.location = 'http://www.google.co.za/helloworld';
});
Hope that helps
EDIT
To answer your question to show the content of the second image on page load, I have the following solution. This feels a bit like a workaround to me, but hopefully it works.
On your pageload what happens is that flowplayer hides all the images except the first one using inline styles.
So what we need to do is remove this style from the first image, and add it to the second image. Remember this must only happen once on page load so you will need to add it to the document.ready function.
//make the display attribute of the style none. This will render it invisible
$("#free").css('display','none');
//make the display attribute of the style block (as what Flowplayer does)
$("#commercial").css('display','block');
It's important that this only happens once, and then the FlowPlayer functionality kicks in normally on mouseovers.