melvyn
Posts: 333
|
| Posted: 12/17/2008, 11:17 AM |
|
First workaround: Using a link.
Build a normal link. Set the paramaters as normal variables and (in the advanced tab) set the target frame as _blank.
That should open the link in a new window.
Second workaround: Using a custom javascript.
Create a label with the parameter you want. Place it anywhere. Test it as label (be sure it's calling the value you need). Check your label's name, by default it will be label1, label2, ... let's say you rename it as "MyLabel".
Switch to view html and you'll notice something like {MyLabel} within braces. Now, we'll move that from that place to where we need it
<div id="my-div" onclick="openMyWindow({MyLabel});">
show some data here
</div>
That will call the javascript function openMyWindow() passing the value you asigned.
if MyLabel is 37, it will receive openMyWindow(37)
Javascript code:
function openMyWindow(value){
window.open("mysecondmonitor.php?parameter="+value);
}
_________________
Melvyn Perez
Puro Codigo
http://purocodigo.com |