Tabs Demos. MochiKit - A lightweight Javascript library. « JavaScript DHTML Tutorials. It is a One Level Menu with Timeout effect. If you are looking for advanced script, see the Multi-Level Drop-Down Menu based on simple treelike unordered list. Internet has a lot of scripts with the name "Drop Down Menu". One day I needed to make such menu for my site. I have rummaged a heap of sites and archives with scripts.
And not found what I looked for. And I just wrote this simple script: Sample This menu can be located anywhere on the page: HTML Code HTML code is very simple and without tables. Parent items and hidden layers have unique identifiers. CSS Code <li> tag have loat: left; declaration. sumbmenu layer have visibility: hidden; and position: absolute;.
Everything else is usual decoration: JavaScript Code Insert this code between your <head></head> tags. Thats it! TypeSet. This is an implementation of the Knuth and Plass line breaking algorithm using JavaScript. The goal of this project is to optimally set justified text in the browser, and ultimately provide a library for various line breaking algorithms in JavaScript. The paragraph below is set using a JavaScript implementation of the classic Knuth and Plass algorithm as used in TeX. The numbers on the right of each line are the stretching or shrinking ratio compared to the optimal line width. This example uses a default space of 1/3 em, with a stretchability and shrink-ability of 1/6 em and 1/9 em respectively. The following paragraph is set by a browser using text-align: justify.
Notice the lines in the paragraph have, on average, greater inter-word spacing than the Knuth and Plass version, which is successful at minimizing the inter-word spacing over all lines. The browser also ends up with ten lines instead of the nine lines found by the Knuth and Plass line breaking algorithm. Examples To-do References. Crontab Code Generator. About Crontab Code Generator JSL Crontab Generator is a GUI application that can be used to create new crontab entries easily. Cron is a automation tool for Linux systems... Cron is the name of program that enables unix users to execute commands or scripts (groups of commands) automatically at a specified time/date. It is normally used for sys admin commands, like makewhatis, which builds a search database for the man -k command, or for running a backup script, but can be used for anything. A common use for it today is connecting to the internet and downloading your email.Newbie Introduction to Cron cron is driven by a crontab, a configuration file that specifies shell commands to run periodically on a given schedule. crontab syntax Each line in a crontab file is a job and follows a particular format as a series of fields, separated by spaces or tabs(see example below).
Crontab Operators There are multiple ways of specifying several date/time values in a field: Fields Apache Example. Useful JavaScript and jQuery Tools, Libraries, Plugins - Smashing Coding. Advertisement Recently we’ve been receiving more requests for carefully selected, useful round-ups. We try to avoid round-ups on Smashing Magazine, but sometimes the format is useful and — if the resources are relevant — can be extremely helpful. Besides, we are glad to drive traffic to some obscure, yet useful resources and thus support the developers of these resources.
In this round-up, you’ll find some of the useful JavaScript and jQuery tools, libraries and plugins that we have stumbled upon recently. Hopefully, you’ll find them valuable for your upcoming projects. Among other things, you’ll find handy services and online utilities, recently released JavaScript libraries and jQuery plugins. You might want to take a look at the following related posts: Useful JavaScript Libraries Blackbird: Open Source JavaScript Logging Utility6Blackbird offers a dead-simple way to log messages in JavaScript and an attractive console to view and filter them. SlickGrid! JavaScript Tools and Utilities. 12 Wesbite to Learn jQuery. Jquery is a great way to get a lot of cool things to happen on your website. You must take the time to learn it, in this post I give you 12 Wesbites to Learn jQuery.
This is just to get your feet wet its always best to take a class or pick up a book. If you have move websites feel free to post it by leaving a comment. jquery-mix.com jqueryfordesigners.com 15daysofjquery.com jqueryking.com addyosmani.com docs.jquery.com tutorialzine.com visualjquery.com jquerystock.com developphp.com jquerystyle.com marcgrabanski.com. JavaScript: The World's Most Misunderstood Programming Language. Douglas Crockford www.crockford.com JavaScript, aka Mocha, aka LiveScript, aka JScript, aka ECMAScript, is one of the world's most popular programming languages. Virtually every personal computer in the world has at least one JavaScript interpreter installed on it and in active use. JavaScript's popularity is due entirely to its role as the scripting language of the WWW. Despite its popularity, few know that JavaScript is a very nice dynamic object-oriented general-purpose programming language. How can this be a secret? Why is this language so misunderstood?
The Name The Java- prefix suggests that JavaScript is somehow related to Java, that it is a subset or less capable version of Java. JavaScript has a syntactic similarity to Java, much as Java has to C. JavaScript was not developed at Sun Microsystems, the home of Java. The -Script suffix suggests that it is not a real programming language, that a scripting language is less than a programming language.
Lisp in C's Clothing Typecasting. JavaScript Garden. Although JavaScript deals fine with the syntax of two matching curly braces for blocks, it does not support block scope; hence, all that is left in the language is function scope. function test() { // a scope for(var i = 0; i < 10; i++) { // not a scope // count } console.log(i); // 10} There are also no distinct namespaces in JavaScript, which means that everything gets defined in one globally shared namespace.
Each time a variable is referenced, JavaScript will traverse upwards through all the scopes until it finds it. In the case that it reaches the global scope and still has not found the requested name, it will raise a ReferenceError. The Bane of Global Variables // script Afoo = '42'; // script Bvar foo = '42' The above two scripts do not have the same effect. Again, that is not at all the same effect: not using var can have major implications. // global scopevar foo = 42;function test() { // local scope foo = 21;}test();foo; // 21 Local Variables var foo = 3; bar = 4;}test(10); Hoisting. jQuery 1.4.3 Released. jQuery 1.4.3 is now out!
This is the third minor release on top of jQuery 1.4, fixing some bugs and landing some nice improvements. I would like to thank the following community members that provided patches and input for this release: Anton M., Justin Meyer, Colin Snover, Ryan Tenney, Louis-Rémi Babé, David Petersen, Rick Waldron, Dave Reed, John-David Dalton, temp01, Heungsub Lee, J. Ryan Stinnett, Robert Katic, Juriy Zaytsev, James Burke, Jeffery To, Carl Fürstenberg, Jacob Wright, Jeff Robinson, Christian C.
Salvadó, Andrée Hasson, Jason Webster, Dave Furfero, Adam Sontag, Travis Hardiman, DBJDBJ, and Ben Alman. Along with the following jQuery team members: Scott González, Brandon Aaron, Yehuda Katz, Dave Methvin, Karl Swedberg, Paul Irish, Ralph Whitbeck, Jörn Zaefferer, Richard Worth, Doug Neiner, and Mike Alsup. Downloading You can feel free to include the above URLs directly into your site and you will get the full performance benefits of a quickly-loading jQuery.
JSLint Modularity. jQuery Mobile. jQTouch — jQuery plugin for mobile web development. jQuery Fundamentals.