Link to home
Start Free TrialLog in
Avatar of APD Toronto
APD TorontoFlag for Canada

asked on

On Load function does not trigger on iPhone

Hi Experts,

When you open on iPhone portrait you will notice that the slogan "We Dont Overpromise. We Deliver!" is very small, but when you change it to landscape then back to portrait is fine. This is triggered by sloganResize() within js/header.js which I am calling from both $(window).resize() and $(window).on('load'), but the onload call is doesn't seem to be triggered?

Any help will be greatly appreciated.
Avatar of Shaun Vermaak
Shaun Vermaak
Flag of Australia image

When you say iPhone, do you mean Safari browser on iPhone or which browser(s)?
Avatar of APD Toronto


iPhone 6 Plus, both Safari and Chrome
Avatar of Rob
Flag of Australia image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I changed to the pageshow event, and the slogan disappeared.

Please see original link