vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Problem with "SPOILER" on Chrome (https://vborg.vbsupport.ru/showthread.php?t=320583)

AkibaWorld 10-22-2015 07:03 AM

Problem with "SPOILER" on Chrome
 
Hello,

Today I was visiting my forum and then I saw this bug on Google Chrome. When Im using the Spoiler BBCODE I saw that if the spoiler is very big (big, I mean, big size), it creates a "blank space", but only on Google Chrome and I dont know why.

Here you have a link in order to see it: http://akibaworld.es/showthread.php?...ll=1#post16867

Example of what happens: http://puu.sh/kUDLj/95a2ee48aa.gif

How Can I solve this?

Seven Skins 10-22-2015 09:15 AM

I see it normal.
Reset your chrome browser to default or disable plugins in browser one at a time to see which one is causing problem.

AkibaWorld 10-22-2015 10:08 AM

Quote:

Originally Posted by Seven Skins (Post 2557429)
I see it normal.
Reset your chrome browser to default or disable plugins in browser one at a time to see which one is causing problem.

Hello! I did it, but it keeps there.

If you are on Windows and you open that link with google chrome you can see this:

http://puu.sh/kTlSz/a6fb7dd927.png

I opened the site on Chrome with iOS9 and it doesnt appear, and with a MAC neither.

I also notice that, if you open the spoiler, and then you close it, the "error" appears, but if I push F12 in order to change something with the Developer Tools it disappear.

ArcadeSyndicate 10-22-2015 10:16 AM

for me it seems ok too :confused:

wich spoiler bbcode do you use?

AkibaWorld 10-22-2015 10:25 AM

Quote:

Originally Posted by ArcadeSyndicate (Post 2557433)
for me it seems ok too :confused:

wich spoiler bbcode do you use?

Hello! Thats the problem. Some users are telling me that they can see it (like me) and others cant see it.

This is the code for the SPOILER bbcode:

Code:

<center><div style="padding: 0px 5px 0px 5px;  border: 1px solid #43a6e9; margin-left: 10px; width: 97%"><div align="center" style="text-transform: none; border-bottom: none; display: block; padding: 3px 0px 3px 0px;">
<span onClick="var spoiler = this.parentNode.parentNode.getElementsByTagName('div')[2];
  if (spoiler.style.display != ''){
    this.parentNode.parentNode.style.width = '97%'
    this.parentNode.style.borderBottom = '1px solid #CCCCCC';
    spoiler.style.display = '';
    this.getElementsByTagName('a')[0].innerHTML = 'Cerrar';
  }else{
    this.parentNode.parentNode.style.width = '97%'
    this.parentNode.style.borderBottom = 'none';
    spoiler.style.display = 'none';
    this.getElementsByTagName('a')[0].innerHTML = 'Mostrar';
  }" />
<a rel="nofollow" href="#" onClick="return false;" style="text-decoration: none;"><b style="font-size: 13px;">Mostrar el Spoiler</b></a>
</span>
</div>
<div class="quotecontent">
<div align="left" style="display: none; padding: 5px 0px 5px 0px;">{param}</div>
</div>
</div>
</center>


DemOnstar 10-23-2015 05:01 AM

1 Attachment(s)
IE, Firefox and Chrome display. . . .

https://vborg.vbsupport.ru/attachmen...1&d=1445583653

AkibaWorld 10-23-2015 11:30 AM

Quote:

Originally Posted by DemOnstar (Post 2557474)
IE, Firefox and Chrome display. . . .

https://vborg.vbsupport.ru/attachmen...1&d=1445583653

If I use Chrome (and others users too) it happens this, with a BIG SPOILER (a spoiler with an image, f.e.): http://puu.sh/kUDLj/95a2ee48aa.gif

squidsk 10-23-2015 01:07 PM

Those that can't see it need to make sure that javascript is enabled in their browser and/or if they have a plugin that blocks javascript to enable an exception for your site.

AkibaWorld 10-24-2015 01:36 PM

Quote:

Originally Posted by squidsk (Post 2557489)
Those that can't see it need to make sure that javascript is enabled in their browser and/or if they have a plugin that blocks javascript to enable an exception for your site.

But whats the solution?

Seven Skins 10-24-2015 02:28 PM

You can put up a notice for the user to enable javascript.

Here is an example: https://css-tricks.com/snippets/java...-notification/


All times are GMT. The time now is 10:33 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01088 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete