![]() |
a little php help
i have a link like so
Code:
<a href="#" onclick="return hs.htmlExpand(this, { src: '<?php echo $myplayer;?>', objectType: 'swf', width: 560, objectWidth: 560, objectHeight: 280, maincontentText: 'You need to upgrade your Flash player',swfOptions: { version: '7' ,params: {wmode: 'transparent'}, flashvars: { playOnStart: 'true', MediaLink: '<?php echo $vlink;?>'},} } )" class="highslide">link</a> Code:
$showgallery .= 'in here'; |
looks like javascript help to me, not php
|
It will never work,adapt or die
|
if I understand you correctly you need to do it this way:
$showgallery .= '<a href="#" onclick="return hs.htmlExpand(this, { src: \''.$myplayer.'\', objectType: \'swf\', width: 560, objectWidth: 560, objectHeight: 280, maincontentText: \'You need to upgrade your Flash player\',swfOptions: { version: \'7\' ,params: {wmode: \transparent\'}, flashvars: { playOnStart: \'true\', MediaLink: \''.$vlink.'\'},} } )" class="highslide">link</a>'; |
saw small bug above, here the right one:
PHP Code:
|
All times are GMT -7. The time now is 03:14 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123