Hi Phi,
Thanks for your response. It was achieved in the SVG root element with
attribute: pointer-events='none'.
Using javascript:
DocRPF.documentElement.setAttribute('style','pointer-events:none');
:-) James

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of Phi Tran
Sent: Thursday, 03 August 2006 2:18 PM
To: [email protected]
Subject: Re: [svg-developers] disable SVG interaction



On 8/2/06, jack2wsx <james.haritos@ <mailto:james.haritos%40auspost.com.au>
auspost.com.au> wrote:
>
> I have a button which opens an SVG that is normally interactive into
> a new window for printing purposes. In this new print preview type
> window the SVG is in an IFRAME and it should not be interactive -
> particularly meaning that the hyperlinks within this SVG can not be
> clicked or activated relocating the frames contents.
>
> I have the parent of the iframe preventing clicks by doing this:
> <body onclick='return false;'>
>
> this works great but the SVG in the iframe is still clickable. I
> have tried setting the iframe's disabled property to true:
>
> document.frames('EmbedRPF').disabled = true;
>
> I also tried this on the embed object:
> document.frames('EmbedRPF').window.document.embeds(0).disabled =
> true;
>
> ...no success either.
>
> Any ideas please help?
>
> 
>

If you use ASV then you have no luck on using DOM as wrapper to disable
mouse event. I think??.

Because it is a System's Window. The OS dispatch those message to that
window.

IF that is the case, then it gives you is only one option to do something on
the SVG before it's submitted.

Hope this help.

Phi
-- 
Phi - Tran
Hugely increase your speed, saving your band-width with ZipProtocol
plus crystal clear SVG Rendering image at
HTTP://oneplusplus. <HTTP://oneplusplus.com> com

[Non-text portions of this message have been removed]



 



Australia Post is committed to providing our customers with excellent service. 
If we can assist you in any way please telephone 13 13 18 or visit our website.

The information contained in this e-mail communication may be proprietary, 
confidential or legally professionally privileged.  It is intended exclusively 
for the individual or entity to which it is addressed. You should only read, 
disclose, re-transmit, copy, distribute, act in reliance on or commercialise 
the information if you are authorised to do so. Australia Post does not 
represent, warrant or guarantee the integrity of this e-mail communication has 
been maintained nor that the communication is free of errors, virus or 
interference. 

If you are not the addressee or intended recipient please notify us by replying 
direct to the sender and then destroy any electronic or paper copy of this 
message. Any views expressed in this e-mail communication are taken to be those 
of the individual sender, except where the sender specifically attributes those 
views to Australia Post and is authorised to do so.

[Non-text portions of this message have been removed]



-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to