Saqib,

If I understand your question correctly, you're trying to control the list 
available paragraphs on a page, from another page, which happens to be 
"iframed" in the first ?

If so, I'm assuming both are Magnolia pages ? I know I'm not answering your 
question, but may I ask why you use frames at all, then ?

-g

On Nov 8, 2010, at 15:57, <[email protected]> 
<[email protected]> wrote:

> 
> 
> Any thoughts please?
> 
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> [email protected]
> Sent: 05 November 2010 13:44
> To: [email protected]
> Subject: [magnolia-user] How to hide "Text and Image" Paragraph.
> Importance: High
> 
> 
> 
> Hello All,
> 
> Is there anyone who can help please?
> 
> Actually, in a web page there are two paragraphs. First paragraph is of
> "Text and image" and another paragraph is an "Iframe". So, on the web
> page "Iframe" contains a table which contain for example Product
> Information like have column "Product Name", "Product Value" and there
> are other columns are that links to other pages (jsp files) like "Edit
> Product" etc. 
> 
> Now what we want is that the first page should have both "Text and
> Image" and "Iframe" paragraphs but when the user click on any link in
> the "Iframe" for example if user clicks on "Edit Product" then the web
> page should not show "Text and Image" paragraph that is above an
> "Iframe" paragraph. I have tried to implement it by putting (
> "parent.document.getElementId("TextImageParagraph").style.visibility =
> "hidden" ) on "onClick" javascript event on link that is appearing in an
> "Iframe" but It does not work.
> 
> There can be another solution that setting a flag in the magnolia
> repository for example creating a node data named as
> "isTextImageParagraphVisible" that should have value "true" or "false"
> that can be set in a class that is called on "Edit Product" and we can
> put the "Text and Image" in a custom jsp that should have a check of
> "isTextImageParagraphVisible" flag but again that when you click in an
> "Iframe" it does not reload the whole web page.
> 
> Have you got any solutions please?
> 
> Thanks.
> 
> Saqib.
> 
> --
> This e-mail and any attachments may contain confidential, copyright and
> or privileged material, and are for the use of the intended addressee
> only. If you are not the intended addressee or an authorised recipient
> of the addressee please notify us of receipt by returning the e-mail and
> do not use, copy, retain, distribute or disclose the information in or
> attached to the e-mail.
> Any opinions expressed within this e-mail are those of the individual
> and not necessarily of Diamond Light Source Ltd. 
> Diamond Light Source Ltd. cannot guarantee that this e-mail or any
> attachments are free from viruses and we cannot accept liability for any
> damage which you may sustain as a result of software viruses which may
> be transmitted in or with the message.
> Diamond Light Source Limited (company no. 4375679). Registered in
> England and Wales with its registered office at Diamond House, Harwell
> Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United
> Kingdom
> 
> 
> 
> 
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
> 
> 
> --
> This e-mail and any attachments may contain confidential, copyright and or 
> privileged material, and are for the use of the intended addressee only. If 
> you are not the intended addressee or an authorised recipient of the 
> addressee please notify us of receipt by returning the e-mail and do not use, 
> copy, retain, distribute or disclose the information in or attached to the 
> e-mail.
> Any opinions expressed within this e-mail are those of the individual and not 
> necessarily of Diamond Light Source Ltd.
> Diamond Light Source Ltd. cannot guarantee that this e-mail or any 
> attachments are free from viruses and we cannot accept liability for any 
> damage which you may sustain as a result of software viruses which may be 
> transmitted in or with the message.
> Diamond Light Source Limited (company no. 4375679). Registered in England and 
> Wales with its registered office at Diamond House, Harwell Science and 
> Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
> 
> 
> 
> 
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to