1

UPDATED

I have a page where i upload an image to crop which opens a window with the required functionality, it works absolutely fine as per below given script, but it doesn't work with IE

<script>
window.open('http://mymachine/mysite/crop.php?bgimagecode1=1281439586.jpg&x=728&y=364&id=30&bannersize=1x2&osCsid=','mywindow','fullscreen=yes,scrollbars=yes');
</script>

please help

OM The Eternity
  • 14,916
  • 40
  • 117
  • 180

3 Answers3

0

Maybe you have IE set to block popups? You have to whiteflag the domain or it won't open. I would check your preferences.

meder omuraliev
  • 177,923
  • 69
  • 381
  • 426
0

If you are using PHP to generate this string, you should be using urlencode to make sure the URL's querystring is valid.

epascarello
  • 195,511
  • 20
  • 184
  • 225
-1

Don't set the second parameter. It doesn't work in IE... just leave it empty.

window.open('". HTTP_SERVER . "/crop.php?bgimagecode1=".$realname."&x=".$w."&y=".$h."& id=".$_POST['categoryId']."&bannersize=".$_POST['size']."&osCsid=".$_POST['sid']."','','fullscreen=yes,scrollbars=yes');

More info in a previous thread...

Community
  • 1
  • 1
thomasvdb
  • 699
  • 1
  • 10
  • 31