2 yabba Jun 08, 2007 10:37

I was looking through some files last night and I remember seeing that..will give it a shot thanks!
I tried this and apparently failed as I am not sure what section of the file I should be adding this?
Is there a reason (security I guess?) that some of these tags/code/whatever are not allowed by default?
You need to add onmouseover to the $allowed_attributes of whichever tags you want to use it on. For example, to allow it on the <a> tag, you'd need to alter these two lines ( approx 305 && 337 in conf/_formatting.php ) :
'a' => A_attrs.' charset type href hreflang rel rev shape coords onmouseover', // Strict
.....
'a' => A_attrs.' charset type href hreflang rel rev shape coords target onmouseover', // Transitional
¥
I think I found it. I can also add it to the IMG tag too right??
Thank you for your patience!
You can add it to any tags that you desire ;)
¥
You'd need to crack open conf/_formatting.php and add it to all the tags you want to use it on.
¥