<?php
</script>
<script type="text/javascript">
// when the DOM is ready...
$(document).ready(function () {
// load the ticker
createTicker();
});
function createTicker(){
// put all list elements within #ticker-area into array
var tickerLIs = $("#ticker-area ul").children();
tickerItems = new Array();
tickerLIs.each(function(el) {
tickerItems.push( jQuery(this).html() );
});
i = 0
rotateTicker();
}
function rotateTicker(){
if( i == tickerItems.length ){
i = 0;
}
tickerText = tickerItems[i];
c = 0;
typetext();
setTimeout( "rotateTicker()", 5000 );
i++;
}
var isInTag = false;
function typetext() {
var thisChar = tickerText.substr(c, 1);
if( thisChar == '<' ){ isInTag = true; }
if( thisChar == '>' ){ isInTag = false; }
$('#ticker-area').html(" " + tickerText.substr(0, c++));
if(c < tickerText.length+1)
if( isInTag ){
typetext();
}else{
setTimeout("typetext()", 28);
}
else {
c = 1;
tickerText = "";
}
}
</script>
<?php
<script src="prototype.js"></script>
<script src="jquery.js"></script>
<script>
jQuery.noConflict();
(function($) {
// pones el code aquí, podes utilizar $
})(jQuery);
</script>
<?php
</script>
var q = jQuery.noConflict();
<script type="text/javascript">
// when the DOM is ready...
q(document).ready(function () {
// load the ticker
createTicker();
});
function createTicker(){
// put all list elements within #ticker-area into array
var tickerLIs = q("#ticker-area ul").children();
tickerItems = new Array();
tickerLIs.each(function(el) {
tickerItems.push( jQuery(this).html() );
});
i = 0
rotateTicker();
}
function rotateTicker(){
if( i == tickerItems.length ){
i = 0;
}
tickerText = tickerItems[i];
c = 0;
typetext();
setTimeout( "rotateTicker()", 5000 );
i++;
}
var isInTag = false;
function typetext() {
var thisChar = tickerText.substr(c, 1);
if( thisChar == '<' ){ isInTag = true; }
if( thisChar == '>' ){ isInTag = false; }
q('#ticker-area').html(" " + tickerText.substr(0, c++));
if(c < tickerText.length+1)
if( isInTag ){
typetext();
}else{
setTimeout("typetext()", 28);
}
else {
c = 1;
tickerText = "";
}
}
</script>
<?php
<script>var q = jQuery.noConflict();</script>
<script type="text/javascript">
// when the DOM is ready...
q(document).ready(function () {
// load the ticker
createTicker();
});
function createTicker(){
// put all list elements within #ticker-area into array
var tickerLIs = q("#ticker-area ul").children();
tickerItems = new Array();
tickerLIs.each(function(el) {
tickerItems.push( jQuery(this).html() );
});
i = 0
rotateTicker();
}
function rotateTicker(){
if( i == tickerItems.length ){
i = 0;
}
tickerText = tickerItems[i];
c = 0;
typetext();
setTimeout( "rotateTicker()", 5000 );
i++;
}
var isInTag = false;
function typetext() {
var thisChar = tickerText.substr(c, 1);
if( thisChar == '<' ){ isInTag = true; }
if( thisChar == '>' ){ isInTag = false; }
q('#ticker-area').html(" " + tickerText.substr(0, c++));
if(c < tickerText.length+1)
if( isInTag ){
typetext();
}else{
setTimeout("typetext()", 28);
}
else {
c = 1;
tickerText = "";
}
}
</script>
<?php
</script>
<script type="text/javascript">
var q = jQuery.noConflict();
// when the DOM is ready...
q(document).ready(function () {
// load the ticker
createTicker();
});
function createTicker(){
// put all list elements within #ticker-area into array
var tickerLIs = q("#ticker-area ul").children();
tickerItems = new Array();
tickerLIs.each(function(el) {
tickerItems.push( jQuery(this).html() );
});
i = 0
rotateTicker();
}
function rotateTicker(){
if( i == tickerItems.length ){
i = 0;
}
tickerText = tickerItems[i];
c = 0;
typetext();
setTimeout( "rotateTicker()", 5000 );
i++;
}
var isInTag = false;
function typetext() {
var thisChar = tickerText.substr(c, 1);
if( thisChar == '<' ){ isInTag = true; }
if( thisChar == '>' ){ isInTag = false; }
q('#ticker-area').html(" " + tickerText.substr(0, c++));
if(c < tickerText.length+1)
if( isInTag ){
typetext();
}else{
setTimeout("typetext()", 28);
}
else {
c = 1;
tickerText = "";
}
}
</script>
<?php
var q = jQuery.noConflict();
<?php
<script>
var $j = jQuery.noConflict();
// Uso jQuery como $j(...)
$j(document).ready(function(){
$j("div").hide();
});
// Uso Prototype como $(...), etc.
$('someid').hide();
</script>
<script type="text/javascript">
// load the ticker
createTicker();
});
function createTicker(){
// put all list elements within #ticker-area into array
var tickerLIs = $j("#ticker-area ul").children();
tickerItems = new Array();
tickerLIs.each(function(el) {
tickerItems.push( jQuery(this).html() );
});
i = 0
rotateTicker();
}
function rotateTicker(){
if( i == tickerItems.length ){
i = 0;
}
tickerText = tickerItems[i];
c = 0;
typetext();
setTimeout( "rotateTicker()", 5000 );
i++;
}
var isInTag = false;
function typetext() {
var thisChar = tickerText.substr(c, 1);
if( thisChar == '<' ){ isInTag = true; }
if( thisChar == '>' ){ isInTag = false; }
$j('#ticker-area').html(" " + tickerText.substr(0, c++));
if(c < tickerText.length+1)
if( isInTag ){
typetext();
}else{
setTimeout("typetext()", 28);
}
else {
c = 1;
tickerText = "";
}
}
</script>
<?php
<script>
var $j = jQuery.noConflict();
// Uso jQuery como $j(...)
$j(document).ready(function(){
$j("div").hide();
});
// Uso Prototype como $(...), etc.
$('someid').hide();
</script>
<?php
<head>
<script src="prototype.js"></script>
<script src="jquery.js"></script>
<script>
var $j = jQuery.noConflict();
// Uso jQuery como $j(...)
$j(document).ready(function(){
$j("div").hide();
});
// Uso Prototype como $(...), etc.
$('someid').hide();
</script>
</head>
<?php
<script type="text/javascript">
// load the ticker
createTicker();
});
function createTicker(){
// put all list elements within #ticker-area into array
var tickerLIs = $j("#ticker-area ul").children();
tickerItems = new Array();
tickerLIs.each(function(el) {
tickerItems.push( jQuery(this).html() );
});
i = 0
rotateTicker();
}
function rotateTicker(){
if( i == tickerItems.length ){
i = 0;
}
tickerText = tickerItems[i];
c = 0;
typetext();
setTimeout( "rotateTicker()", 5000 );
i++;
}
var isInTag = false;
function typetext() {
var thisChar = tickerText.substr(c, 1);
if( thisChar == '<' ){ isInTag = true; }
if( thisChar == '>' ){ isInTag = false; }
$j('#ticker-area').html(" " + tickerText.substr(0, c++));
if(c < tickerText.length+1)
if( isInTag ){
typetext();
}else{
setTimeout("typetext()", 28);
}
else {
c = 1;
tickerText = "";
}
}
</script>
<?php
<script type="text/javascript" src="js3/jquery.min.js"></script>
<script type="text/javascript" src="js3/jquery-ui.min.js" ></script>
<script>
var $j = jQuery.noConflict();
// Uso jQuery como $j(...)
$j(document).ready(function(){
$j("div").hide();
});
// Uso Prototype como $(...), etc.
$('someid').hide();
</script>
<script type="text/javascript">
// load the ticker
createTicker();
});
function createTicker(){
// put all list elements within #ticker-area into array
var tickerLIs = $j("#ticker-area ul").children();
tickerItems = new Array();
tickerLIs.each(function(el) {
tickerItems.push( jQuery(this).html() );
});
i = 0
rotateTicker();
}
function rotateTicker(){
if( i == tickerItems.length ){
i = 0;
}
tickerText = tickerItems[i];
c = 0;
typetext();
setTimeout( "rotateTicker()", 5000 );
i++;
}
var isInTag = false;
function typetext() {
var thisChar = tickerText.substr(c, 1);
if( thisChar == '<' ){ isInTag = true; }
if( thisChar == '>' ){ isInTag = false; }
$j('#ticker-area').html(" " + tickerText.substr(0, c++));
if(c < tickerText.length+1)
if( isInTag ){
typetext();
}else{
setTimeout("typetext()", 28);
}
else {
c = 1;
tickerText = "";
}
}
</script>