Response title
This is preview!




<div class='s-12 class832x641><div class='s-12 class350x702'>
- (function($) {
- $(window).load(function () {
- // retrieved this line of code from http://dimsemenov.com/plugins/magnific-popup/documentation.html#api
- $.magnificPopup.open({
- items: {
- src: 'images/header.jpg'
- },
- type: 'image'
- // You may add options here, they're exactly the same as for $.fn.magnificPopup call
- // Note that some settings that rely on click event (like disableOn or midClick) will not work here
- }, 0);
- });
- })(jQuery);
which is working fineI tried
- (function($) {
- $(window).load(function () {
- // retrieved this line of code from http://dimsemenov.com/plugins/magnific-popup/documentation.html#api
- //$.magnificPopup.open({
- $('.simple-ajax-popup').magnificPopup({
- type: 'ajax'
- });
- // You may add options here, they're exactly the same as for $.fn.magnificPopup call
- // Note that some settings that rely on click event (like disableOn or midClick) will not work here
- }, 0);
- });
- })(jQuery);
But could not succeedpls hlp-----------------------------------------------------------------------------------------------------------------------------------------for your informationabcd.php is given below
- <table width="100%" border="0" cellspacing="0" cellpadding="0" style="background-color:#fff" align="center">
- <tr>
- <td style="height:auto;"> <?php
- echo 'Call a abcd.php on page load';
- ?></td>
- </tr>
- </table>
- function samplevideodivblank() {
- $('#samplevideo').html('');
- }
- $('#foo').click(function(){
- $('#samplevideodiv').slideUp(1000);
- $('#foo').hide();
- });
- $('.samplevideolist').click(function(){
- $('#samplevideodiv').slideDown(1000);
- // $('#foo').show();
- var id=this.id; //alert(id);
- var arr=id.split('samplevideos');
- var videoid=arr[1];
- $('#videoid').val(videoid);
- $.getJSON("sampleyoutubevideojsonfill.php", {id: $('#videoid').val()}, function(data){
- $('#samplevideonamediv').text(data['name']);
- $('#samplevideo').html(data['code']);
- }).done(setTimeout(autoPlayVideo(), 50000)); // code changed
- });
- }).fail(function(){
- alert("OUCH!")
- });
- })(jQuery);
But the code doesnot worksPlease help
| 数名字 | 参数默认值 | 参数描述 |
| continuous | true | 是否连续 |
| placeholder | 0 | 非连续滚动时每次的滑动距离,可以自定义,如果没有自定义则根据子元素和滚动数量来决定 |
| dir | 'left' | 滚动方面,可以为left和top |
| container | 'ul' | 外层元素 |
| innner | 'li' | 子元素 |
| speed | 1000 | 非连续滚动速度 |
| delayTime | 0 | 滚动间隔,非连续滚动为2000ms,连续滚动为20ms,可以自定义 |
| num | 1 | 非连续一次滚动的数量 |
© 2013 jQuery Foundation
Sponsored by
and others.
