15
| <![CDATA[<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-49356531-28', 'auto');
ga('send', 'pageview');
</script>]]>
|
57
| <![CDATA[<script type="application/json" class="joomla-script-options new">{"csrf.token":"b1a91d8f05cb3afce257dd6baa2f0ef2","system.paths":{"root":"","base":""}}</script>]]>
|
73
| <![CDATA[<script>
jQuery(function($) {
SqueezeBox.initialize({});
initSqueezeBox();
$(document).on('subform-row-add', initSqueezeBox);
function initSqueezeBox(event, container)
{
SqueezeBox.assign($(container || document).find('a.modal').get(), {
parse: 'rel'
});
}
});
window.jModalClose = function () {
SqueezeBox.close();
};
// Add extra modal close functionality for tinyMCE-based editors
document.onreadystatechange = function () {
if (document.readyState == 'interactive' && typeof tinyMCE != 'undefined' && tinyMCE)
{
if (typeof window.jModalClose_no_tinyMCE === 'undefined')
{
window.jModalClose_no_tinyMCE = typeof(jModalClose) == 'function' ? jModalClose : false;
jModalClose = function () {
if (window.jModalClose_no_tinyMCE) window.jModalClose_no_tinyMCE.apply(this, arguments);
tinyMCE.activeEditor.windowManager.close();
};
}
if (typeof window.SqueezeBoxClose_no_tinyMCE === 'undefined')
{
if (typeof(SqueezeBox) == 'undefined') SqueezeBox = {};
window.SqueezeBoxClose_no_tinyMCE = typeof(SqueezeBox.close) == 'function' ? SqueezeBox.close : false;
SqueezeBox.close = function () {
if (window.SqueezeBoxClose_no_tinyMCE) window.SqueezeBoxClose_no_tinyMCE.apply(this, arguments);
tinyMCE.activeEditor.windowManager.close();
};
}
}
};
jQuery(window).on('load', function() {
new JCaption('img.caption');
});
JCEMediaBox.init({popup:{width:"",height:"",legacy:0,lightbox:0,shadowbox:0,resize:1,icons:1,overlay:1,overlayopacity:0.8,overlaycolor:"#000000",fadespeed:500,scalespeed:500,hideobjects:0,scrolling:"fixed",close:2,labels:{'close':'Fechar','next':'Próximo','previous':'Anterior','cancel':'Cancelar','numbers':'{$current} de {$total}'},cookie_expiry:"",google_viewer:0},tooltip:{className:"tooltip",opacity:0.8,speed:150,position:"br",offsets:{x: 16, y: 16}},base:"/",imgpath:"plugins/system/jcemediabox/img",theme:"standard",themecustom:"",themepath:"plugins/system/jcemediabox/themes",mediafallback:0,mediaselector:"audio,video"});
</script>]]>
|
394
| <![CDATA[<script type="text/javascript">
//remove links e efeito hover dos atributos com a classe "disabled"
jQuery(document).ready(function () {
jQuery( "a.disabled" ).each(function( index ) {
var textLink;
textLink = jQuery(this).text();
jQuery(this).removeAttr('href');
jQuery(this).attr("style", "color:#fff");
jQuery(this).hover(
function() {
jQuery( this ).text('Em Breve');
jQuery(this).attr("style", "color:#295594");
}, function() {
jQuery( this ).text(textLink);
jQuery(this).attr("style", "color:#fff");
}
);
});
var windowWidth = window.innerWidth;
if(windowWidth < 790) {
jQuery( "#saiba-mais #navScroll .menu_close" ).remove();
jQuery( "#eixos-programa .menu_eixos" ).remove();
jQuery( "#navScroll.menu_tempo_aprender" ).remove();
}
});
</script>]]>
|
607
| <![CDATA[<script type="text/javascript">
// Script criado para sobrescrever os link de menu ancora das paginas internas dos templates onpage,
// afim de que se comportem como os itens de menu ancora da home.
if('http://alfabetizacao.mec.gov.br/' != jQuery('base').attr('href')){
jQuery('.menu a').each(function(){
url = jQuery(this).attr('href');
if(url.indexOf("#")!=-1){
jQuery(this).attr('href','http://alfabetizacao.mec.gov.br/'+url.slice(url.indexOf("#"), jQuery(this).attr('href').length));
}
});
jQuery('.logo a').each(function(){
url = jQuery(this).attr('href');
if(url.indexOf("#")!=-1){
jQuery(this).attr('href','http://alfabetizacao.mec.gov.br/'+url.slice(url.indexOf("#"), jQuery(this).attr('href').length));
}
});
}
</script>]]>
|
626
| <![CDATA[<script>
var i = 0;
jQuery( document ).ready(function() {
// Attach click listener to relevant buttons.
jQuery('.ga-elm').click(function() {
// Since we have multiple CTA buttons, it is sensible to use
// button text to categorize the events.
if(jQuery(this).is("a")){
var text = jQuery(this).attr('title');
}else if(jQuery(this).is("select") && i == 0){
//console.log
var text = jQuery(this).attr('name');
i++;
}else if(jQuery(this).is("span")){
var text = jQuery(this).attr('name');
}
//var text = jQuery(this).is("a");
if(text){
console.log(text);
// This function reports an event to Google Analytics servers.
ga('send', 'event', 'CTA click', 'click', text);
}
});
});
</script>]]>
|