topical media & game development
lib-jquery-plugin-charts-include-js-frame-1.0.js / js
YCodaSlider.Base.css('../../include/css/id.css');
YCodaSlider.Base.css('../../include/js/lib/ycodaslider-2.0.rc2/skins/base/style.css');
YCodaSlider.Base.css('../../include/js/lib/ycodaslider-2.0.rc2/skins/base/desktop/desktop.css');
YCodaSlider.Base.css('../../include/js/lib/ycodaslider-2.0.rc2/skins/base/greybox/greybox.css');
jQuery(document).ready(function() {
var wh = window.innerHeight || jQuery(window).height();
var ww = window.innerWidth || jQuery(window).width();
ww1 = ww - 25;ww2 = ww - 100;wh = wh - 45;
jQuery.ajaxHistory.initialize();
jQuery("#yslider-desktop").ycodaframe({height : ww2 , width : ww},
function(){
YCodaSlider.Lazy.init("div#yslider-desktop",{
type : "iframe",
threshold : 0,
placeholder : "../../skins/base/images/grey.gif",
effect : "fadeIn",
effectspeed : "slow"
});
jQuery("#yslider-desktop")
.ycodaslider({id: "yslider-desktop", height:wh, width : ww, scroll: false, history: true});
}
);
jQuery("#yslider-desktop").width("auto");
//jQuery("body").css("margin",0);
jQuery("#yslider-desktop .yslider-viewer").width(ww1);
});
jQuery(window).bind("load", function() {
jQuery("div.seldesktop").each(function(nr){
jQuery(this).click(function(){
jQuery("#multidesktop div").removeClass("seldesktop-on");
jQuery(this).addClass("seldesktop-on");
jQuery("#yslider-desktop .yslider-nav li a").eq(nr).trigger("click");
});
});
});
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.