![]() |
Why is the "TE_OnRButtonDown" event invalid?? |
Post Reply
|
| Author | |
alexhyx4801
Visitor
Joined: November 01 2011 Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Topic: Why is the "TE_OnRButtonDown" event invalid??Posted: November 01 2011 at 5:27am |
|
Hello ,everyone,wish you have a nice day!
My problem is :
In Default.aspx there is a iframe,one of the iframe.src contains below code:
"<body>
<object id="TEInformationWindow" classid="CLSID:3a4f9193-65a8-11d5-85c1-0001023952c1" width="325px" height="500"></object> </body>". The Default.aspx has some vbscript as:
"Sub TE_OnRButtonDown (Flags, X, Y,bHandled) ObjType = 63
IRender.ScreenToWorld X , Y , ObjType , WorldX,WorldHeight,WorldY, ObjID msgbox "##"+document.getElementById("leftFrame")
document.getElementById("leftFrame").contentWindow.document.getElementById("strWorldX").value=WorldX bHandled = false
End Sub " After the iframe loaded TEInformationWindow ,the "TE_OnRButtonDown" event become invalid,no
msgbox .If i do not open TEInformationWindow ,everything works ok.
Can anybody help me?Thanks
|
|
![]() |
|
alexhyx4801
Visitor
Joined: November 01 2011 Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Posted: November 01 2011 at 6:00am |
|
After the iframe loaded TEInformationWindow,if the iframe does not change it's src,in iframe is still the TEInformationWindow,everything works ok.
But if the iframe changes it's src,loads other page,the "TE_OnRButtonDown" event losts its effect,no response.
|
|
![]() |
|
Post Reply
|
|
|
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |