Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

This script gives error in IE4 but not IE%

Status
Not open for further replies.

blueindian1

Programmer
Apr 24, 2001
150
0
0
US
Hi,

I have the following script that works well in IE5. However, in IE4 it throws an "object-expected" error.

Anyone know anything about this?

Code:
function openIESearching(){
  searchingPopUp = showModelessDialog("[URL unfurl="true"]http://somewebsite.com",window,"status:no;unadorned:yes;help:no;;scrollbars:no;resize:no;dialogWidth:200px;dialogHeight:100px");[/URL]
  window.onunload = function(){ searchingPopUp.close();}
  }

Thanks a million in advance........

Rich
 
IE4+ use showModalDialog
IE5+ use showModelessDialog
- tleish
 
my first guess would be that one of the commands in your function isnt supported in ie4. ie 5 does have a lot of new improvements and it doesnt suprise me that code in ie5 doesnt work in ie4.

i would check out your commands.

hope this helps!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top