vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   JS code switching DIV blocks - problem with Firefox/WYSIWYG interface (https://vborg.vbsupport.ru/showthread.php?t=131454)

Valter 11-13-2006 01:21 PM

JS code switching DIV blocks - problem with Firefox/WYSIWYG interface
 
I have some problem with my Cyb - Prevent Newbies from Posting to Wrong Forum hack.

I've put simple javascript code which is switching two DIV blocks.

When newthread page loads there is destination forum confirmation dialog. When you click Continue button that DIV block is closed and then standard newthread form is opened. This works with no problems in IE but there is a problem with Firefox when member is using WYSIWYG interface. Message area is grayed out and all functions are disabled. You can't click anything.

I see no reason why this is happening? Is this vB bug or I'm missing something here?

I'll be very thankful if someone can provide some idea on how to solve this problem.


Cyb

PS: First DIV is opened after $navbar and closed before $footer.

Valter 11-15-2006 12:52 AM

Sorry for bumping thread. Anyone knows if this is vB bug or there is some trick to have this working properly?

Ntfu2 11-15-2006 04:05 AM

Its casue firefox sucks.

Im having a similar issue with some things on my forum like random ads in the first post and ajax. But its only in FireFox and not IE for some off the wall reason.

Valter 11-15-2006 11:30 AM

OK but i really see no reason for this to happen. It's just switching DIVs.

itsid 11-16-2006 01:54 AM

If I got it right
wysiwyg is init onload, if there is no such editor, ff doesn't know what to init at all.

So, why not just add both div-blocks at the same time setting the editor display to none, and after clicking that button just switch visibility ?
this way it should do ..

Or did i misunderstood?

'sid


All times are GMT. The time now is 05:12 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.01022 seconds
  • Memory Usage 1,714KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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