Okay, the Hide problem is solved.
But replacing the new code for image still has problem. When i replace it with the new code in your previous post, and check for the functionality, i get a page not found error when i clcik on the image. Also, when the page load, i get java script errors.
Thanks for any help.
cheers
Quote:
Today at 08:17 AM EvilLS1 said this in Post #83
You could use a regular button instead of the "hide" radio button to solve the problem.
Find this:
Code:
<input name="r2" type="radio" checked value="" onClick="toggleT('e$post[postid]','h')"><smallfont>Hide</smallfont>
Replace it with this:
Code:
<input name="r2" type="button" value="Hide" onClick="toggleT('e$post[postid]','h')">
As for the javascript error, try using this for the image button and maybe it'll fix it.
Code:
<a href="java script:return false;" onClick="toggleT('e$post[postid]','s') return false;"><img src="http://www.yoursite.com/forums/images/quickedit.gif" border="0"></a>
|