vautinsh Posted April 28, 2010 Report Share Posted April 28, 2010 $(document).ready(function() { $("a[href$=.jpg],a[href$=.png],a[href$=.gif]").fancybox({ 'transitionIn' : 'elastic', 'transitionOut' : 'elastic' }); $("a[href$=.mp3]").fancybox({ 'width' : 360, 'height' : 22, 'type' : 'swf', 'padding' : 0, 'href' : 'player.swf?file=test.mp3&autostart=true', 'transitionIn' : 'elastic', 'titleShow' : 'true', 'titlePosition' : 'outside', 'title' : 'Downloads', 'transitionOut' : 'elastic' }); }); Hi! Vaig palīdzību, cenšos uztaisīt lai lapā nospiežot uz jebkura linka kurš ved uz .mp3 failu, atver to ar jwplayer iekš Fancybox! Ar bildēm sanāca lai atver! Koda pie 'href' kur ir 'player.swf?file=test.mp3' vaidzētu uztaisīt lai tas test.mp3 ir tas nospiestais fails! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.