Web / Programming / JavaScript - WebReference.com JavaScript is an easy-to-use programming language that is common on Web pages. It can enhance the dynamics and interactive features of your site with small amounts of code. Ajax (Asynchronous JavaScript and XML), is a group of inter-related Web development techniques (including JavaScript, PHP, among others) used for creating interactive Web applications. Dojo.behavior: Write Modularized HTML Document Event Handling The dojo.behavior module provides a simple and lightweight mechanism for listening to HTML document events. Find out what makes dojo.behavior one of the best event handling mechanisms around. The Dojo Publish/Subscribe Event Mechanism Learn how to use the Dojo Toolkit's versatile ContentPane widget to load dynamic content into your Web pages. Post a Message on a Facebook Wall with JavaScript Allowing your visitors to easily post links to your website on Facebook can really boost traffic. Loading Dynamic HTML Content Using the Dijit ContentPane Working with DataGrids in jQuery
Meyer CSS reset The goal of a reset stylesheet is to reduce browser inconsistencies in things like default line heights, margins and font sizes of headings, and so on. The general reasoning behind this was discussed in a May 2007 post, if you're interested. Reset styles quite often appear in CSS frameworks, and the original "meyerweb reset" found its way into Blueprint, among others. The reset styles given here are intentionally very generic. There isn't any default color or background set for the body element, for example. In other words, this is a starting point, not a self-contained black box of no-touchiness. If you want to use my reset styles, then feel free! Previous Versions v1.0 (200802) Acknowledgments Thanks to Paul Chaplin for the blockquote / q rules.
Screenshot Web Pages That Suck - learn good web design by looking at bad web design - Home Page CSS Tabbed Navigation This page demonstrates a pure CSS method to generate a 'Tab' style interface (see here for more). It first uses the trick of an inline list to generate the tabs. To get the tabs to really look the part - the 'active' tab needs to blend into the 'content' area. This is achieved by giving the active tab a different class, and changing its properties (border-bottom and background) accordingly. Because the purpose of the tab interface is to 'guide' the user as to their present location, these small features do actually improve the 'usability' of the tab structure. The code is very simple, the CSS is embedded to let you see 'under the hood'. Note that for IE5/5.5 you probably need to add hacks to the CSS to overcome their bugs, I would have done it but I'm tired of box-model hacks... I have also made a second version, but with the tabs part of an overlying banner, and fixed so that the tabs always stay visible.
K-Meleon CSS layouts: liquid, fluid, elastic, flexible... One clean HTML markup, many layouts... xhtml.ru has a copy of this article in Russian It is this thread (title: "one template to rule them all") on the CSS-Discuss List that initiated this article. The original post included a link to a document that contained a set of images representing different layouts, the question was:"Is it possible to have one HTML file, and style these pages this way only with CSS?". So here we go... The (X)HTML markup: Let's start with the strict minimum: <div id="header">header</div> <div id="menu">menu</div> <div id="content">content</div> <div id="sub-section">sub-section</div> <div id="footer">footer</div> With some background colors, they look like this: The Layouts: Half of the thumbnails below match the layouts published on geocities, I just came up with a few others. While browsing these pages, keep in mind that these documents do not contain any: wrapper. element for clearing.Conditional Comment.CSS filter.position declaration. overflow:hidden The Gallery:
Microsoft launches Tafiti - Search and Silverlight experiment - Tafiti, an experimental demonstration site that combines Live Search with Silverlight has just been launched. It’s described as follows: Tafiti, which means “do research” in Swahili, is an experimental search front-end from Microsoft, designed to help people use the Web for research projects that span multiple search queries and sessions by helping visualize, store, and share research results. Search results are presented in the central column, with the right hand “shelf” available to save result you are interested in via drag and drop. Tafiti also features a tree view, allowing users to visualise the search results in a more “Web 2.0 / tags” kind of way. Go give Tafiti a try and let us know what you think. Tafiti Homepage | On10 video
Simple 2 column CSS layout This is a tutorial on how to use CSS to create a simple two column layout. If you want to create a three column layout, read on as this tutorial explains a basic concept that can be used to create as many columns as you need. When you’re done, take a look at How to create a 3-column layout with CSS. The layout consists of a header, a horizontal navigation bar, a main content column, a sidebar, and a footer. It is also horizontally centered in the browser window. To see the full CSS used for each step, view source on the example documents. 1. First of all, we create the basic HTML structure: After that, we put some content in the different sections: <div id="wrap"> <div id="header"><h1>Document Heading</h1></div> <div id="nav"> <ul> <li><a href="#">Option 1</a></li> <li><a href="#">Option 2</a></li> ... Now we have a completely unstyled HTML document which is structured in a way that lets us use CSS to control its layout. View step 1. 2. View step 2. 3. View step 3. 4. View step 4. 5. 6. 7. 8.