10
| <![CDATA[<script type="text/javascript">
var baseUrl = '/';
</script>]]>
|
117
| <![CDATA[<script type="text/javascript">
var $noticias = [];
var idTemp, tempoTemp, corTemp;
idTemp = "1068";
tempoTemp = "5";
corTemp = "#000e54";
$noticias.push({
id: idTemp,
tempo: tempoTemp,
cor: corTemp
});
idTemp = "1066";
tempoTemp = "5";
corTemp = "#000e54";
$noticias.push({
id: idTemp,
tempo: tempoTemp,
cor: corTemp
});
idTemp = "1065";
tempoTemp = "5";
corTemp = "#00028a";
$noticias.push({
id: idTemp,
tempo: tempoTemp,
cor: corTemp
});
idTemp = "1063";
tempoTemp = "5";
corTemp = "#001163";
$noticias.push({
id: idTemp,
tempo: tempoTemp,
cor: corTemp
});
$(document).ready(function () {
PAINEL.Init($noticias, 1, $noticias.length);
});
</script>]]>
|
272
| <![CDATA[<script type="text/javascript">
$(document).ready(function(){
$("#campo").blur(function(){
if($(this).val() == ''){
$(this).val('Pesquisa');
}
})
$("#campo").keypress(function(event){
if(event.which == 13){
$("#ok").trigger("click");
}
})
$("#campo").focus(function(){
if($(this).val() == 'Pesquisa'){
$(this).val('');
}
})
$("#ok").click(function(){
var opcao = $("#opcaoBusca").val();
var texto = $("#campo").val();
$(":hidden[name=q]").val(texto);
if(opcao == "S"){
$("#buscar").attr({method:"POST",action:"pesquisa.php",target:"_blank"}).submit();
}else{
$("#buscar").attr({method:"GET",action:"http://www.google.com/search",target:"_blank"}).submit();
$(":hidden[name=q]").val('');
}
});
$( "#dialog" ).dialog({
autoOpen: false,
resizable: false,
modal: true,
width: 200,
height: 160,
buttons: {
Ok: function() {
$( this ).dialog( "close" );
}
}
});
/*$( ".item14 a,.item11 a,.item13 a" ).click(function() {
$( "#dialog" ).dialog( "open" );
return false;
});*/ //BASTA DESCOMENTAR ESTE BLOCO PARA VOLTAR A APRESENTAR A MENSAGEM
})
</script>]]>
|