I am trying to add a link into the last checkout page where the order details are confirmed. I want the link to load up a popup page as soon as the last order pages is loaded. This popup will just conatain a little bit of info about our new online customer feedback forms.
I have tried pasting this in the BODY tag of the order04.htm page. What I pasted was:
"javascript:window.open('survey.htm','survey','HEIGHT=350,WIDTH=200,')"
Because the onLoad function is already present in this page:
OnLoad="PreloadImages()
I pasted it like this so both would work:
OnLoad="PreloadImages();javascript:window.open('survey.htm','survey','HEIGHT=350,WIDTH=200,')"
However, nothing happens with this.
When I remove the "PreloadImages() part and just put:
OnLoad="javascript:window.open('survey.htm','survey','HEIGHT=350,WIDTH=200,')"
It seems to work.
What am I doing wrong to get it to work with the exisiting PreLoadimages function?
I have tried pasting this in the BODY tag of the order04.htm page. What I pasted was:
"javascript:window.open('survey.htm','survey','HEIGHT=350,WIDTH=200,')"
Because the onLoad function is already present in this page:
OnLoad="PreloadImages()
I pasted it like this so both would work:
OnLoad="PreloadImages();javascript:window.open('survey.htm','survey','HEIGHT=350,WIDTH=200,')"
However, nothing happens with this.
When I remove the "PreloadImages() part and just put:
OnLoad="javascript:window.open('survey.htm','survey','HEIGHT=350,WIDTH=200,')"
It seems to work.
What am I doing wrong to get it to work with the exisiting PreLoadimages function?
Comment