Menu
Hello all,
I have invented the following tool “New HTML tags”:
[url]http://4nf.org/
What do you think of it?
Thanks in advance and kind regards
What you need is some sort of server side pre-processor. And instead of using new tags you could use processing instructions, <? ... ?>. I'd bet that you could do a lot with something like that.[/QUOTE]
[CODE]<div id="fb-root"></div><jscript>(function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/de_DE/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</jscript><div class="fb-like" data-href="%js%window.location.href%sj%" data-send="true" data-width="450" data-show-faces="true"></div>[/CODE]
YEAH! I think you are onto something. You could even use it to define variables and interact with databases....OH! You could even use it to edit cookies and shorten smething like:
[CODE]<div id="fb-root"></div><jscript>(function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/de_DE/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</jscript><div class="fb-like" data-href="%js%window.location.href%sj%" data-send="true" data-width="450" data-show-faces="true"></div>[/CODE]
into <?=somevar;?> !!!
Seriously though, had you done the samething (make the library) in php, I would actually think it was decent. (Well, if you did it WELL)[/QUOTE]
0.1.9 — BETA 5.12