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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. MetroidHacker

    Replacing location URL works in IE6 but not IE7

    Has anyone see this problem before? Can anyone even agree with me that this is a problem? If more clarification is needed, please ask.
  2. MetroidHacker

    Replacing location URL works in IE6 but not IE7

    I'm sorry, I don't know what you mean. I've shown you the code that doesn't work in IE7. IE7 is not replacing the page when I set the URL. For reference, here is the C++ code from the ActiveX control that doesn't work: IHTMLDocument2 *pDisplayDocument; //pDisplayDocument is initialized from...
  3. MetroidHacker

    Replacing location URL works in IE6 but not IE7

    Thanks for the reply. This is, of course, a simplified example. What I want to happen is the whole page to be replaced when the "javascript:" URL is set. When the URL is set, I expect the page rendering to bail out and redirect to the specified URL. The real reason I want to know how to do this...
  4. MetroidHacker

    Replacing location URL works in IE6 but not IE7

    I'm having trouble with some code that behaves differently in Internet Explorer 6 and 7. <html> <body> <p>Test</p> <script language=javascript> window.location.replace("javascript:document.write(\"<p>Hello, world!</p>\")"); document.write(window.location); </script> </body> </html>...

Part and Inventory Search

Back
Top