|
#1
|
||||
|
||||
Show/Hide Sample in details.php problem
Hi,
I tried to change the show/hide from the poster to show/hide the youtube sample but don't works, now the youtube sample don'w shows, there is just the show/hide icon but don't works Here is my code from the poster: Code:
if (!empty($row["poster"])) tr("Poster", "<a href=\"javascript: klappe_news('a".$array['id']."')\"><img border=\"0\" src=\"pic/plus.gif\" id=\"pica".$array['id']."\" alt=\"Show/Hide\"></a> <u>[Show/Hide]</u><div id=\"ka".$array['id']."\" style=\"display: none;\"><p><img src='".$row["poster"]."' border=\"1\" width=\"400\" ></div>", 1); else tr("Poster:", "<img src=poster.jpg>", 1); Code:
if (!empty($row["tube"])) tr("Sample:", "<a href=\"javascript: klappe_news('a".$array['id']."')\"><img border=\"0\" src=\"pic/plus.gif\" id=\"pica".$array['id']."\" alt=\"Show/Hide\"></a> <u>[Show/Hide]</u><div id=\"ka".$array['id']."\" style=\"display: none;\"><embed src='". str_replace("watch?v=", "v/", htmlspecialchars($row["tube"])) ."' type=\"application/x-shockwave-flash\" width=\"500\" height=\"410\"></embed></div>", 1); else tr("Sample:", "Sorry, no sample for this!", 1);
__________________
|
#2
|
||||
|
||||
try this
Code:
if (!empty($row["tube"])) tr("Sample:", "<a href=\"javascript: klappe_news('a4".$array['id']."')\"><img border=\"0\" src=\"pic/plus.gif\" id=\"pica".$array['id']."\" alt=\"Show/Hide\"></a> <u>[Show/Hide]</u><div id=\"ka4".$array['id']."\" style=\"display: none;\"><embed src='". str_replace("watch?v=", "v/", htmlspecialchars($row["tube"])) ."' type=\"application/x-shockwave-flash\" width=\"500\" height=\"410\"></embed>", 1); else tr("Sample:", "Sory no sample !", 1);
__________________
only me |
The Following User Says Thank You to Timisoreanul For This Useful Post: | ||
lovebeer (7th March 2010)
|
#3
|
||||
|
||||
Thanks now works
__________________
|
Tags |
detailsphp , problem , sample , show or hide |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Show/Hide News Don't Work | mat22 | Yuna Scatari Edition (YSE) | 2 | 14th June 2010 12:18 |
Details Youtube Problem | saggy00 | Template Shares | 1 | 13th April 2010 05:29 |
Forum and details problem | agita | TBDev | 0 | 13th March 2009 12:08 |
Hide profile | PuterDude | Torrent Strike | 6 | 6th October 2008 15:58 |