SpiderMonkey is the code-name for the Mozilla’s C implementation of JavaScript. This is useful to test part of our JavaScript from the console or in scripts.
In Debian we have a package called spidermonkey-bin.
SpiderMonkey is the code-name for the Mozilla’s C implementation of JavaScript. This is useful to test part of our JavaScript from the console or in scripts.
In Debian we have a package called spidermonkey-bin.
I recently have began to use Netbeans because I’m sad that Eclipse is every time slower and it frozes every time when you are doing something to fast.
Netbeans is not perfect, and there are some features that need to be polished (Ex.: SVN Support, Time Tracking like Mylyn), but the PHP/HTML/CSS/JS Support is excellent, in my opinion better than the Eclipse PDF support.
These is my netbeans_default_options for Netbeans for MacOSX (under Windows you can leave out the –laf switch, it’s for changing the look and feel):
Continue reading
Mootools para mi es uno de los frameworks javascript que mas me gustan y que estoy utilizando bastante ultimamente. El otro dia estaba buscando unas librerias interesantes para Mootols y me tope con las CNET Libraries, que son unas librerias OpenSource compatibles con Mootools 1.2
Las librerias cuentan con una buena documentacion y ejemplos, estan divididas en varias categorias:
Ultimamente estoy mirando de encontrar el mejor entorno de desarollo multiplataforma que me vaya bien para llevar los proyectos de webs. Finalmente el que me ha convencido ha sido Eclipse con los plugins para PHP/HTML/CSS/Javascript y SVN:
Lo unico que hace falta para instalarse todos los plugins, es bajarse el ultimo Eclipse e ir a “Help->Software Updates->Find and install…” y añadir los “Update Site” de cada uno bajo “Search for new features to install”.
Siguiendo con los problemas de ceñirse al XHTML 1.0 Strict me he encontrado que en la etiqueta ya no existe la propiedad target por lo tanto para abrir links en paginas nuevas es algo que se hace dificil. Pero googleando me encontre con esta solucion.
function externalLinks() { if (!document.getElementsByTagName) return; var anchors = document.getElementsByTagName("a"); for (var i=0; i++) { var anchor = anchors[i]; if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "external") anchor.target = "_blank"; } } window.onload = externalLinks;
Y luego lo unico que hay que hacer es usar rel=”external” en todos los links que se quieran abrir en ventanas nuevas