Skip to main content

Home/ javascript/ Group items tagged scripting

Rss Feed Group items tagged

Javier Neira

Michael Sharman - chapter31 » Including js files from within js files - 1 views

  •  
    01.//this function includes all necessary js files for the application 02.function include(file) 03.{ 04. 05. var script = document.createElement('script'); 06. script.src = file; 07. script.type = 'text/javascript'; 08. script.defer = true; 09. 10. document.getElementsByTagName('head').item(0).appendChild(script); 11. 12.} 13. 14./* include any js files here */ 15.include('js/myFile1.js'); 16.include('js/myFile2.js');
Andrey Ershov

Web design, development and marketing - ILoveJackDaniels.com - 0 views

  • Latest article, posted in User Scripts, 5 days ago A user script for Opera and Firefox that automatically numbers Google search results. Updated 16 Nov 2006 following changes to Google results page code.   Continue reading Numbered Google Results User Script | 12 comments
Javier Neira

Bind Multiple Controls to a Single Event in jQuery - 0 views

  •  
    Multiple Elements Single Event
aghaaliabbas

Classifieds Script | Classified Script - 0 views

  •  
    Launch your classfied ads website with few clicks. A powerful php script with 12 professional themes. A complete solution to your needs.
Javier Neira

JavaScript EE, Part 1: Run JavaScript files on the server side - 0 views

  • freedom to use the same JavaScript routines on both servers and clients. In addition, the techniques presented throughout this series will allow you to maintain a single code base for both Ajax and non-Ajax clients
  • This double-coding issue can be avoided by using JavaScript combined with Java code on the server side, getting full support of scripting languages through the javax.script API. In addition, the Java SE Development Kit (JDK) 6 already includes Mozilla's Rhino JavaScript engine, which means no setup is required.
  • the toSource() method, which all JavaScript objects must have.
  • ...5 more annotations...
  • engine.eval(scriptReader, vars);
  • sun.org.mozilla.javascript.internal.NativeObject
  • all data exchange between the Java code and the executed script should be done through primitive variables, strings, and Java objects (for example, beans) whose properties and methods can be accessed very easily in the JavaScript code. Simply said, don't try to access native JavaScript objects in your Java code. Use Java objects in the JavaScript code instead.
  • Note that javax.script.Invocable is an optional interface, which some script engines may not implement. The JavaScript engine that comes with JDK 6 does support this interface.
  • you can significantly reduce the execution time by compiling the scripts, using the methods provided by another optional interface named javax.script.Compilable, which is supported by the JavaScript engine of JDK 6.
yc c

HTML & JavaScript Encoder/Decoder - 1 views

  •  
    Encoding/Decoding Escape/Unescape These scripts are intended to explain how to "hide" HTML and/or javascript from other people who view your page's source code. It is not foolproof, but it does make it more difficult to read and understand the source code. Due to the nature of how these scripts work, the explanation may seem complicated and drawn out, but be patient and it should make sense once you gain a little experience with them. You don't really have to know the ins-and-outs of these scripts, but it does help you understand how and why they work. So, take a seat and I'll do my best to make this seem as un-complicated as possible.
qualitypoint Tech

SimplytheBest Scripts - 3 views

  •  
    Simply the Best Scripts. A collection of the best scripts on the Web
yc c

JavaScript & Ajax :: Chapter 17: Bookmarklets - 3 views

  •  
    Clicking on any of these tasks will take you to a page where you can run the script or copy the script code and its associated images.
Javier Neira

