The Ultimate HTML tags generator |
[eluser]Blaze Boy[/eluser]
i have wrote an article about tag(), it's a function that generates HTML, and here is the introduction: Quote:If we want to generate HTML using controller or even view files we can do that in two ways: The rest of article+code On my blog : http://www.blazeboy.com/wordpress/2010/0...extension/ i hope to get some reviews ![]()
[eluser]jeffpeck[/eluser]
That's very clever. It reminds of the Scriptaculous Builder class where you can nest elements and have it build them, although much nicer to implement something like this on the server side when possible. It is nice that you can set an initial indent. I did not check closely, but it seems that it would produce very neat HTML.
[eluser]Blaze Boy[/eluser]
if you have any ideas for accelerating or addition please tell me, i want some regular expression to extract class name and ID from selector, any ideas ? |
Welcome Guest, Not a member yet? Register Sign In |