Posts Tagged ‘text javascript

When coding WordPress themes, especially if you do it regularly, its really useful to have a selection of code snippets in your toolbox to just ‘copy-n-paste’ as and when the functionality needs. Not just your most commonly used code, but also some snippets that can, when required, extend WP even further. A few months back [...]

Use the correct <script> tag When you have to use some Javascript in an html file, you should always use the following <script> tag: <script type=”text/javascript”> … some JS code </script> But instead, how many times have you seen this when looking at the source code? <script type=”text/javascript” language=”javascript”> … some JS code </script> In [...]

Here’s a live blog from jQuery creator John Resig’s talk at FOWA, where he’s giving us an update on the new toys from the jQuery team. Data Link jQuery already supports a data API: PLAIN TEXT JAVASCRIPT: $(“div”).data(“test”, 5); $(“div”).data(“test”)===5; $(“div”).removeData();   This is better than attaching data directly to data nodes for various reasons, [...]

Firefox 4 is going to be a very exciting release. Robert O’Callahan details one of the new features, which should help animation, called mozRequestAnimationFrame. First the motivation: In Firefox 4 we’ve added support for two major standards for declarative animation — SVG Animation (aka SMIL) and CSS Transitions. However, I also feel strongly that the [...]

Did you know that work is being done to enable videoconferencing from HTML5 applications? Ian Hickson has been doing work on the element in a separate draft to make this possible. The element will be used to allow the user to give permission to a page to use a device, such as a video camera. [...]


About this blog

This blog delivers stylish and dynamic news for designers and web-developers on all subjects of design, ranging from: CSS, Ajax, Javascript, web design, graphics, typography, advertising & much more. Our goal is to help you communicate effectively on the web with an engaging website or functional interface.