Quote:
Originally Posted by peterska2
ok, there is a simple reason for this. For your id you have
Code:
id="collapseobj_postbit_userinfo$post[postcount]"
and your image is
Code:
src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_postbit_userinfo].gif"
Those are different, but you cannot put
Code:
src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_postbit_userinfo$post[postcount]].gif"
as this is invalid code.
There isn't anything that you can do about this I'm afraid, unless you want them all to open and close regardless of which post you click on.
|
dang....that sucks
Is there ANY way around this? Is it possible to have any other variable in there? like...
Code:
src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_postbit_userinfo$x].gif"
where I define $x outside?