$(function() { $("a[rel=lightbox]").lightbox({ fitToScreen: true, imageClickClose: false }); // $("#jobb input[type=text]").uniform(); $('#foto').cycle({ fx: 'fade', delay: 7500 }); $("#Utalvany1_1").sb({ useTie: true }); $("#Utalvany1_2").sb({ useTie: true }); $("#Utalvany1_3").sb({ useTie: true }); $("#Utalvany2_1").sb({ useTie: true }); $("#Utalvany2_2").sb({ useTie: true }); $("#Utalvany2_3").sb({ useTie: true }); $("#Utalvany3_1").sb({ useTie: true }); $("#Utalvany3_2").sb({ useTie: true }); $("#Utalvany3_3").sb({ useTie: true }); $("#fizetesi_mod").sb({ useTie: true }); // main vertical scroll $("#main").scrollable({ vertical: true, autoplay: true, keyboard: 'static', onSeek: function(event, i) { horizontal.eq(i).data("scrollable").focus(); } }); var horizontal = $(".scrollable").scrollable({ circular: true,speed:400 }).autoscroll(10000).navigator(".navi"); //horizontal.eq(0).data("scrollable").focus(); }); function video(id) { $.ajax({ type: "GET", url: "video.php", data: "id="+id, success: showResponse }); } function showResponse(v) { $('#vkiemelt').html(); $('#vkiemelt').html(v); }