TwelvestoneFront End

probably a basic javascript problem


Sign in

  • Waiting for Godot ( 720 k posts )
    Just conversation.
  • Thunder Dome ( 23 k posts )
    Photoshop Tennis and Collabs.
  • Photography ( 4.8 k posts )
    For all you shutterbugs, sh...
  • Flash ( 18 k posts )
    ActionScripting to tweens, ...
  • Front End ( 5.8 k posts )
    general front end design an...
  • Back End ( 9.6 k posts )
    serverside scripting, progr...
  • Projects and Theory ( 12 k posts )
    This forum is for discussio...
  • FAQ ( 269 posts )
    All those nagging questions...
  • Design ( 17 k posts )
    graphics & all aspects of g...
  • Purgatory ( 3.6 k posts )
    12stone Jail, feel free to ...
baron ruhstoff
 
2010-06-23

I'm using YUI to expand a div in response to a call from a SWF. It works great in all browsers except for FF3. Not really a big deal since the client will be handling the production implementation, but I am curious as to what might be causing it.

[linky removed]

// edit: Slight correction: Sometimes it works, sometimes it doesn't. :shrug:

persist
 
2010-06-24

The console.log statement would only work with firebug installed and enabled. Firefox has no native console.log statement.

If the little bug isn't black and white, firebug is enabled, even if you can't see the console. The animation will work when the spider is in color, every time.

Right click enable/disable panels on the bug icon and refresh the page after you toggle it to see the difference in behavior.

Remove the console.log statement and it should work just fine for deployment.

console.log statements should never go to production for this reason.

IE would have worked but would have shown an error exclamation point icon. Webkit browsers have console.log native and would be fine. Opera probably would fail like firefox.

baron ruhstoff
 
2010-06-25

Awesome. Thanks for the explanation, too.

Sorry, you must be a member to post to a conversation. Either log in or sign up to get involved.
TwelvestoneFront End

probably a basic javascript problem