Monday 20 February 2012

Calling a popup

For adding a popup in an anchor tag use the following code ( Tiles)

<a  NAME="Search Criteria Window" title=" Search Criteria " onclick=window.open('mypage.action',"Ratting",'width=800,height=250,left=150,top=200,toolbar=0,status=0,addressbar=0,');> my page </a>

For normal pages insted of mypage use mypage.jsp


For calling a full screen popup


onclick="theURL='#'; window.open(theURL, '', 'fullscreen=yes, scrollbars=yes' );"

No comments:

Post a Comment