Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <!-- <meta http-equiv="refresh" content="5"> -->
- </head>
- <body>
- <script type="text/javascript">
- // define the function with your source as parameter
- function __exec(params) {
- // declare the object "vCont" to which you later want to "assign" the source content
- var vCont = document.getElementById('valContainer')
- vCont.innerHTML = params[1];
- }
- function openPopup(target,name,opts)
- {
- window.open(target,name,opts);
- }
- document.functionToBeCalled=function (parametre)
- {
- __macro(['Module1.recalculate']);
- //alert('damn');
- //__set('foo');
- }
- </script>
- <div id="valContainer" style="position: inherit; width: 200px; height: 200px;"></div>
- <a href="javascript:openPopup('/pr/custom/childWindow.html','','directories=no,menubar=no,status=no,location=no,scrollbars=no,resizable=no,width=200,height=200,fullscreen=no');">open me</a>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement