android-developers
[Arriba] [Todas las Listas]

[android-developers] jquery scrollTop() No trabajando en Motoraola Xoom

To: Android Developers <android-developers@xxxxxxxxxxxxxxxx>
Subject: [android-developers] jquery scrollTop() No trabajando en Motoraola Xoom
From: Riyas <riyas.anchal@xxxxxxxxx>
Date: Fri, 28 Oct 2011 02:08:03 -0700 (PDT)
Delivery-date: Mon, 31 Oct 2011 14:11:44 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:mime-version:date:user-agent:x-http-useragent :message-id:subject:from:to:x-original-sender:reply-to:precedence :mailing-list:list-id:x-google-group-id:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe:content-type; bh=Tyqt9Ch7d1m1/d34aAPNP0P7VPiY3f06iAM4OYm2x24=; b=5ocogFQSXT7tJ7VuPwm4ygn88TOj6I2hUYjQ7obwdTDVIX03bwgZc73mKinOE2XMQt hG48jRDvcGvRLJrJuALIemWhE1f8PmAWjTH/E1rja+TOHCdohEG0qjxeSmGED/6tk4w1 QwfnYBWi/uPxOpCxIaPrd8l/ThKwWcen3Innk=
Envelope-to: traductor@xxxxxxxxxxx
List-archive: <http://groups.google.com/group/android-developers?hl=en_US>
List-help: <http://groups.google.com/support/?hl=en_US>, <mailto:android-developers+help@googlegroups.com>
List-id: <android-developers.googlegroups.com>
List-post: <http://groups.google.com/group/android-developers/post?hl=en_US>, <mailto:android-developers@googlegroups.com>
List-subscribe: <http://groups.google.com/group/android-developers/subscribe?hl=en_US>, <mailto:android-developers+subscribe@googlegroups.com>
List-unsubscribe: <http://groups.google.com/group/android-developers/subscribe?hl=en_US>, <mailto:android-developers+unsubscribe@googlegroups.com>
Mailing-list: list android-developers@xxxxxxxxxxxxxxxx; contact android-developers+owners@xxxxxxxxxxxxxxxx
Reply-to: android-developers@xxxxxxxxxxxxxxxx
Sender: android-developers@xxxxxxxxxxxxxxxx
User-agent: G2/1.0
HI,

      tengo un sitio de web a *scroll un *div (verticalmente ) utilizando la función
*scrollTop(). No está trabajando en *Google *chrome navegador
(*default) de *Motorolla *Xoom, *Android *vertion 3.1 .Pero está trabajando en
*Firefox y todo  otro *Android dispositivos. El *html y guión que he utilizado es cuando sigue

<*html>
<texto>
<de tipo de guión="de cabeza/*javascript" *src="*jquery-1.6.4.*min.*js"></Texto>

<de tipo de guión="de guión/*javascript">
$(documento).*ready(Función()

#unknown{^*setTimeout("*heighlit()",1250);

});

función *heighlit()
#unknown{^*var *fusenTime=*Math.Aleatorio()*30;
*var *fusenTime=*Math.Piso(*fusenTime);
*var *pos_lista = *Math.Piso($('#*scrolldiv').Posición().Parte superior);
*var *ele = $('#*scrolldiv *p:*eq('+*fusenTime+')')
    *var *pos_*fusen_ahora = *Math.Piso(*ele.Posición().Parte superior) + $
('#*scrolldiv').*scrollTop();
    *var *pos_*scroll = *pos_*fusen_Ahora - *pos_lista;
    *ele.*css('Fondo', '#*CCCCCC');
   prueba
    $#default{^('#*scrolldiv').*animate(#unknown{^*scrollTop:*pos_*scroll},
'lento','',función(){
    });

    }coge(*e){
    }
    *setTimeout("*heighlit()",1250);
        }
</cuerpo>
</de cabeza>
<del guión>
<*div alzada="de estilo:100*px; *overflow-*y: *scroll; ancho:200*px;"
*id="*scrolldiv">
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
<*p>*svgasdvsdbvgavg<*p>
</*div>

</cuerpo>
</*html>

Ninguno de los mensajes de error está mostrando. Cómo puede soluciono este asunto?

*Thanks,
*Riyas

-- 
recibiste este mensaje porque eres *subscribed al *Google
Grupos "*Android *Developers" grupo.
A correo a este grupo, envía *email a *android-developers@xxxxxxxxxxxxxxxx
A *unsubscribe de este grupo, envía *email a *android-*developers+unsubscribe@xxxxxxxxxxxxxxxx

Puesto que más opciones, visita este grupo en
*http://grupos.*google.*com/Grupo/*android-*developers?*hl=*en

HI,

      I have a web site to scroll a div (vertically ) using the
function scrollTop(). It is not working in Google chrome browser
(default) of Motorolla Xoom, Android vertion 3.1 .But it is working in
Firefox and  all other Android devices. The html and script that I
have used is as follows

<html>
<head>
<script type="text/javascript" src="jquery-1.6.4.min.js"></script>

<script type="text/javascript">
$(document).ready(function(){

setTimeout("heighlit()",1250);

});

function heighlit(){
var fusenTime=Math.random()*30;
var fusenTime=Math.floor(fusenTime);
var pos_list = Math.floor($('#scrolldiv').position().top);
var ele = $('#scrolldiv p:eq('+fusenTime+')')
    var pos_fusen_now = Math.floor(ele.position().top) + $
('#scrolldiv').scrollTop();
    var pos_scroll = pos_fusen_now - pos_list;
    ele.css('background', '#CCCCCC');
   try{
    $('#scrolldiv').animate({scrollTop:pos_scroll},
'slow','',function(){
    });

    }catch(e){
    }
    setTimeout("heighlit()",1250);
        }
</script>
</head>
<body>
<div style="height:100px; overflow-y: scroll; width:200px;"
id="scrolldiv">
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
<p>svgasdvsdbvgavg<p>
</div>

</body>
</html>

None of the error messages is showing. How can I solve this issue?

Thanks,
Riyas

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
android-developers+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

<Anterior por Tema] Tema Actual [Siguiente por Tema>
  • [android-developers] jquery scrollTop() No trabajando en Motoraola Xoom, Riyas <=