toolmanwill
05-06-2010, 02:32 PM
i have modified the code of a collapse box template to run in php file.
Problem is i cant get the collapse button img to show and am not 100% sure how to fix it
Here is the code if someone could tell me what i should put in place if the {vb} stuff to make this work
$s1.="<div id='shownfo' class=\"block collapse\">\n";
$s1.="<h2 class=\"blockhead\" style=\"text-align: center\">Show me NFO: ".$attachment[filename]."</h2>";
$s1.="<a class=\"collapse\" id=\"collapse_sn_dummy\" href=\"#top\" style=\"top:10px\"><img src=\"".$stylevar[imgdir_button]."/collapse{vb:raw vbcollapse.collapseimg_sn{vb:raw myid}_dummy}.png\" alt=\"\" title=\"$vbphrase[collapse_this_category]\" /></a>";
$s1.="<ul id=\"sn_dummy\" style=\"display:none\" class=\"trackerlist\">";
$s1.= "<img src=\"nfos/".str_replace('.nfo','.png',$attachment[filename] )."\">";
Problem is i cant get the collapse button img to show and am not 100% sure how to fix it
Here is the code if someone could tell me what i should put in place if the {vb} stuff to make this work
$s1.="<div id='shownfo' class=\"block collapse\">\n";
$s1.="<h2 class=\"blockhead\" style=\"text-align: center\">Show me NFO: ".$attachment[filename]."</h2>";
$s1.="<a class=\"collapse\" id=\"collapse_sn_dummy\" href=\"#top\" style=\"top:10px\"><img src=\"".$stylevar[imgdir_button]."/collapse{vb:raw vbcollapse.collapseimg_sn{vb:raw myid}_dummy}.png\" alt=\"\" title=\"$vbphrase[collapse_this_category]\" /></a>";
$s1.="<ul id=\"sn_dummy\" style=\"display:none\" class=\"trackerlist\">";
$s1.= "<img src=\"nfos/".str_replace('.nfo','.png',$attachment[filename] )."\">";