spring mvc - How to do page transitions in a popup using jquery? -
we have web application uses jquery. have add new module open in popup. pages in module open in same popup window using ajax.
we have pages add/edit/list/search pages. want these pages loaded in same popup.
is possible page transition in popup. using spring mvc.
edit 1
its click on link in menu, open popup. popup have few more buttons take new screens in same popup. have used ajax update small portion of screen. used use divs , spans this. how replace entire popup page new page many html components.
as far have used ajax, when remote calls, server side methods return data object json in response can used in client side update area of page.
can return entire page in response server side?
please help.
ajax can work in 2 way:
- return json object used update content in page
- return html used replace content in page
if use ajax replace entire page, links inside page need use ajax same.
an easier approach might use iframe overlay, can have content act normal page. links within iframe work normal links, updating iframe area.
Comments
Post a Comment