20 de setembro de 2014

|

por: mokayama

|

Categorias: aulas, dica de estudo

Video dica aula- Atonalismo!!! insanidade simétrica!

"; jQuery("#the_movies").html(aux_html).fitVids(); jQuery("#the_movies").css({"position":"relative","float":"left","width":"100%"}).siblings(".the_content").css({"display":"inline-block","width":"100%"}); if (jQuery("#the_movies").siblings(".v_links").length > 1){ jQuery("#the_movies").siblings(".movies-nav").remove(); var aux_html = "

"; jQuery("#the_movies").append(aux_html); jQuery("#the_movies .flex-direction-nav").css({ "position": "absolute", "width":"100%", "top":"50%", }).find("li").css({"margin":0,"padding":0}).find("a").css({"display":"inline-block", "position":"relative", "opacity":1}); jQuery("#the_movies .flex-direction-nav li").eq(0).css("float","left"); jQuery("#the_movies .flex-direction-nav li").eq(1).css("float","right"); jQuery("#the_movies").siblings(".current_movie").remove(); jQuery("#the_movies").after(""); jQuery(".movies-nav").find(".prev").on("click",function(e){ e.preventDefault(); var index = parseInt(jQuery(".current_movie").html()); var nextIndex = 0; if (index == 0) nextIndex = jQuery("#the_movies").siblings(".v_links").length - 1; else nextIndex = index-1; jQuery("#the_movies iframe").attr("src", jQuery("#the_movies").siblings(".v_links").eq(nextIndex).html() ); jQuery("#the_movies").siblings(".current_movie").html(nextIndex); }); jQuery(".movies-nav").find(".next").on("click",function(e){ e.preventDefault(); var index = parseInt(jQuery(".current_movie").html()); var nextIndex = 0; if (index == jQuery("#the_movies").siblings(".v_links").length - 1) nextIndex = 0; else nextIndex = index+1; jQuery("#the_movies iframe").attr("src", jQuery("#the_movies").siblings(".v_links").eq(nextIndex).html() ); jQuery("#the_movies").siblings(".current_movie").html(nextIndex); }); } }); jQuery(document).ready(function(){ "use strict"; jQuery(".social-shares a[target='_blank']").on("click", function(){ newwindow=window.open(jQuery(this).attr("href"),"","height=450,width=700"); if (window.focus) {newwindow.focus()} return false; }); }); /* ]]> */