Pesquisa

Pesquisa personalizada

sexta-feira, 12 de fevereiro de 2010

Funções setTimeout, setInterval

jquery  , firefox  , settime   , funcao   , window   , Internet,  explorer  , var  , javascritp  ,
Em um projeto de slideshow que tive que montar, o projeto rodou normalmente, até que o momento que fui testar no Firefox, ai descobri que a função setTimeout e setInterval, não funcionavam bem.

Primeiramente descobri que tinha que referenciar o objeto window , pois o meu codigo se encontrava assim:

Internet Explorer

* var vTimer = setTimeout("minhafuncao()",2000);


Funcionava tudo, mais descobri que no Firefox, tinha que ser:

* var vTimer = window.setTimeout("minhafuncao()",2000);

Leia Mais: http://jquerypassoapasso.blogspot.com/2007/05/dicas-javascript-funes-settimeout.html

9 comentários:

Anônimo disse...

Choreograph the animal with two backs casinos? scrutinization this innocent [url=http://www.realcazinoz.com]casino[/url] advisor and wing it retard online casino games like slots, blackjack, roulette, baccarat and more at www.realcazinoz.com .
you can also avow to our course [url=http://freecasinogames2010.webs.com]casino[/url] pass on uppermost of something at http://freecasinogames2010.webs.com and develop in somatic to memoirs a ton !
another beam [url=http://www.ttittancasino.com]casino spiele[/url] purlieus is www.ttittancasino.com , pro german gamblers, castigate free-flowing online casino bonus.

Anônimo disse...

Hi Guys,Just registered here and looking to have a great time. I am looking for the best cash gifting program out there in the internet. Can you guide me?

Below are some sites that I found and I am not sure how much they are going to help me.
[url=http://www.squidoo.com/Residual-Cash-Forever-Cash-Gifting-System]cash gifting[/url]
[url=http://www.squidoo.com/Residual-Cash-Forever-Cash-Gifting-System]join cash gifting[/url]
[url=http://www.squidoo.com/Residual-Cash-Forever-Cash-Gifting-System]best cash gifting program[/url]

Anônimo disse...

I don't know if it's just me or if perhaps everyone else experiencing problems with your website.

It seems like some of the text on your posts are running off the screen.

Can someone else please comment and let me know if this is happening to them
as well? This might be a problem with my browser because I've had this happen previously. Cheers

Feel free to visit my web site ... blogspot.com

Anônimo disse...

I was able to find good info from your blog posts.

my website: online casino bonuses and blogs 2013

Anônimo disse...

Amazing blog! Do you have any hints for aspiring writers?
I'm hoping to start my own blog soon but I'm a little lost on everything.
Would you propose starting with a free platform like
Wordpress or go for a paid option? There are so many options out
there that I'm completely overwhelmed .. Any ideas? Bless you!

Take a look at my site :: online casino bonuses types

Anônimo disse...

I've been exploring for a little bit for any high-quality articles or weblog posts on this sort of area . Exploring in Yahoo I eventually stumbled upon this web site. Studying this information So i'm
glad to show that I've a very just right uncanny feeling I found out just what I needed. I so much certainly will make certain to do not fail to remember this website and provides it a look regularly.

My homepage: casino bonuses

Anônimo disse...

I'm really enjoying the design and layout of your blog. It's a very easy on the eyes which makes it much more enjoyable for me to come here and visit more often.
Did you hire out a developer to create your theme?
Fantastic work!

My homepage: online casino bonus

Anônimo disse...

It's actually a cool and helpful piece of info. I'm glad that you just shared this useful information with
us. Please stay us informed like this. Thank you for sharing.


My blog post ... online casinos

Anônimo disse...

I know this if off topic but I'm looking into starting my own weblog and was wondering what all is needed to get setup? I'm
assuming having a blog like yours would cost a pretty penny?

I'm not very internet smart so I'm not 100% sure.
Any suggestions or advice would be greatly appreciated.
Kudos

My blog best casino online uk ()