838 posts
  • Became a Top 20 Author of the Month
  • Power Elite Author: Sold more than $1M on Envato Market
  • Won a competition
  • Made it to the Authors' Hall of Fame
+8 more
wpbakery
says

Hey guys/gals,

jquery height() returning incorrect height of the div with h2 (@font-face) inside of it, it looks like it calculates height before the @font-face is applied.

Have anyone experienced such a problem?

3007 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 200+ members
  • Has sold $250,000+ on Envato Market
  • Had an item featured in an Envato Bundle
+7 more
duotive
says

get the height on window load not on domready

838 posts
  • Became a Top 20 Author of the Month
  • Power Elite Author: Sold more than $1M on Envato Market
  • Won a competition
  • Made it to the Authors' Hall of Fame
+8 more
wpbakery
says
get the height on window load not on domready

I tried that too but result is the same :(

838 posts
  • Became a Top 20 Author of the Month
  • Power Elite Author: Sold more than $1M on Envato Market
  • Won a competition
  • Made it to the Authors' Hall of Fame
+8 more
wpbakery
says

Hmm, actually not ;)

I was calling my function twice: .ready() and .load() and after first function call it looked like second does absolutely the same.

Thanks duotive you made me to look at that from different angle

3007 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 200+ members
  • Has sold $250,000+ on Envato Market
  • Had an item featured in an Envato Bundle
+7 more
duotive
says
Hmm, actually not ;)

I was calling my function twice: .ready() and .load() and after first function call it looked like second does absolutely the same.

Thanks duotive you made me to look at that from different angle

you are welcome :D

by
by
by
by
by
by