background preloader

Www

Facebook Twitter

Online Color Scheme Generators. jQuery Impromptu. About jQuery Impromptu is an extension to help provide a more pleasant way to spontaneously prompt a user for input. More or less this is a great replacement for an alert, prompt, and confirm. Not only does it replace these but it also allows for creating forms within these controls. This is not intended to be a modal replacement, just a quick tool to prompt user input in a fashionable way. Options $.prompt( msg , options ) msg The message can either be an html string, or an object of "states". Html A string of html or text for the content buttons focus Index of the button to focus(0,1,2..). Submit A function to be called when the prompt is submitted. If a string is passed as the message in place of a state, buttons, focus, and submit will be substituted from the options below. options classes Add class names to the outer Impromptu shell (parent of the fade and prompt) Default: '' close A function to be called when the prompt is closed and just before being removed from the DOM.

Loaded opacity prefix. Jquery.event.drag. A jquery special event plugin that makes the task of adding complex drag interactions, to any element, simple and powerful. Overview The plugin works by using standard DOM events, and simulating custom events to create a drag interaction. It simplifies a recurring pattern of event interaction that can be fairly complex to design in a consistent, cross-browser manner. The drag interaction, while simple in most basic form, gets quite complex when introduced with issues of distance, handles, text selection, proxy elements, click suppression, and dropping.

This plugin is focused on correctly simulating the drag events in a very usable way. Events A basic drag interaction starts when a user presses down a mouse button with the cursor inside an element (mousedown), continues while the user moves the mouse (mousemove), and ends when the user releases the mouse button (mouseup). Draginit This event is fired when a mouse button is pressed (mousedown) within the bound element. Methods Options Demos. Таблица спецсимволов html - Справочник вебмастера на Guestbook.ru. Css - How to remove Firefox's dotted outline on BUTTONS as well as links. Edit this Fiddle. CSS3 PIE: CSS3 decorations for IE.

Learn CSS Positioning in Ten Steps: position static relative absolute float. 1. position:static The default positioning for all elements is position:static, which means the element is not positioned and occurs where it normally would in the document. Normally you wouldn't specify this unless you needed to override a positioning that had been previously set. 2. position:relative If you specify position:relative, then you can use top or bottom, and left or right to move the element relative to where it would normally occur in the document. Let's move div-1 down 20 pixels, and to the left 40 pixels: Notice the space where div-1 normally would have been if we had not moved it: now it is an empty space.

It appears that position:relative is not very useful, but it will perform an important task later in this tutorial. 3. position:absolute When you specify position:absolute, the element is removed from the document and placed exactly where you tell it to go. Let's move div-1a to the top right of the page: What I really want is to position div-1a relative to div-1. Footnotes 10. User interface.