JavaScript setTimeout Function - JavaScript Timing Events - 0 views

  •  
    JavaScript setTimeout Function - JavaScript Timing Events November 16, 2007 by Blogging Developer JavaScript features a couple of methods that lets you run a piece of JavaScript code (javascript function) at some point in the future. These methods are: * setTimeout() * setInterval() In this tutorial, I'll explain how setTimetout() method works, and give a real world example. You may find the details of setInterval() method in JavaScript setInterval Function - JavaScript Timing Events setTimeout() window.setTimeout() method allows you to specify a piece of JavaScript code (expression) will be run after specified number of miliseconds from when the setTimeout() method is called. Syntax var t = setTimeout ( expression, timeout ); The setTimeout() method returns a numeric timeout ID which can be used to refer the timeout to use with clearTimeout method. The first parameter (expression) of setTimeout() is a string containing a javascript statement. The statement could be a call to a JavaScript function like "delayedAlert();" or a statement like "alert('This alert is delayed.');". The second parameter (timeout), indicates the number of miliseconds to pass before executing the expression. Example An alert box will be shown 5 seconds later when you clicked the button. clearTimeout() Sometimes it's useful to be able to cancel a timer before it goes off. The clearTimeout() method lets us do exactly that. Its syntax is: clearTimeout ( timeoutId ); where timeoutId is the ID of the timeout as returned from the setTimeout() method call.
qualitypoint Tech

Arts Point - Web Application for connecting Artists, Promoters and Viewers of Live Musi... - 1 views

  •  
    This Arts Point script is useful for connecting Promoters, Artists and Viewers of Live Music Events. Promoters can advertise about their Live music events in this application, and Artists can apply for any event of their choice. The promoters can choose suitable Artists for their Events. The viewers can search their favorite live music events easily.
qualitypoint Tech

Offer to buy exclusive rights of our Arts Point Script - 0 views

  •  
    Are you a web master or a company looking for a script which can help you earn money either by showing advertisements or by providing paid service?\n\nIf your answer is "yes", this blog post will be more useful for you.
Julian Knight

Chickenfoot - 0 views

  •  
    Scripting extension to Firefox. Adds direct Javascript plus extensions & a macro recorder. Seems to lack a built in security option. Manipulates the DOM object once rendered in FF. Complements Greasemonkey See also: CoScripter and iMacros
Julian Knight

CoScripter - 0 views

  •  
    Natural language script/macro addon for FF that makes web automation possible. No local security. See also: iMacros and Chickenfoot
Julian Knight

40+ Tooltips Scripts With AJAX, JavaScript & CSS | Smashing Magazine - 0 views

  •  
    Lots of ways to produce nice tooltips
Javier Neira

InfoQ: ECMAScript 5 released - 1 views

  • The introduction of strict mode aims to avoid common coding problems in ECMAScript applications. This is achieved with the presence of a lone string literal in a unit (script or function): "use strict;"
  • for either the entire script (if at the top of the script) or for a single function (if the first part of a function).
  • var i=3 is needed
  • ...10 more annotations...
  • and introducing new variables through eval cannot occu
  • delete cannot be used against arguments, functions or variables or other properties with the configurable flag set to false
  • with statements, often a source of errors, are no longer used and considered syntax errors
  • Functions can no longer have duplicate arguments with the same name Objects can no longer have duplicate properties with the same name
  • Access to the global object becomes a runtime error
  • A new JSON object with parse and stringify to support efficient generation of JSON data; like eval but without the security implications of being able to reduce code
  • Array now has standard functions, such as indexOf(), map(), filter(), and reduce()
  • Object now has seal()
  • and freeze()
  • Object.getPrototypeof() returns the prototype of the given object
mahesh 1234

JSP Tutorial, JavaServer Pages Technology (JSP) - javatpoint - 0 views

  •  
    JSP Tutorial - Javatpoint website provides you a complete JSP tutorial with practical programming examples and easy steps using this beginner's tutorial containing basic to advanced knowledge of Java JSP Technology including Form Data, HTTP Request Header, Response Header, Scripting elements, Directive elements, Custom tags, Cookies Handling and Session Tracking.
Ivan Pavlov

Seed - GNOME Live! - 0 views

  •  
    Seed is a library and interpreter, dynamically bridging (through GObjectIntrospection) the WebKit JavaScriptCore engine, with the GObject type system. In a more concrete sense, Seed enables you to immediately write applications around a significant portion of the GNOME platform, and easily embed JavaScript as a scripting-language in your GObject library.
1 - 20 of 80 Next › Last »
Showing 20 items per page