12
| <![CDATA[<script>
var path = '/';
var path_to_theme = '/sites/all/themes/tca';
var canal_atual = 'centro_tecnico';
</script>]]>
|
67
| <![CDATA[<script type="text/javascript">
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, { "basePath": "/", "dhtmlMenu": { "slide": "slide", "siblings": "siblings", "relativity": "relativity", "doubleclick": "doubleclick", "children": 0, "clone": 0 } });
//--><!]]>
</script>]]>
|
79
| <![CDATA[<script>
$(document).ready(function(){
// Variavel utilizada por datepicker.js
page = "centro_tecnico";
enterBusca($("#search"), $('#btn_search_top'));
enterBusca($("#search_bottom"), $('#btn_search_bottom'));
$( "#data" ).datepicker({
showOn: "button",
buttonImage: "/sites/all/themes/tca/images/iconCalendario.gif",
buttonImageOnly: true
});
$("#data").setMask({
mask:'39/19/9999'
});
$("#slider").easySlider({
continuous: true,
controlsShow: true,
numeric: false,
prevText: '<img src="'+path_to_theme+'/images/slider_oteatro_prev.png" />',
nextText: '<img src="'+path_to_theme+'/images/slider_oteatro_next.png" />'
});
$("#menuCanais a img").hover(
function handlerIn(){
var canal = $(this).attr("name");
if(canal != ""){
var caminho = "/sites/all/themes/tca/images/btn_"+canal.toLowerCase()+"_hover.jpg";
$(this).css("height", 35);
$(this).css("margin-top", -10);
$(this).attr("src", caminho);
}
},
function handlerOut(){
var canal = $(this).attr("name");
if(canal != ""){
var caminho = "/sites/all/themes/tca/images/bt_canal"+canal+".gif";
$(this).css("height", 25);
$(this).css("margin-top", 0);
$(this).attr("src", caminho);
}
}
);
/*
* Função para remover o parâmetro nulo da consulta de programção do teatro
*/
$('#form_programacao_geral').submit(function(){
var $input_data = $(this).find('#data');
var campo_data = $input_data.val();
var $busca_selects = $(this).find("select[name='projetos[]'], select[name='espacos[]'], select[name='espetaculos']");
if(campo_data != ''){
dia = campo_data.split('/')[0];
mes = campo_data.split('/')[1];
ano = campo_data.split('/')[2];
if(dia > 31 || mes > 12 || ano == 0000){
alert('A data informada não é valida');
return false;
}
}
if(campo_data == '' && $(this).find("select[name='projetos[]'] option:selected").val() == '' && $(this).find("select[name='espacos[]'] option:selected").val() == '' && $(this).find("select[name='espetaculos'] option:selected").val() == ''){
$busca_selects.each(function(){
$(this).removeAttr('name');
});
$input_data.removeAttr('name');
$("#data_inicio").removeAttr('name');
}else{
if(campo_data != ''){
var data = campo_data.split('/');
var data = data[2] + '-' + data[1] + '-' + data[0];
$input_data.val(data);
}
$busca_selects.each(function(){
if($(this).find('option:selected').val() == ''){
$(this).removeAttr('name');
}
});
}
$("#data_inicio").val(data);
return true;
});
fsp_showTweets(1, 'https://twitter.com/TCA_BA', '/sites/all/themes/tca/images/iconeTwitter.gif');
});
</script>]]>
|
330
| <![CDATA[<script>
haccordion.setup({
accordionid: 'hc1', //ID da div onde se encontra a lista de imagens
paneldimensions: {peekw:'75px', fullw:'550px', h:'340px'}, //Tamanho do slide
selectedli: [0, true], //[selectedli_index, persiststate_bool]
collapsecurrent: false
})
</script>]]>
|
982
| <![CDATA[<script>
//############### CAROUSEL DE MARCA ##############
$('#marcascarousel').jcarousel({
scroll: 1
});
//############# FIM DO CAROUSEL DE MARCA ##########
</script>]]>
|
990
| <![CDATA[<script>
///###### CONSTRUCAO DO CALENDARIO CULTURAL ######
var calendario = $('#date');
var server_name = "tca.ba.gov.br";
var ajax_calendario = null;
var data_atual = '2023-09-20';
var css_data_atual = 'data_atual_ct';
$('#date').DatePicker({
flat: true,
dateView: false,
date: [''],
current: '2023-09-20',
format: 'Y-m-d',
calendars: 1,
mode: 'multiple',
onRender: function(d) {
return {
disabled: true,
className: false
}
},
onChangeMonth: function(){
ajaxListaDataEvento()
},
onComplete: function(){
ajaxListaDataEvento();
}
});
//###### FIM DA CONSTRUCAO DO CALENDARIO######
//############## MARQUEE ##############
$("#marquee").marquee('pointer').mouseover(function () {
$(this).css('cursor', 'pointer', 'font', 'Arial Narrow');
$(this).trigger('stop');
}).mouseout(function () {
$(this).trigger('start');
}).mousemove(function (event) {
if ($(this).data('drag') == true) {
this.scrollLeft = $j(this).data('scrollX') + ($j(this).data('x') - event.clientX);
}
}).mousedown(function (event) {
$(this).data('drag', true).data('x', event.clientX).data('scrollX', this.scrollLeft);
}).mouseup(function () {
$(this).data('drag', false);
});
//############## FIM MARQUEE ###############
</script>]]>
|