I will explain my problem in steps to be clear.
- I have a domain-1 where I want to past an iframe/javascript or something
- Then I want a popup to show up whenever domain-1 loads, this popup is in the center and covers the whole screen (with faded background)
- the content on this popup is from another domain-2.
I know there is same origin policy issue, I have also seen this question Cross domain popup window with return value but could not understand what/how the webservice can be made.
EDIT:
I will explain it further...
I want to put an iframe in website1 ... as soon as website1 loads I want a popup to cover the whole page like this: http://yensdesign.com/2008/09/how-to-create-a-stunning-and-smooth-popup-using-jquery/
Now this popup contains content from website2