Topic: Using SV-Pro with jQuery

I'm using the jQuery lib for a new site and I want to include SV-Pro slideshows. Can I add the call to SV as shown below?

$(document).ready(function(){

    $("#link1").click(function(){
        $("#page").load("test1.html #page");
        $("li").removeClass("selected");
        $("#item1").addClass("selected");
    });

    // other code here..
    
    SV.simpleviewer.load('sv-container', '505', '360', 'transparent', true, flashvars, params, attributes, false);

});

Re: Using SV-Pro with jQuery

SimpleViewer does not use the $ shortcut, but it should work as long as your are also including the <script type="text/javascript" src="svcore/js/simpleviewer.js"></script>.

Mike Richards
SimpleViewer Support Team.