Hey im trying to make a pop up window on my site, but it isnt working!
when i click on a link a text like this one appears in a new window:
javascript:openWindow(http://woj.fragism.com/members/dulli.htm
on the code in the fla i have this HTML code:
<p><i>Members List<br></i></p><p><a href=“javascript:openWindow(http://woj.fragism.com/members/dulli.htm,‘300’,'200’)”><font color=“ff0000”><i>CracK</font></a><br>CratycloS<br><a href=“javascript:openWindow(http://woj.fragism.com/members/rain.htm,‘300’,'200’)”><font color=“ff0000”>RaiN</font></a><br><br></i>Kitty<br>RioT<br>Fatality<br>Mallus<br>Uriel<br>Bananaman<br>ApoKlypse<br>MaX <br>Bos$<br>Sithlord<br><a href=“javascript:openWindow(http://woj.fragism.com/members/kit.htm,‘300’,'200’)”><font color=“ff0000”>kiTTy</font></a><br><a href=“javascript:openWindow(http://woj.fragism.com/members/brave.htm,‘300’,'200’)”><font color=“ff0000”>Braveheart</font></a><br>BlackZippy</p></p>
note, i have closed the javascript parenthesis!
on the page where i have the swf LOADINg the movie which should make the pop-ups i have this code:
<script type=“text/javascript”>
function openWindow(url, width, height) {
var xPos = (screen.width - width) / 2;
var yPos = (screen.height - height) / 2;
var conf = ‘left=’ + xPos + ‘,top=’ + yPos ‘,screenX=’ + xPos + ‘,screenY=’ + yPos + ‘,width=’ + width + ‘,height=’ + height;
newWin = window.open(url, conf);
}
</script>
now, does anybody see what the heck is wrong with this?
Thanks for reading this folks!