Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-22-2015, 07:03 AM
AkibaWorld AkibaWorld is offline
 
Join Date: Jan 2014
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 10-22-2015, 09:15 AM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 10-22-2015, 10:08 AM
AkibaWorld AkibaWorld is offline
 
Join Date: Jan 2014
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Seven Skins View Post
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.
Reply With Quote
  #4  
Old 10-22-2015, 10:16 AM
ArcadeSyndicate's Avatar
ArcadeSyndicate ArcadeSyndicate is offline
 
Join Date: Oct 2008
Location: Germany
Posts: 298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

for me it seems ok too

wich spoiler bbcode do you use?
Reply With Quote
  #5  
Old 10-22-2015, 10:25 AM
AkibaWorld AkibaWorld is offline
 
Join Date: Jan 2014
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ArcadeSyndicate View Post
for me it seems ok too

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>
Reply With Quote
  #6  
Old 10-23-2015, 05:01 AM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

IE, Firefox and Chrome display. . . .

Attached Images
File Type: jpg Spoiler 1.jpg (15.0 KB, 0 views)
Reply With Quote
  #7  
Old 10-23-2015, 11:30 AM
AkibaWorld AkibaWorld is offline
 
Join Date: Jan 2014
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DemOnstar View Post
IE, Firefox and Chrome display. . . .

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
Reply With Quote
  #8  
Old 10-23-2015, 01:07 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 10-24-2015, 01:36 PM
AkibaWorld AkibaWorld is offline
 
Join Date: Jan 2014
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by squidsk View Post
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?
Reply With Quote
  #10  
Old 10-24-2015, 02:28 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:09 PM.


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.04189 seconds
  • Memory Usage 2,271KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete