Wiadomosc od Elif Guner z 2006-10-03 22:13 brzmiala:
Is there a way to get the portlet fragment's parent and give it a
style dynamicaly within the portlet?
Such as: when I add a portlet it's put inside a <div> like : <div
class="portal-layout-cell portal-layout-cell-ThreeColumns-0-0" >
What I'd like to do is style this <div> within my portlet. As in, make
its style float:left, or clear: left etc.
Is this possible? I tried to use the ContentFragment but it doesn't
have a method to get the parent.
Any help?
Modify a portlet decorator and add some id attribute to a fragment's
containing element (e.g. a fragment id in PSML). Then access this
element with JavaScript (document.getElementById(...)) and modify its
style.
--
pozdrawiam,
Jacek Wislicki
[EMAIL PROTECTED]
http://www.nauka-biznes.org.pl/jetspeed/portal/
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]