G
Giovanni Azua
Hi all,
I am building a site using maven and within my reports I get generated
automatically the java code
in HTML format see e.g.
http://perfectjpattern.sourceforge.net/xref/perfectjpattern/core/behavioral/observer/Subject.html
I would like to include in the documentation e.g. Observer pattern
documentation snippets of
example code taken from these xref generated reports. I would need (if
exists) a javascript
function that takes as argument (url, start, end) of an existing HTML page
and create sort of
a small frame that will display the code snippet. Something very similar to
how Oreilly Safari
displays code snippets but instead of hardcoding it, have such hypothetical
javascript function
copying it from the xref page.
Any ideas?
Regards,
Giovanni
I am building a site using maven and within my reports I get generated
automatically the java code
in HTML format see e.g.
http://perfectjpattern.sourceforge.net/xref/perfectjpattern/core/behavioral/observer/Subject.html
I would like to include in the documentation e.g. Observer pattern
documentation snippets of
example code taken from these xref generated reports. I would need (if
exists) a javascript
function that takes as argument (url, start, end) of an existing HTML page
and create sort of
a small frame that will display the code snippet. Something very similar to
how Oreilly Safari
displays code snippets but instead of hardcoding it, have such hypothetical
javascript function
copying it from the xref page.
Any ideas?
Regards,
Giovanni