Onload Event Problem
Posted: Thu Apr 14, 2011 9:41 pm
Hi,
I'm not sure if this is strictly a Javascript issue or not....
I am using an onload event in the body tag of my page to open up to 5 different pages/tabs - all of which are on the same doamin. The new tabs open, the URL is correct but the new tab displays a blank page. Only if click into the address bar and hit enter does page load and display correctly.
If I instead generate the links to th pages I want to open, if I click these they also open as blank pages.
It almost seems as if the target site is detecting if the request is being made as a click or an event. Is this possible?
Thanks in advance,
Rob.
I'm not sure if this is strictly a Javascript issue or not....
I am using an onload event in the body tag of my page to open up to 5 different pages/tabs - all of which are on the same doamin. The new tabs open, the URL is correct but the new tab displays a blank page. Only if click into the address bar and hit enter does page load and display correctly.
If I instead generate the links to th pages I want to open, if I click these they also open as blank pages.
It almost seems as if the target site is detecting if the request is being made as a click or an event. Is this possible?
Thanks in advance,
Rob.