GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   a little php help (https://gfy.com/showthread.php?t=1007114)

fris 01-21-2011 11:29 PM

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>
i need to implement it into.

Code:

$showgallery .= 'in here';
any help would be greatful.

Brujah 01-21-2011 11:33 PM

looks like javascript help to me, not php

Spunky 01-21-2011 11:37 PM

It will never work,adapt or die

nenad007 01-22-2011 12:15 AM

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>';

nenad007 01-22-2011 12:46 AM

saw small bug above, here the right one:

PHP Code:

$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>'



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