Click here to Skip to main content
14,174,749 members
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

62.4K views
8 bookmarked
Posted 20 Mar 2003
Licenced

An example of a bug in HTC ViewLink Documents

, 20 Mar 2003
Rate this:
Please Sign up or sign in to vote.
This example highlights a bug in the implementation of HTC ViewLink Files in Internet Explorer

Introduction

HTC ViewLink Content does not allow (successful) cut/copy/paste operations when it is viewed via an IFRAME. The context menu is displayed but does not perform successful operations. This does not occur when the same file is viewed in its own window.

Given an IFRAME in an HTML file:
<HTML><HEAD></HEAD><BODY>
<IFRAME src=page1.html></IFRAME>
</BODY></HTML>


And this HTML file (page1.html):
<HTML xmlns:myNameSpace>
<?IMPORT namespace="myNameSpace" implementation="IMP.htc" >
<HEAD>
</HEAD>
<BODY>
<myNameSpace:myTag />
</BODY>
</HTML>

And this HTC ViewLink Behavior Implementation file (Imp.htc):
<PUBLIC:COMPONENT tagName="myTag"> 
<PUBLIC:DEFAULTS viewLinkContent/>
</PUBLIC:COMPONENT>
<BODY>
Cannot cut/copy this text when parent document is in an IFRAME"
<INPUT VALUE="Cannot cut/copy this text when parent document is in an IFRAME">
</BODY>


Cut/Copy/Paste operations are not successful on the HTC ViewLink Behavior Implementation Content file if the content is being viewed thru an IFRAME or FRAME
ie IFRAME-->HTML File containing Master Element-->HTC ViewLink Content.
Cut/Copy/Paste operations are successful however if the content is not viewed thru an IFRAME or FRAME
ie HTML File containing Master Element-->HTC ViewLink Content.


What do you think?

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

cowtram
United States United States
No Biography provided

You may also be interested in...

Comments and Discussions

 
RantElement HTCs with ViewLink are the sexiest thing to hit the web, EVER! Pin
froddy24-Apr-08 3:15
memberfroddy24-Apr-08 3:15 
GeneralThere is a fix for this... Pin
Tad Orman12-Nov-03 10:27
memberTad Orman12-Nov-03 10:27 
GeneralSolution Pin
CodeWrangler23-Oct-03 0:32
memberCodeWrangler23-Oct-03 0:32 
GeneralThis isn't a bug I'm afraid Pin
Captain Scarlet28-Mar-03 4:02
memberCaptain Scarlet28-Mar-03 4:02 
GeneralRe: This isn't a bug I'm afraid Pin
cowtram31-Mar-03 22:42
membercowtram31-Mar-03 22:42 
GeneralRe: This isn't a bug I'm afraid Pin
Captain Scarlet31-Mar-03 23:34
memberCaptain Scarlet31-Mar-03 23:34 
GeneralRe: This isn't a bug I'm afraid Pin
cowtram1-Apr-03 0:15
membercowtram1-Apr-03 0:15 
QuestionWhere is the source codes? Pin
psusong21-Mar-03 5:05
memberpsusong21-Mar-03 5:05 
AnswerRe: Where is the source codes? Pin
cowtram21-Mar-03 5:50
membercowtram21-Mar-03 5:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Cookies | Terms of Use | Mobile
Web02 | 2.8.190524.3 | Last Updated 21 Mar 2003
Article Copyright 2003 by cowtram
Everything else Copyright © CodeProject, 1999-2019
Layout: fixed | fluid