Error in pythonic InternetExplorer hta application
Grzegorz Makarewicz
mak at mikroplan.com.pl
Thu Jan 11 10:09:37 EST 2001
More information about the Python-list mailing list
Thu Jan 11 10:09:37 EST 2001
- Previous message (by thread): Error in pythonic InternetExplorer hta application
- Next message (by thread): Error in pythonic InternetExplorer hta application
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
try this: <html> <head> <TITLE>HTML Application Example</TITLE> <HTA:APPLICATION ID="HTAEx" APPLICATIONNAME="HTAEx" ICON="e.ico" WINDOWSTATE="normal"> </head> <body> <form name="where"> <span id=AddressBar style="overflow: none"> <span id=AddText>Address</span> <input type=text value="http://www.?" name="TheAddress" style="width:expression(document.body.clientWidth - AddText.offsetWidth - AddGo.offsetWidth - 45)"> <input type=button value="Go" name="AddGo"><br> </form> <span> <br> <iframe name="TheFrame" style="width: 100%; height:85%"> </iframe> <script language=Python> def TheAddress_onkeypress(): if window.event.keyCode == 13: try: document.all.TheFrame.src=document.where.TheAddress.Value except: pass window.event.returnValue=0 window.event.cancelBubble=1 else: window.event.returnValue=1 def AddGo_OnClick(): document.all.TheFrame.src=document.where.TheAddress.Value </script> </body> </html>
- Previous message (by thread): Error in pythonic InternetExplorer hta application
- Next message (by thread): Error in pythonic InternetExplorer hta application
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list