839 posts
  • Power Elite Author
  • Winner
  • Top Monthly Author
  • Trendsetter
+10 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
  • 5 Years of Membership
  • Affiliate Level 5
  • Author Level 9
  • Bundle Boss
+8 more
duotive
says

get the height on window load not on domready

839 posts
  • Power Elite Author
  • Winner
  • Top Monthly Author
  • Trendsetter
+10 more
wpbakery
says
get the height on window load not on domready

I tried that too but result is the same :(

839 posts
  • Power Elite Author
  • Winner
  • Top Monthly Author
  • Trendsetter
+10 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
  • 5 Years of Membership
  • Affiliate Level 5
  • Author Level 9
  • Bundle Boss
+8 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