Hello -
I'm trying to find a simple to use, shareware basic hierarchical Javascript based menu builder. I need to create a left side spring loaded menu with submenus that drop down and across (right direction ).
My menu data is in XML tree form, and I will be transforming it (via XSLT) into a...
Hi Simon -
Thx for your helpful thoughts! Here's how I solved my problem:
/****************************************/
function addCommentBox( idStr ) {
/* ~~~~~~~~~~~~~~~~~~~~~~ */
function buildStrArg( arg ) {
var escQuote = "\"";
return escQuote +idStr +escQuote;
}
var...
Hello -
How does one add a string variable argument to an event handler that is defined inside a string (typically used for setting innerHTML). Here's an example of what I'm trying to do: ( put idStr as a string arg to the onclick handler )
/****************************************/
function...
How does one get a string variable inside an event handler that is declared inside of a string used to set innerHTML?
See code below :
/****************************************/
function addCommentBox( idStr ) {
var el = document.createElement( "div" );
var input = "<INPUT...
Hi All -
Does anybody know if TextPad has a document outline capability? Outline is typically a listing of all functions and global variables, etc. for quick navigation. Thx for all the great inputs on this subject!
- Delvis
Hi All -
Textpad indeed looks like a useful product once you install the correct syntax files. The automatic block indentation feature is very helpful, however, it doesn't appear to have a way to reformat code, for example, if some lines lack incorrect indentation. There is a mouse right...
Hi All -
Thanks for the pointer to the javascript syntax files - however, there are a great deal of them - can anybody recommend a specific file and maybe why they prefer it over the other javascript syntax files? Thanks!
- Delvis
Hi BabyJeff -
Thx for your textpad suggestion - I downloaded it but it seems to support every script syntax in the known world, except for Javascript - you can certainly get away with using another syntax, such as Java, but then it won't recognize and distinctly color keywords like...
Hi All -
I forgot to mention that the Microsoft script debugger is a decent Javascript editor, with nice settable colors. The version that came on my WinXP machine works well, but the Win2K version doesn't work quite the same - it only provides colors, etc. if the script is embedded inside...
Hi RMuller -
I've been looking for exactly the same Javascript editor requirements - have you had any luck with Eclipse? My current project is using the IBM Websphere product (based on Eclipse), and it appears to have decent Javascript support : colors and document outline by functions for...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.