-1

I will explain my problem in steps to be clear.

  1. I have a domain-1 where I want to past an iframe/javascript or something
  2. 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)
  3. 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

Community
  • 1
  • 1
yuvraj
  • 173
  • 1
  • 2
  • 17

1 Answers1

0

Check out http://api.jquery.com/jQuery.get/

$.get('/some/page.html', function(data) {
  $('#result').html(data);
});
switz
  • 24,384
  • 25
  • 76
  • 101