Gostaria de saber como fazer para saber quando a pagina terminou de carregar por completo?
Ae vcs vaum me falar usa o : (ajax1.readyState==4) e o (ajax1.status == 200) mas ae entra a minha questao supondo que vc carregue 10 diferentes lugares quando o usuario clica em alguma coisa... como saber que os 10 lugares carregaram?
Tá eu disse 10, mas pode ser aleatório. Às vezes tem 10 às vezes 5 às 1 lugar pra carregar.
Resolvido temporariamante:
POG: coloquei uma variavel (qtdPedAjax) que soma qtdPedAjax + 1 toda a vez que a funcao ajax eh chamada e assim que é retornado ela recebe qtdPedAjax - 1 ... sendo assim quando ela for qtdPedAjax == 0 ela carregou todos os itens que precisava... alguem tem algo mais simples?
Bloquear Todo O Site Enquanto Carrega A Pagina
Started By mbombonato, 21/06/2007, 13:35
1 reply to this topic
#1
Posted 21/06/2007, 13:35
#2
Posted 26/06/2007, 09:30
Eu sei que para JQuery tem algo pronto como um PLUGIN... da uma pesquisada em http://docs.jquery.com/Plugins
Vai ser algo em torno de 4 linhas de codigo com JQuery + Plugin externos.
Abraços
Vai ser algo em torno de 4 linhas de codigo com JQuery + Plugin externos.
Abraços
Procurando freelancer
***********************************************
Bachelor of Technology in Technology of Information, with great knowledge in Windows operating systems and Unix-Like (BSD, Ubuntu and Slackware), languages (PHP, JavaScript and MySQL), semantic (DHTML, Tableless, Ajax, MVC, OO) and analysis (manages projects based on PMI).
Developer in PHP, JAVA, Python, Objective-c MySQL, DHTML, CSS, JAVASCRIPT, JQUERY, JSON, SMARTY, MDB2, DOCTRINE, CAKEPHP. Linux desktop for work and MacOS. E-commerces, CRM and bussiness strategys
Love-me and be FREE use UniCes-Like .
***********************************************
Bachelor of Technology in Technology of Information, with great knowledge in Windows operating systems and Unix-Like (BSD, Ubuntu and Slackware), languages (PHP, JavaScript and MySQL), semantic (DHTML, Tableless, Ajax, MVC, OO) and analysis (manages projects based on PMI).
Developer in PHP, JAVA, Python, Objective-c MySQL, DHTML, CSS, JAVASCRIPT, JQUERY, JSON, SMARTY, MDB2, DOCTRINE, CAKEPHP. Linux desktop for work and MacOS. E-commerces, CRM and bussiness strategys
Love-me and be FREE use UniCes-Like .
1 user(s) are reading this topic
0 membro(s), 1 visitante(s) e 0 membros anônimo(s)