Boas-vindas ao Power Pixel

Junte-se a comunidade! Crie o seu próprio conteúdo, e faça amizades.EntrarCriar uma conta

Consertar balizas

2 participantes

Ground Ground  • Dom 26 Jan 2014 - 20:10

Consertar balizas Empty Consertar balizas Dom 26 Jan 2014 - 20:10

Qual é minha questão:
Olá,

Preciso que consertem as balizas deste código:
Código:
!-- ACTIVE USERS --div class="statistics clear2 clearfix" id="topic_stats"
div class="active_users" id="topic_active_users" 
h4 class="statistics_head"span id="topic_total_users"0/span usuário(s) está(ão) lendo este tópico/h4  p class="statistics_brief desc"   
span id="topic_total_members"0/span membro(s),span id="topic_total_visit"0/span visitante(s) espan id="topic_total_anoni"0/span membros anônimo(s)  /p  br  ul id="topic_list_users" class="ipsList_inline"/ul 
<!-- BEGIN switch_user_logged_in --!> 
br/  h4 class="statistics_head"Este tópico já foi visualizado por span id="topic_total_views"0/span usuário(s)/h4  br/  ul id="topic_list_views" class="ipsList_inline"/ul 
!-- END switch_user_logged_in -- /div/divscript type="text/javascript" //![CDATA[ $(window).load(function() {  var total_users = 0, last_views = ''  var WereIam = '', target = 0  var pathname = location.pathname  var storListViews = pathname  var storTotalView = pathname + '_views'$.get('/forum', function (data) {    target = $('#logged_in_user_list', data).find('a')    if (target.length == 0) { target = $('#onlinelist').find('p:eq(1)').find('a')    }  }).always(function() {    var len = target.length, last_views = ''    if (len == 0) {return false}    searchActiveUsers(target, 0, len, 0)  })  function searchActiveUsers(target, start, len, index){    if (index == len) {
<!-- BEGIN switch_user_logged_in --!>
 last_views = localStorage.getItem(storListViews) if (last_views) {  $('#topic_list_views').html(last_views)  $('#topic_total_views').text(localStorage.getItem(storTotalView)) }
<!-- END switch_user_logged_in --!>
 return false    }    var oThis = $(target[index])   
var USER_ID = oThis.attr('href')   
var USERNAME = 'a href="' + USER_ID + '"' + oThis.html() + '/a'    if (USER_ID.length !== 0) { $.get(USER_ID, function (data) {  WereIam = $('#field_id3', data).find('div.field_uneditable').text() }).always(function() {  if (WereIam == pathname) {    if (total_users == 0) { $('#topic_list_users').append(USERNAME)    } else { $('#topic_list_users').append(', ' + USERNAME)    }    total_users++    $('#topic_total_users').text(total_users)    $('#topic_total_members').text(total_users)   
<!-- BEGIN switch_user_logged_in --!>   
last_views = localStorage.getItem(pathname)   
if (last_views) { if (last_views.indexOf(USER_ID) == -1)
{  localStorage.setItem(storListViews, last_views + ', ' + USERNAME)  var storValue = localStorage.getItem(storTotalView)  if (storValue == null) storValue = 0  localStorage.setItem(storTotalView, parseInt(storValue) + 1) }    } else
{ localStorage.setItem(storListViews, USERNAME) localStorage.setItem(storTotalView, 1)    }    !-- END switch_user_logged_in --  }  index++  try {    searchActiveUsers(target, start, len, index)  } catch (e) {    console.log(index)  }    })    }  } }) //]]/scriptstyle type="text/css" !-- .clearfix:after {  clear: both  content: "."  display: block  height: 0  visibility: hidden } .statistics {  border-top: 3px solid #D8D8D8  line-height: 1.3  margin: 20px 0 0  overflow: hidden  padding: 10px 0 } .clear2 {  clear: both } .statistics_head {  font-size: 14px  font-weight: bold } .desc, .desc.blend_links a, p.posted_info {  color: #777777  font-size: 12px } --/stylediv id="pun-info" class="main" style="display: none"div id="stats"!-- Backup p{L_TABS_PERMISSIONS} br /{S_AUTH_LIST}/p --{LOGGED_IN_USER_LIST}/div/div

Tava tentando editar mas acabei desorganizando tudo.
Obrigado desde já!

Endereço do meu fórum:
[Tens de ter uma conta e sessão iniciada para poderes visualizar este link]

Versão:
PunBB

[K]oke [K]oke  • Dom 26 Jan 2014 - 22:15

Consertar balizas Empty Re: Consertar balizas Dom 26 Jan 2014 - 22:15

Olá, mais o que é pra ajeita?


Até mais!

Ground Ground  • Seg 27 Jan 2014 - 0:13

Consertar balizas Empty Re: Consertar balizas Seg 27 Jan 2014 - 0:13

Davisnatsu escreveu:Olá, mais o que é pra ajeita?Até mais!
Davisnatsu escreveu:Olá, mais o que é pra ajeita?Até mais!
As balizas do código, está tudo desorganizado.

[K]oke [K]oke  • Seg 27 Jan 2014 - 9:39

Consertar balizas Empty Re: Consertar balizas Seg 27 Jan 2014 - 9:39

Isso, já sabemos onde você pegou o código?

Até mais!

Ground Ground  • Qui 30 Jan 2014 - 16:02

Consertar balizas Empty Re: Consertar balizas Qui 30 Jan 2014 - 16:02

Tinha pegado do fórum do JSclipt quando ainda era registrado lá...
Mas fui tentar editar e acabei com tudo, restaurei tudo ao padrão, mas aí as balizar estão desorganizadas.
Pode ajeitar?

Conteúdo patrocinado  • 

Consertar balizas Empty Re: Consertar balizas

Permissões neste sub-fórum
Não podes responder a tópicos