Current location: Hot Scripts Forums » General Web Coding » JavaScript » Not getting the desired results with IE7


Not getting the desired results with IE7

Reply
  #1 (permalink)  
Old 12-11-06, 01:21 PM
pkcidstudio's Avatar
pkcidstudio pkcidstudio is offline
Coding Addict
 
Join Date: Nov 2005
Posts: 332
Thanks: 0
Thanked 0 Times in 0 Posts
Not getting the desired results with IE7

Please look at the following code in both FF2 and IE7. The desired result is the on in FF2.0, could one of you pro's please help me to figure out what I am missing for it to be correct in IE7?
Code:
<html>
<head>
</head>
<body>
<script>
function KeyCache() {
  if (window.event && window.event.keyCode == 8) {
	window.event.keyCode = 123; 
  }
}
document.onkeydown=KeyCache();
</script>

<script type='text/javascript'>
<!--
function toggleAddress()  {
window.open('http://www.amazon.com','mywindow','width=400,height=200 , toolbar=no , location=yes , directories=no , status=yes , menubar=no , scrollbars=yes , copyhistory=no , resizable=no , searchfield=no')
}//-->
</script>
<a onClick='toggleAddress()'>go</a>
</body>
</html>
__________________
learning like everyone else
Reply With Quote
  #2 (permalink)  
Old 12-11-06, 01:48 PM
tobyjoiner tobyjoiner is offline
Newbie Coder
 
Join Date: Nov 2006
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
I guess im not understanding, cause it works in both for me. It shows go and if I click on it in either browser it works.

Toby
Reply With Quote
  #3 (permalink)  
Old 12-11-06, 01:57 PM
pkcidstudio's Avatar
pkcidstudio pkcidstudio is offline
Coding Addict
 
Join Date: Nov 2005
Posts: 332
Thanks: 0
Thanked 0 Times in 0 Posts
The link works yes. but what is the end goal is what you see with FF, sorry for the confusion.
IF you place the code in FF you will see the only content, address bar, and title bar. The same code in IE7 and this is not the case, the search area, and the navigation of forward and back are still present. Please let me know if this helps.

FF is the desired outcome on the popup.
__________________
learning like everyone else
Reply With Quote
  #4 (permalink)  
Old 12-11-06, 02:02 PM
tobyjoiner tobyjoiner is offline
Newbie Coder
 
Join Date: Nov 2006
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Oh, ok sorry...

Here is some info I found on that.

http://www.tek-tips.com/viewthread.c...1306520&page=1

Doesn't look like you can without users allowing you to.
Reply With Quote
  #5 (permalink)  
Old 12-11-06, 02:04 PM
pkcidstudio's Avatar
pkcidstudio pkcidstudio is offline
Coding Addict
 
Join Date: Nov 2005
Posts: 332
Thanks: 0
Thanked 0 Times in 0 Posts
Thank you for the quick replies, I'll check out the site.
I saw that eariler, only thing is it is talking about the address bar, I want to keep the address bar just get rid of the fat around it. see this example that microsoft put out. cant find the code for it though.
http://secunia.com/internet_explorer...spoofing_test/
click on: test now... left click...
right below Start the test

thoughts?

If anyone else has experiance with this, please share.
__________________
learning like everyone else

Last edited by pkcidstudio; 12-11-06 at 02:08 PM.
Reply With Quote
  #6 (permalink)  
Old 12-11-06, 02:21 PM
tobyjoiner tobyjoiner is offline
Newbie Coder
 
Join Date: Nov 2006
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Ok, ive been worthless up to this point, so maybe this will help:

http://msdn.microsoft.com/workshop/a...ods/open_0.asp

Maybe not, but hopefully
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP-Writing Poll Results Scripts Elle0000 PHP 1 10-11-06 03:48 AM
db results options? fraggle PHP 3 04-28-05 06:21 AM
changings in showing results in php script korro PHP 6 11-20-04 11:54 AM
PHP, MySQL Beginner... Help Needed Displaying Results db3db3 PHP 1 05-12-04 01:24 AM
posting of results script Sir-ihlatrebon Script Requests 0 02-17-04 11:46 AM


All times are GMT -5. The time now is 11:21 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.