Wanted to use popup across frames. 
Tiles defination: 

<definition name="x.y.z" path="/jsp/templates/template.jsp"> 
<put name="header" value="/jsp/tiles/header.jsp"/> 
<put name="menu" value="/jsp/tiles/menu.jsp"/> 
</definition> 

<definition name="l.m" extends="x.y.z"> 
<put name="title" value="title"/> 
<put name="header" value="/jsp/tiles/header.jsp"/>
 <put name="menu" value="/jsp/tiles/menu.jsp"/> 
<put name="lframe" value="/jsp/leftframe.jsp"/> 
<put name="rframe" value="/jsp/rframe.jsp"/> 
</definition> 


<frameset rows="8%,7%,*" cols="*" framespacing="0">
        &lt;html:frame marginheight=&quot;0&quot; marginwidth=&quot;0&quot;
page=&quot;&lt;%=headerJsp%&gt;" frameName="header" title="Header" 
scrolling="no" frameborder="no" noresize="true"/>
                &lt;html:frame marginheight=&quot;0&quot; 
marginwidth=&quot;0&quot;
page=&quot;&lt;%=menuJsp%&gt;" frameName="menu" title="Menu"  scrolling="no"
frameborder="no" noresize="true"/>
                <frameset cols="35%,*" framespacing="0" frameborder="yes">
                        &lt;html:frame page=&quot;&lt;%=leftFrameJsp%&gt;" 
frameName="frLeft"
styleId="frLeft" title="Tree"  scrolling="auto" marginheight="0"
marginwidth="0"/>
                        &lt;html:frame  page=&quot;&lt;%=rightFrameJsp%&gt;" 
frameName="frRight"
styleId="frRight" title="Body"  scrolling="auto" marginheight="0"
marginwidth="0" />
                </frameset>     
</frameset>



Inside leftframe.jsp

i am having the 
<div id="popup" style="display: none;"></div>
<div id="window" style="display: none;">
Some Content.
</div>

And the script to show and close popup

is function Show_Popup() {      
                $('#popup').fadeIn('fast');                     
                $('#window').fadeIn('fast');
        }
        function Close_Popup() {
                $('#popup').fadeOut('fast');
                $('#window').fadeOut('fast');
                
        }

1st--How will i get the popup at the center(It is comming over left frame
and fading in the leftframe only If i drag it also the lframe only getting
expanded with scroll a bar within the leftframe.)
2nd--How can i fade in/fade out all the frame and get the pop up at the
center and chould be draggable anywhere not for only the frame from which
initiated. 

--
View this message in context: 
http://struts.1045723.n5.nabble.com/Wanted-to-use-popup-across-frames-tp4598642p4598642.html
Sent from the Struts - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to