Load page into div
Tequila allow you to reuse any page you have made or generate, to get a page without CSS and JS dependencies:
Add to the task URL:
rrt=block
i.e.
1 loadurlinlayer('index.php?task=your-task&mode=your-mode&rrt=block', 'your-layer-id');
You can use any Javascript framework or pure code to load this URL
Using JS and Tequila Ajax library:
1 function loadurlinlayer(url,layer) 2 { 3 var ajax = new AJAXTextAction (url, setlayercontent, layer); 4 ajax.doGet(); 5 } 6 function setlayercontent (response, layer) 7 { 8 l = getCtrl(layer); 9 l.innerHTML = response; 10 }
* loadurlinlayer is not part of the library feel free to copy it to your JS file