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
  • 15,694
  • 44
  • 120
  • 182

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
  • 183,342
  • 71
  • 393
  • 434
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
  • 204,599
  • 20
  • 195
  • 236
-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
  • 739
  • 1
  • 11
  • 32