hotkarl!
01-17-2002, 12:13 PM
Hello again!
Okay...
I made a dt-field that loads a .txt file. Now i want to make a link in that .txt file that opens a popup window... This is the code i used now..
text=<Font Color="#000000">
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<a href="javascript:;" onClick="MM_openBrWindow('url.html','popup','scrollbars=yes ,width=800,height=500')">Click me</a></p>
....But when i test it, it just opens a normal (blank) window.. Do i need to insert different tags, 'cause it's html inside flash??
Or can't a popup be done at all??
Thanx every1!!!
Okay...
I made a dt-field that loads a .txt file. Now i want to make a link in that .txt file that opens a popup window... This is the code i used now..
text=<Font Color="#000000">
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<a href="javascript:;" onClick="MM_openBrWindow('url.html','popup','scrollbars=yes ,width=800,height=500')">Click me</a></p>
....But when i test it, it just opens a normal (blank) window.. Do i need to insert different tags, 'cause it's html inside flash??
Or can't a popup be done at all??
Thanx every1!!!