821 posts
  • Power Elite Author: Sold between 1 000 000 - 1 999 999 dollars
  • Power Elite Author
  • Won a Competition
  • Exclusive Author
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Europe
  • Bought between 50 and 99 items
+2 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
  • Author had a File in an Envato Bundle
  • Bought between 1 and 9 items
  • Elite Author
  • Europe
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 100 and 199 users
+2 more
duotive says

get the height on window load not on domready

821 posts
  • Power Elite Author: Sold between 1 000 000 - 1 999 999 dollars
  • Power Elite Author
  • Won a Competition
  • Exclusive Author
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Europe
  • Bought between 50 and 99 items
+2 more
wpbakery says
get the height on window load not on domready

I tried that too but result is the same :(

821 posts
  • Power Elite Author: Sold between 1 000 000 - 1 999 999 dollars
  • Power Elite Author
  • Won a Competition
  • Exclusive Author
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Europe
  • Bought between 50 and 99 items
+2 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
  • Author had a File in an Envato Bundle
  • Bought between 1 and 9 items
  • Elite Author
  • Europe
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 100 and 199 users
+2 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