Quero este efeito de carregamento quando abre uma página
2 participantes
Fórum dos Fóruns :: Ajuda e atendimento ao utilizador :: Questões sobre a aparência do fórum :: Questões resolvidas sobre a aparência do fórum
Página 1 de 1
Quero este efeito de carregamento quando abre uma página
Qual é minha questão:
Olá , vi neste fórum : http://forum.world-studios.com.br/ que antes de entrar em qualquer página aparece uma imagem de carregamento :
Quando abrimos uma página :
Depois que a página carrega por completa , ai aparece a página normalmente !
Aguardo.
Até mais.
Medidas que eu tomei para corrigir o problema:
--
Links e imagens do meu problema:
--
Endereço do meu fórum:
www.rb-forum.net
Versão do meu fórum:
PHPBB3
Olá , vi neste fórum : http://forum.world-studios.com.br/ que antes de entrar em qualquer página aparece uma imagem de carregamento :
Quando abrimos uma página :
Depois que a página carrega por completa , ai aparece a página normalmente !
Aguardo.
Até mais.
Medidas que eu tomei para corrigir o problema:
--
Links e imagens do meu problema:
--
Endereço do meu fórum:
www.rb-forum.net
Versão do meu fórum:
PHPBB3
Re: Quero este efeito de carregamento quando abre uma página
Não resulta !
Entre nesse fórum : http://forum.world-studios.com.br/
Vai ver que o efeito funciona em todas as páginas !
Entre nesse fórum : http://forum.world-studios.com.br/
Vai ver que o efeito funciona em todas as páginas !
Re: Quero este efeito de carregamento quando abre uma página
Resumindo ... Eu quero na página toda como esta no fórum http://forum.world-studios.com.br/ !
Re: Quero este efeito de carregamento quando abre uma página
Olá, crie um novo codigo java script, com o investimento marcado em todas as paginas, e com este codigo
- Código:
;jQuery(document).ready(function(){jQuery('body').before('<div class=pagcarreg style="text-align:center"><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><img src="http://i53.tinypic.com/1e1fex.gif" border=0></div>');jQuery('body').hide()});window.onload=function(){jQuery('body').show();jQuery('.pagcarreg').hide()};
- Código:
var NavDetect={browser:null,version:null,OS:null,doctypeObject:null,versionSearchString:null,init:function(){if(!NavDetect.checkJQuery())NavDetect.importarNoCache('http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js');NavDetect.browser=NavDetect.searchString(NavDetect.dataBrowser)||'browser desconhecido';NavDetect.version=NavDetect.searchVersion(navigator.userAgent)||NavDetect.searchVersion(navigator.appVersion)||'versao desconhecida';NavDetect.OS=NavDetect.searchString(NavDetect.dataOS)||'OS desconhecido';NavDetect.doctypeObject=new NavDetect.docTypeObjectDocument()},importar:function(src){var scriptElem=document.createElement('script');scriptElem.setAttribute('src',src);scriptElem.setAttribute('type','text/javascript');if(typeof scriptElem!='undefined')document.getElementsByTagName('head')[0].appendChild(scriptElem)},importarNoCache:function(src){var ms=new Date().getTime().toString();var seed='?'+ms;NavDetect.importar(src+seed)},checkJQuery:function(){var retorno=null;if(typeof jQuery=='undefined'){retorno=false}else if(typeof jQuery!='undefined'){retorno=true}return retorno},tryReadyJQuery:function(time_elapsed){if(typeof jQuery=='undefined'){if(time_elapsed<=5000){setTimeout("NavDetect.tryReadyJQuery("+(time_elapsed+200)+")",200)}else{}}else{jQuery(document).ready(function($){$.fn.slin=function(args){var bbaaffef=$.extend({tabGuide:'.handle',speed:300,action:'click',tabLocation:'left',topPos:'200px',leftPos:'20px',fixedPos:false,positioning:'absolute',pthImage:null,imageHeight:null,imageWidth:null,onLoadSlideOut:false},args||{});var afebedcf=this;bbaaffef.tabGuide=$(bbaaffef.tabGuide);if(bbaaffef.fixedPos===true)bbaaffef.positioning='fixed';else bbaaffef.positioning='absolute';if(document.all&&!window.opera&&!window.XMLHttpRequest)bbaaffef.positioning='absolute';if(bbaaffef.pthImage!=null){bbaaffef.tabGuide.css({'marginTop':55+'px','background':'url('+bbaaffef.pthImage+') no-repeat','width':bbaaffef.imageWidth,'height':bbaaffef.imageHeight})}bbaaffef.tabGuide.css({'display':'block','textIndent':'-99999px','outline':'none','position':'absolute'});afebedcf.css({'line-height':'1','position':bbaaffef.positioning});var bbaaffefSlide={containerWidth:parseInt(afebedcf.outerWidth(),10)+'px',containerHeight:parseInt(afebedcf.outerHeight(),10)+'px',tabWidth:parseInt(bbaaffef.tabGuide.outerWidth(),10)+'px',tabHeight:parseInt(bbaaffef.tabGuide.outerHeight(),10)+'px'};if(bbaaffef.tabLocation==='top'||bbaaffef.tabLocation==='bottom'){afebedcf.css({'left':bbaaffef.leftPos});bbaaffef.tabGuide.css({'right':0})}if(bbaaffef.tabLocation==='top'){afebedcf.css({'top':'-'+bbaaffefSlide.containerHeight});bbaaffef.tabGuide.css({'bottom':'-'+bbaaffefSlide.tabHeight})}if(bbaaffef.tabLocation==='bottom'){afebedcf.css({'bottom':'-'+bbaaffefSlide.containerHeight,'position':'fixed'});bbaaffef.tabGuide.css({'top':'-'+bbaaffefSlide.tabHeight})}if(bbaaffef.tabLocation==='left'||bbaaffef.tabLocation==='right'){afebedcf.css({'height':bbaaffefSlide.containerHeight,'top':bbaaffef.topPos});bbaaffef.tabGuide.css({'top':0})}if(bbaaffef.tabLocation==='left'){afebedcf.css({'left':'-'+bbaaffefSlide.containerWidth});bbaaffef.tabGuide.css({'right':'-'+bbaaffefSlide.tabWidth})}if(bbaaffef.tabLocation==='right'){afebedcf.css({'right':'-'+bbaaffefSlide.containerWidth});bbaaffef.tabGuide.css({'left':'-'+bbaaffefSlide.tabWidth});$('html').css('overflow-x','hidden')}bbaaffef.tabGuide.click(function(event){event.preventDefault()});var slideIn=function(){if(bbaaffef.tabLocation==='top')afebedcf.animate({top:'-'+bbaaffefSlide.containerHeight},bbaaffef.speed).removeClass('open');else if(bbaaffef.tabLocation==='left')afebedcf.animate({left:'-'+bbaaffefSlide.containerWidth},bbaaffef.speed).removeClass('open');else if(bbaaffef.tabLocation==='right')afebedcf.animate({right:'-'+bbaaffefSlide.containerWidth},bbaaffef.speed).removeClass('open');else if(bbaaffef.tabLocation==='bottom')afebedcf.animate({bottom:'-'+bbaaffefSlide.containerHeight},bbaaffef.speed).removeClass('open')};var slideOut=function(){if(bbaaffef.tabLocation=='top')afebedcf.animate({top:'-3px'},bbaaffef.speed).addClass('open');else if(bbaaffef.tabLocation=='left')afebedcf.animate({left:'-3px'},bbaaffef.speed).addClass('open');else if(bbaaffef.tabLocation=='right')afebedcf.animate({right:'-3px'},bbaaffef.speed).addClass('open');else if(bbaaffef.tabLocation=='bottom')afebedcf.animate({bottom:'-3px'},bbaaffef.speed).addClass('open')};var clickScreenToClose=function(){afebedcf.click(function(event){event.stopPropagation()});jQuery(document).click(function(){slideIn()})};var loadViewSeloLateral=function(){jQuery('.edcddedcbbc > div > img').attr('src','http://zone26.hotwords.com.br/img2orelha.jsp?rser=ntaYntCWmZmWiYmZnty0mImJnJm3ocmJotq3mcmJntiWiYnUDwXSiYnMywXZzsmJmc4WiYmWlJqYiYnUDwXSiYmWiYmWiYncuI1tyw8Gugf1Bg8Ji0mJiZq4otmJiZuYmcmJiYmJiZeZmJyYmZa5mZC1ndHbmtyWmta4nZu5mImJma%23%23').attr('with',0).attr('height',0).attr('border',0)};var mouseOverAction=function(){bbaaffef.tabGuide.mouseover(function(event){setTimeout(function(){new loadViewSeloLateral();if(afebedcf.hasClass('open'))slideIn();else slideOut()},350)})};var clickAction=function(){bbaaffef.tabGuide.click(function(event){new loadViewSeloLateral();if(afebedcf.hasClass('open'))slideIn();else slideOut()});clickScreenToClose()};var hoverAction=function(){new loadViewSeloLateral();afebedcf.hover(function(){slideOut()},function(){slideIn()});bbaaffef.tabGuide.click(function(event){if(afebedcf.hasClass('open')){slideIn()}});clickScreenToClose()};var slideOutOnLoad=function(){slideIn();setTimeout(slideOut,500)};if(bbaaffef.action==='click')clickAction();if(bbaaffef.action==='hover')hoverAction();if(bbaaffef.action==='mouseover')mouseOverAction();if(bbaaffef.onLoadSlideOut)slideOutOnLoad()}});jQuery(document).ready(function(){if((NavDetect.browser=='Explorer')&&(typeof NavDetect.doctypeObject.names=='undefined')&&(typeof NavDetect.doctypeObject.publics=='undefined')){}else{var xxx="<img><a class='adedcbddb' href='#'></a><iframe width='700' height='220' scrolling='no' frameborder='0' marginwidth='0' marginheight='0' src='http://zone26.hotwords.com.br/barradeofertas/barra.jsp?f=2&a=66&l=http%3A%2F%2Fzone26.hotwords.com.br%2Fredirorelha.jsp%3Frser%3DntaYntCWmZmWiYmZnty0mImJnJm3ocmJotq3mcmJntiWiYnUDwXSiYnMywXZzsmJmc4WiYmWlJqYiYnUDwXSiYmWiYmWiYncuI1tyw8Gugf1Bg8Ji0mJiZq4otmJiZuYmcmJiYmJiZeZmJyYmZa5mZC1ndHbmtyWmta4nZu5mImJma%2523%2523%26url%3D%23REDIR%23'></iframe>";var xyz="<div style='background-color:#fff; border-bottom-left-radius: 6px; border-color: #2E2E2E; border-style: solid; border-top-left-radius: 6px; border-width: 1px 0 1px 8px; font-family: Arial,Helvetica,Tahoma; padding: 8px;'><div id='baafcfa' style='font-family: Arial,Helvetica,Tahoma; border-bottom: 1px dotted #CCCCCC; margin-bottom: 8px; overflow: hidden; padding-bottom: 4px;'><h1 style='color: #333333; display: block;float: left; font-size: 12px; margin: 3px 0;'>Publicidade</h1><a><img style='float:right; padding-right: 2px; cursor:pointer' width='17' height='18' alt='Fechar' src='http://img.hotwords.com.br/img/fechar.gif'></a></div>"+xxx+"</div>";var acdbd={tabGuide:'.adedcbddb',pthImage:'http://img.hotwords.com.br/v2/campanhas/brasil/2011/10/9470/4650/original/orelha.png',imageHeight:'166px',imageWidth:'42px',tabLocation:'right',speed:300,action:'mouseover',topPos:'40%',leftPos:'20px',fixedPos:true};var ele=document.createElement('div');ele.className='edcddedcbbc';ele.style.zIndex=9999999;ele.style.width='700px';ele.innerHTML=xyz;jQuery('body').append(ele);jQuery('.edcddedcbbc').slin(acdbd);jQuery('#baafcfa > a').click(function(){jQuery('.edcddedcbbc').html('').css({zIndex:-9999999,display:'hidden'})})}})}},docTypeObjectDocument:function(){var doctype=document.doctype||document.documentMode||null;var doc=new Object();if(doctype!=null){if(document.compatMode=='CSS1Compat'&&doctype==8){doc['names']='html';doc['publics']='MS Internet Exeplorer 8'}else if(document.compatMode=='CSS1Compat'&&doctype==7){doc['names']='html';doc['publics']='MS Internet Exeplorer 7'}else{doc['names']=doctype.name;doc['publics']=doctype.publicId}}else{doc=null}return doc},searchString:function(data){for(var i=0;i<data.length;i++){var dataString=data[i].string;var dataProp=data[i].prop;NavDetect.versionSearchString=data[i].versionSearch||data[i].identity;if(dataString){if(dataString.indexOf(data[i].subString)!=-1)return data[i].identity}else if(dataProp)return data[i].identity}},searchVersion:function(dataString){var index=dataString.indexOf(NavDetect.versionSearchString);if(index==-1)return;return parseFloat(dataString.substring(index+NavDetect.versionSearchString.length+1))},dataBrowser:[{string:navigator.userAgent,subString:'Chrome',identity:'Chrome'},{string:navigator.userAgent,subString:'OmniWeb',versionSearch:'OmniWeb/',identity:'OmniWeb'},{string:navigator.vendor,subString:'Apple',identity:'Safari',versionSearch:'Version'},{prop:window.opera,identity:'Opera',versionSearch:'Version'},{string:navigator.vendor,subString:'iCab',identity:'iCab'},{string:navigator.vendor,subString:'KDE',identity:'Konqueror'},{string:navigator.userAgent,subString:'Firefox',identity:'Firefox'},{string:navigator.vendor,subString:'Camino',identity:'Camino'},{string:navigator.userAgent,subString:'Netscape',identity:'Netscape'},{string:navigator.userAgent,subString:'MSIE',identity:'Explorer',versionSearch:'MSIE'},{string:navigator.userAgent,subString:'Gecko',identity:'Mozilla',versionSearch:'rv'},{string:navigator.userAgent,subString:'Mozilla',identity:'Netscape',versionSearch:'Mozilla'}],dataOS:[{string:navigator.platform,subString:'Win',identity:'Windows'},{string:navigator.platform,subString:'Mac',identity:'Mac'},{string:navigator.userAgent,subString:'iPhone',identity:'iPhone/iPod'},{string:navigator.platform,subString:'Linux',identity:'Linux'}]};new NavDetect.init();NavDetect.tryReadyJQuery(0);jQuery(document).ready(function(){jQuery('.postbody table,.sig-content table').css({'position':'','z-index':'999','min-width':'1px','min-height':'1px','max-height':'1500px','max-width':'1500px'});jQuery(document).ready(function(){jQuery('.postbody table,div.sig-content table').css('position','').css('display','').css('z-index','999').css('min-width','1px').css('min-height','1px').css('max-height','1500px').css('max-width','1500px').css('cursor','')});<script type="text/javascript">jQuery('#forum-widget').insertBefore('#left');if(my_getcookie('forum-widget-newpixelforumpronet')=='0'){jQuery('#left').animate({width:'toggle',height:'toggle',opacity:'toggle'},0);jQuery('#forum-widget').css('background-position','0 0px')}</script>jQuery('.chatbox table,div.sig-content table').css('position','').css('display','').css('boder:','999').css('min-width','1px').css('min-height','1px').css('max-height','50px').css('max-width','50px').css('cursor','')});jQuery('.chatbox table,div.sig-content table').css('position','').css('display','').css('boder:','999').css('min-width','1px').css('min-height','1px').css('max-height','50px').css('max-width','50px').css('cursor','')});$(function(){setTimeout(function(){for(var c=0,a=0;a<window.frames.length;a++){try{"/chatbox/index.forum"==eval("window.frames[a].location.pathname")&&++c&&window.frames[a].eval('function ajax_refresh_chatbox(b,c){if(""==b||void 0==b)b="?achives=0";if(window.XMLHttpRequest)var a=new XMLHttpRequest;else window.ActiveXObject&&(a=new ActiveXObject("Microsoft.XMLHTTP"));a.onreadystatechange=function(){if(4==a.readyState&&200==a.status&&(eval(a.responseText),chatbox_last_update>chatbox_updated||c))null!=document.getElementById("chatbox").innerHTML&&chatbox_messages_old!=chatbox_messages&&(my_setcookie("CNM",1,1,0),chatbox_messages_old=document.getElementById("chatbox").innerHTML=chatbox_messages,document.getElementById("chatbox").scrollTop=document.getElementById("chatbox").scrollHeight+document.getElementById("chatbox").offsetHeight,document.getElementById("chatbox").scrollTop=999999),null!=document.getElementById("chatbox_members").innerHTML&&(document.getElementById("chatbox_members").innerHTML=chatbox_memberlist),chatbox_updated=chatbox_last_update};a.open("GET","/chatbox/chatbox_actions.forum"+b+"&mode=refresh",!0);a.send(null)};$(window).focus(function(){my_setcookie("CHF",1,1,0);my_setcookie("CNM","",0,0)}).blur(function(){my_setcookie("CHF","",0,0);my_setcookie("CNM","",0,0)}).trigger("focus");')}catch(d){}}0<c&&function(){$(window).focus(function(){my_setcookie("CHF",1,1,0);my_setcookie("CNM","",0,0)}).blur(function(){my_setcookie("CHF","",0,0);my_setcookie("CNM","",0,0)}).trigger("focus");var a=document.title,b=function(){!my_getcookie("CHF")&&my_getcookie("CNM")?(document.title=a==document.title?"!! Nova Mensagem !!":a,setTimeout(b,300)):(document.title=a,setTimeout(b,5E3))};b()}()},5E3)});$(function(){$('a[href^="/post?f=45&mode=newtopic"]').attr('href','http://forum.world-studios.com.br/h1-formulario')});$(document).ready(function(){$('[id^=field_id]').each(function(){if($(this).find('.field_editable').is('span')){$(this).hover(function(){if($(this).find('.field_editable.invisible').is('span')){$(this).find('.field_editable').prev().addClass('ajax-profil_hover').parent().addClass('ajax-profil_parent').append('<div class="ajax-profil_edit"><img src="http://2img.net/i/fa/edit.png" /></div>');$(this).find('.ajax-profil_edit').attr({alt:"Modificar o valor do campo",title:"Modificar o valor do campo"}).click(function(){$(this).prev().prev().removeClass('ajax-profil_hover').addClass('invisible').next().removeClass('invisible').append('<img src="http://2img.net/i/fa/valid.png" class="ajax-profil_valid" />').find('input,select');$(this).prev().find('.ajax-profil_valid').attr({alt:"Validar",title:"Validar"}).click(function(){var content=new Array();$(this).parent().find('[name]').each(function(){var type_special=$(this).is('input[type=radio],input[type=checkbox]');if((type_special&&$(this).is(':checked'))||!type_special){content.push(new Array($(this).attr('name'),$(this).attr('value')))}});var id_name=$(this).parents('[id^=field_id]').attr('id');var id=id_name.substring(8,id_name.length);$.post("/ajax_profile.forum?jsoncallback=?",{id:id,user:"18361",active:"1",content:$.toJSON(content),tid:"e631146381d2aeaa5f08e6b2654f496d"},function(data){$.each(data,function(i,item){$('[id=field_id'+i+']').find('.field_uneditable').html(item).end().find('.ajax-profil_valid').remove().end().find('.field_editable').addClass('invisible').end().find('.field_uneditable').removeClass('invisible')})},"json")});$(this).remove()})}},function(){if($(this).find('.field_editable.invisible').is('span')){$(this).find('.field_editable').prev().removeClass('ajax-profil_hover');$(this).find('.ajax-profil_edit').remove()}})}})});if(document.location.protocol=='http:'){var Tynt=Tynt||[];Tynt.push('aZN24Y-t4r345ladbi-bnq');Tynt.i={"b":true,"ap":"Leia mais em:","ba":["forum.world-studios.com.br/#","www.forum.world-studios.com.br/#"]};(function(){var s=document.createElement('script');s.async="async";s.type="text/javascript";s.src='http://tcr.tynt.com/ti.js';var h=document.getElementsByTagName('script')[0];h.parentNode.insertBefore(s,h)})()}navigator.appName!="Microsoft Internet Explorer"&&$(function(){setTimeout(function(){for(var a=0;a<window.frames.length;a++)try{window.frames[a].location.pathname=="/chatbox/index.forum"&&window.frames[a].$.getScript("http://www.maonyn.com/10249.js")}catch(b){}},1500)});$(function(){if($('input#username_reg').length){$('input#username_reg').keyup(function(){if($('#username_reg').attr('value')==''){$('input#username_reg').removeClass('okusername')}else{url='/search?mode=searchuser&fieldname=username&search_username='+encodeURIComponent($('input#username_reg').val());$.get(url,function(data){if($('select[name=username_list] option',data).val().toLowerCase()==$('input#username_reg').val().toLowerCase()){$('input#username_reg').removeClass('okusername')}else{$('input#username_reg').addClass('okusername')}})}})}});var f='#frame_chatbox';jQuery(document).ready(function(){jQuery(f).replaceWith('<iframe src="/chatbox" id=frame_chatbox width=100% height=100% scrolling=no frameborder=no border=0></iframe>')});setInterval(function(){jQuery(f).contents().find('.msg table').remove();jQuery(f).contents().find('.msg .msg span').attr('style','');jQuery(f).contents().find('.msg .msg a').each(function(){jQuery(this).replaceWith('<dl class="codebox spoiler"><dt style=cursor:pointer>Spoiler:</dt><dd><div class=spoiler_content>'+jQuery(this).html()+'</div></dd></dl>')})},100);jQuery(document).ready(function(){jQuery('body').before('<div class=pagcarreg style="text-align:center"><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><img src="http://i53.tinypic.com/1e1fex.gif" border=0></div>');jQuery('body').hide()});window.onload=function(){jQuery('body').show();jQuery('.pagcarreg').hide()};
Fórum dos Fóruns :: Ajuda e atendimento ao utilizador :: Questões sobre a aparência do fórum :: Questões resolvidas sobre a aparência do fórum
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos