PDA

View Full Version : DHTML Code not working. HELP!


Weapon-x
12-15-2006, 08:11 PM
<if condition="$post['field6']">
<div id="h2statsmenu_$post[postid]"><img src="$stylevar[imgdir_misc]/h2stats.gif" alt="View BF2 Stats">
<script type="text/javascript"> vbmenu_register("h2statsmenu_$post[postid]", true); </script>
</div>
<div class="vbmenu_popup" id="h2statsmenu_$post[postid]_menu" style="display:none"><iframe src="http://www.somesite.com/h2stats/stats.swf?playername=$post[field6]" scrolling="no" frameBorder="0" height="120" width="400">$post[field6]</iframe> </div>
</if>


It works in IE but not firefox. How do I get it to work in firefox?
This is going under the postbit_legency under the AIM,MSN,SKYPE,YAHOO Icons. So when someone clicks on the image it will load their H2 Stats within the forum.

But it does not work for me in firefox.

Weapon-x
12-17-2006, 01:55 PM
Can someone please assist me in some help.