jsf - How to move a primefaces iframe lightbox? -


i have make draggable/moveable lightbox iframe

lightbox code:

<p:lightbox id="draggable" iframe="true" width="910px" height="500px" style="overflow:none" widgetvar="dlg" iframetitle="flight">            <h:outputlink value="/airproject/flightbooking.xhtml" title="flight" styleclass="linkbutton">      </h:outputlink>                   </p:lightbox> 

tried this(for moving)

<p:draggable for="draggable" /> 

and too:

<script type="text/javascript">  $(function() {   $( "#draggable" ).draggable();  }); </script> 

but these moving button not iframe popup. how drag/move iframe lighbox popup move p:dialog?

assuming lightbox's widgetvar is: lightboxwv

<script type="text/javascript">     $(function() {        pf('lightboxwv').panel.draggable()     }); </script> 

hope helps.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -