will_rein99
asked on
Macintosh Internet Explorer Frame Buster
All,
Apparently the following code does not work on a Macintosh in Internet Explorer:
if (document.images){
top.location.replace('[pag e]');
}else{
top.location.href = '[page]';
}
What's the appropriate correction to get this to work on a Mac?
Thank you,
--Will
Apparently the following code does not work on a Macintosh in Internet Explorer:
if (document.images){
top.location.replace('[pag
}else{
top.location.href = '[page]';
}
What's the appropriate correction to get this to work on a Mac?
Thank you,
--Will
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No problem Will.
Regards...
Regards...
ASKER
<script language="javascript">
if (document.images){
top.location = ('[page]');
}else{
top.location.href = '[page]';
}
</script>
Apparently the Mac version did not like the "replace" method. Go figure.
You get the points Ziff for giving me the key clue in your code. Thank you much!
--Will