Interesting suggestion. Unfortunately, the content is more dynamic
them just text replacements. For example, there is a list of varying
length. Also just using template for 200 lines of text doesn't seem
very "tidy" to me.
On Aug 18, 3:19 am, Richard Quadling <rquadl...@googlemail.com> wrote:
> 2009/8/18 drewB <dbats...@gmail.com>:
> > I have 200 lines of an HTML snippet that I plan to convert to
> > I figure I could write some code that would take any block of HTML and
> > first one to think of this. Does anyone have some code that will do
> > this or know of a tool? I am looking for something like
> >http://www.smelzo.it/html2js/but using Prototype Elements instead of
> > Thanks!
> Once you've converted it to JS, what do you intend to do with it?
> If you are going to re-use it (say with different content), then maybe
> the Template mechanism within Prototype  would be what you are
> looking for.
> Richard Quadling
> "Standing on the shoulders of some very clever giants!"
> EE :http://www.experts-exchange.com/M_248814.html
> Zend Certified Engineer :http://zend.com/zce.php?c=ZEND002498&r=213474731
> ZOPA :http://uk.zopa.com/member/RQuadling
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to firstname.lastname@example.org
To unsubscribe from this group, send email to
For more options, visit this group at