I'm not sure who uses it, but I was very kindly sent an update to my email obfusication smarty tag, so I've stuck it up on the forge.
Regards,
Rob...
Email tag v1.1
Re: Email tag v1.1
Well, after
sending this update and putting all together, I tried to submit my new design to W3C Validator - and had some problems with the no javascript, no email ! thing.
After some struggling... now I have
(it's between tag... don't ask me why it works, but it does... "better" is not always simpler...)
and btw I removed the previous
tag which could lead to confusion.
So, now it validates !
Sorry for the inconvenience, next time I'll try it before publishing !
[update (updated)]: without the inner , it only validates with Transitional... which wasn't enough. I went on enhancing it again...
[update 2] : this version works in Strict mode... and curiously
, still works in Transitional mode...

After some struggling... now I have
Code: Select all
<object><noscript><div style="display:inline">no javascript, no e-mail!</div></noscript></object>
and btw I removed the previous
tag which could lead to confusion.
So, now it validates !

Sorry for the inconvenience, next time I'll try it before publishing !
[update (updated)]: without the inner , it only validates with Transitional... which wasn't enough. I went on enhancing it again...
[update 2] : this version works in Strict mode... and curiously

Last edited by fredt on Mon Dec 18, 2006 10:46 pm, edited 1 time in total.