onClick in php document?
Posted: Tue Mar 25, 2008 1:47 pm
Hi,
I have this problem with a flashbutton I have made. I need to link this (when clicked) to a newtopic page in my forum.
The problem is this. onClick function doesnt work? have I done anything wrong or is there any other way to make this link? <a href=""> doesnt work with objects...
I have this problem with a flashbutton I have made. I need to link this (when clicked) to a newtopic page in my forum.
Code: Select all
$actions.="<object onClick='location.href=('http://www.bluefire-studio.com/index.php?site=forum&addtopic=true&board=".$board."')' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='60' height='20'>
<param name='movie' value='site_images/forum_buttons/new_topic.swf'>
<param name='quality' value='high'>
<embed src='site_images/forum_buttons/new_topic.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='60' height='20'></embed></object>";