Page 1 of 1

Email tag v1.1

Posted: Thu Dec 14, 2006 8:25 pm
by Akrabat
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...

Re: Email tag v1.1

Posted: Mon Dec 18, 2006 10:16 pm
by fredt
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

Code: Select all

<object><noscript><div style="display:inline">no javascript, no e-mail!</div></noscript></object>
(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...