{"action":"created","issue":{"url":"https://api.github.com/repos/nolimits4web/Swiper/issues/1773","repository_url":"https://api.github.com/repos/nolimits4web/Swiper","labels_url":"https://api.github.com/repos/nolimits4web/Swiper/issues/1773/labels{/name}","comments_url":"https://api.github.com/repos/nolimits4web/Swiper/issues/1773/comments","events_url":"https://api.github.com/repos/nolimits4web/Swiper/issues/1773/events","html_url":"https://github.com/nolimits4web/Swiper/issues/1773","id":164206210,"number":1773,"title":"Swiper Callback ","user":{"login":"anetk","id":11873129,"avatar_url":"https://avatars.githubusercontent.com/u/11873129?v=3","gravatar_id":"","url":"https://api.github.com/users/anetk","html_url":"https://github.com/anetk","followers_url":"https://api.github.com/users/anetk/followers","following_url":"https://api.github.com/users/anetk/following{/other_user}","gists_url":"https://api.github.com/users/anetk/gists{/gist_id}","starred_url":"https://api.github.com/users/anetk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anetk/subscriptions","organizations_url":"https://api.github.com/users/anetk/orgs","repos_url":"https://api.github.com/users/anetk/repos","events_url":"https://api.github.com/users/anetk/events{/privacy}","received_events_url":"https://api.github.com/users/anetk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-07T00:45:28Z","updated_at":"2016-07-07T00:55:02Z","closed_at":null,"body":"Hello, so I'm trying to on each active slide make my paragraph above visiable. But each paragraph and each slide should be unique. \r\nso this is what my js looks like and I need help! This breaks whole slider. \r\n    var swiper = new Swiper('.swiper-container', {\r\n        pagination: '.swiper-pagination',\r\n        effect: 'coverflow',\r\n        autoplay: 2500,\r\n        grabCursor: false,\r\n        centeredSlides: true,\r\n        slidesPerView: 'auto',\r\n        loop: true,\r\n        coverflow: {\r\n            rotate: 0,\r\n            stretch: 0,\r\n            depth: 0,\r\n            modifier: 1,\r\n            slideShadows : true\r\n        },\r\n        onSlideChangeStart : function(swiperHere){\r\n\t        titleSwap();\r\n\t        var swiperSlide = swiper.activeSlide()\r\n\t        console.log(swiperSlide);\r\n        }\r\n    });\r\n    \r\n    function titleSwap(){\r\n\t   if($(\".swiper-slide.first\").hasClass(\"swiper-slide-active\")) {\r\n\t\t   alert('Show');\r\n\t   }else{\r\n\t\t    alert('Hide');\r\n\t   }\r\n    };"},"comment":{"url":"https://api.github.com/repos/nolimits4web/Swiper/issues/comments/230950419","html_url":"https://github.com/nolimits4web/Swiper/issues/1773#issuecomment-230950419","issue_url":"https://api.github.com/repos/nolimits4web/Swiper/issues/1773","id":230950419,"user":{"login":"anetk","id":11873129,"avatar_url":"https://avatars.githubusercontent.com/u/11873129?v=3","gravatar_id":"","url":"https://api.github.com/users/anetk","html_url":"https://github.com/anetk","followers_url":"https://api.github.com/users/anetk/followers","following_url":"https://api.github.com/users/anetk/following{/other_user}","gists_url":"https://api.github.com/users/anetk/gists{/gist_id}","starred_url":"https://api.github.com/users/anetk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anetk/subscriptions","organizations_url":"https://api.github.com/users/anetk/orgs","repos_url":"https://api.github.com/users/anetk/repos","events_url":"https://api.github.com/users/anetk/events{/privacy}","received_events_url":"https://api.github.com/users/anetk/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T00:55:01Z","updated_at":"2016-07-07T00:55:01Z","body":"I also tried this:\r\n        onSlideNextStart : function(swiper) {\r\n\t\tvar nodes = document.getElementById(\"para\");\r\n\t\tfor (var i = 0; i<nodes.length; i++){\r\n\t\t\tvar $node = $(nodes[i]);\r\n\t\t}"}}
{"actor":{"display_login":"anetk"}}