Showing posts with label Html CSS Tutorials. Show all posts
Showing posts with label Html CSS Tutorials. Show all posts
Friday, October 17, 2008
Wednesday, October 8, 2008
DHTML GUI Components
Colection of GUI Components
Try It online :
http://www.navioo.com/javascript/dhtml/GUI_Components_227.dhtml
.
Animation (39)
Banner (1)
Calendar International (2)
Calendar (39)
Chart (1)
Clock (10)
Code Formatter (1)
Color Chooser (5)
ComboBox (4)
Cursor (2)
Desktop (2)
Documentation (1)
Drag Drop (22)
Dual List (1)
Editor (9)
Events Calendar (1)
Grid Layout (17)
IFrame (1)
Key Event (1)
Log Panel (1)
Menu (32)
Navigation Bar (3)
Outlook Bar (1)
Popup Menu (2)
RadioButton (2)
Scroll (9)
ScrollBar (4)
Slider (6)
Sortable Listbox (1)
Syntax HighLighter (1)
Tab (13)
Table Grid (45)
TextArea (1)
TextBox (1)
Ticker (7)
Time Picker (2)
Toggle (5)
ToolBar (3)
Tree Table (1)
Tree (26)
Try It online :
http://www.navioo.com/javascript/dhtml/GUI_Components_227.dhtml
Labels:
DHTM,
Html CSS Tutorials,
javascript,
Javascript Tutorials,
web,
Web 2.0,
Webmaster
Wednesday, October 1, 2008
How to animate an element's position using the Motion subclass
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Motion Example - Basic</title>
<style type="text/css">
/*
Copyright (c) 2006, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
Version: 0.10.0
*/
body {
margin:0;
font:small arial;
}
h1 {
color:#666;
margin:0;
font:bold 150% palatino, georgia;
}
#hd img {
vertical-align:middle;
}
#hd h1 {
display:inline;
margin:0 0 0 20px;
vertical-align:middle;
}
ul, li {
margin:0;
padding:0;
list-style:none;
}
#doc {
margin:10px;
}
#examples {
margin:60px 40px;
}
#examples li {
margin-bottom:1em;
}
#examples li a {
color:#666;
font:85% verdana;
}
#demo {
background:#ccc;
font:100%/1.2em arial;
width:10px;
height:10px;
}
#animation-demo-scroll #demo p {
width:600px;
}
#animation-demo-motion #demo {
color:yellow;
font-size:0;
}
#animation-demo-size-plus #demo, #animation-demo-fade #demo, #animation-demo-colors #demo {
background:#ccc;
font:100%/1.2em arial;
width:200px;
height:200px;
}
#animation-demo-colors #demo {
border:3px solid #c3c;
}
#animation-demo-scroll #demo {
width:400px;
height:200px;
overflow:auto;
}
#animation-demo-colors #demo {
}
#target {
background:red;
font-size:0;
position:absolute;
left:300px;top:300px;
width:10px;
height:10px;
}
</style>
<script type="text/javascript" src="./build/yahoo/yahoo.js"></script>
<script type="text/javascript" src="./build/event/event.js"></script>
<script type="text/javascript" src="./build/dom/dom.js"></script>
<script type="text/javascript" src="./build/animation/animation.js"></script>
<script type="text/javascript">
YAHOO.example.init = function() {
var anim = new YAHOO.util.Motion('demo', { points: { to: YAHOO.util.Dom.getXY('target') } });
YAHOO.util.Event.on(document, 'click', anim.animate, anim, true);
};
YAHOO.util.Event.onAvailable('demo', YAHOO.example.init);
</script>
</head>
<body id="animation-demo-motion">
<div id="doc">
<h1>Motion Example - Basic</h1>
<p>This example demonstrates how to animate an element's position using the Motion subclass.</p>
<p>Click anywhere to start animation.</p>
<div id="demo"></div>
<div id="target"></div>
</div>
</body>
</html>
Yui required !!!!
Try it online
<html>
<head>
<title>Motion Example - Basic</title>
<style type="text/css">
/*
Copyright (c) 2006, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
Version: 0.10.0
*/
body {
margin:0;
font:small arial;
}
h1 {
color:#666;
margin:0;
font:bold 150% palatino, georgia;
}
#hd img {
vertical-align:middle;
}
#hd h1 {
display:inline;
margin:0 0 0 20px;
vertical-align:middle;
}
ul, li {
margin:0;
padding:0;
list-style:none;
}
#doc {
margin:10px;
}
#examples {
margin:60px 40px;
}
#examples li {
margin-bottom:1em;
}
#examples li a {
color:#666;
font:85% verdana;
}
#demo {
background:#ccc;
font:100%/1.2em arial;
width:10px;
height:10px;
}
#animation-demo-scroll #demo p {
width:600px;
}
#animation-demo-motion #demo {
color:yellow;
font-size:0;
}
#animation-demo-size-plus #demo, #animation-demo-fade #demo, #animation-demo-colors #demo {
background:#ccc;
font:100%/1.2em arial;
width:200px;
height:200px;
}
#animation-demo-colors #demo {
border:3px solid #c3c;
}
#animation-demo-scroll #demo {
width:400px;
height:200px;
overflow:auto;
}
#animation-demo-colors #demo {
}
#target {
background:red;
font-size:0;
position:absolute;
left:300px;top:300px;
width:10px;
height:10px;
}
</style>
<script type="text/javascript" src="./build/yahoo/yahoo.js"></script>
<script type="text/javascript" src="./build/event/event.js"></script>
<script type="text/javascript" src="./build/dom/dom.js"></script>
<script type="text/javascript" src="./build/animation/animation.js"></script>
<script type="text/javascript">
YAHOO.example.init = function() {
var anim = new YAHOO.util.Motion('demo', { points: { to: YAHOO.util.Dom.getXY('target') } });
YAHOO.util.Event.on(document, 'click', anim.animate, anim, true);
};
YAHOO.util.Event.onAvailable('demo', YAHOO.example.init);
</script>
</head>
<body id="animation-demo-motion">
<div id="doc">
<h1>Motion Example - Basic</h1>
<p>This example demonstrates how to animate an element's position using the Motion subclass.</p>
<p>Click anywhere to start animation.</p>
<div id="demo"></div>
<div id="target"></div>
</div>
</body>
</html>
Yui required !!!!
Try it online
Labels:
DHTM,
Html,
Html CSS Tutorials,
javascript,
Javascript Tutorials,
Tips and Tricks,
web,
Webmaster
Accessing the Elements of a Form
<HTML>
<HEAD>
<TITLE>Multiform Document Example</TITLE>
<SCRIPT LANGUAGE="JavaScript"><!--
function displayFormData() {
win2=open("","window2")
win2.document.open("text/plain")
win2.document.writeln("This document has "+document.forms.length+" forms.")
var i=0;
var j=0;
for(i=0;i<document.forms.length;++i) {
win2.document.writeln("Form "+i+" has "+ document.forms[i].elements.length+" elements.")
for(j=0;j<document.forms[i].elements.length;++j) {
win2.document.writeln((j+1)+" A "+ document.forms[i].elements[j].type+" element.")
}
}
win2.document.close()
return false
}
// --></SCRIPT>
</HEAD>
<BODY>
<FORM ACTION="nothing" onSubmit="return displayFormData()">
<H2>Form 1</H2>
<P>Text field: <INPUT TYPE="TEXT" NAME="f1-1" VALUE="Sample text"></P>
<P>Password field: <INPUT TYPE="PASSWORD" NAME="f1-2"></P>
<P>Text area field: <TEXTAREA ROWS="4" COLS="30" NAME="f1-3">Text</TEXTAREA></P>
<P><INPUT TYPE="SUBMIT" NAME="f1-4" VALUE="Submit">
<INPUT TYPE="RESET" NAME="f1-5"></P>
</FORM>
<HR>
<FORM>
<H2>Form 2</H2>
<P><INPUT TYPE="CHECKBOX" NAME="f2-1" VALUE="1" CHECKED>A</P>
<P><INPUT TYPE="CHECKBOX" NAME="f2-1" VALUE="2">B</P>
<P><INPUT TYPE="CHECKBOX" NAME="f2-1" VALUE="3">C</P>
<P><INPUT TYPE="RADIO" NAME="f2-2" VALUE="1">D</P>
<P><INPUT TYPE="RADIO" NAME="f2-2" VALUE="2" CHECKED> E</P>
<P><INPUT TYPE="RADIO" NAME="f2-2" VALUE="3">F</P>
<INPUT TYPE="FILE" NAME="f2-3">
</FORM>
<HR>
<FORM>
<H2>Form 3</H2>
<INPUT TYPE="HIDDEN" NAME="f3-1">
<SELECT NAME="f3-2" SIZE="4">
<OPTION VALUE="">Item 1</OPTION>
<OPTION VALUE="">Item 2</OPTION>
<OPTION VALUE="" SELECTED>Item 3</OPTION>
<OPTION VALUE="">Item 4</OPTION>
<OPTION VALUE="">Item 5</OPTION>
</SELECT>
</FORM>
</BODY>
</HTML>
Try Online
Labels:
DHTM,
Html,
Html CSS Tutorials,
open source,
Tips and Tricks
Friday, September 19, 2008
HOW to - DHTML Menu Tutorials
249.7 . Vertical layout menu Vertical layout menu
249.8 . Customizable layout Customizable layout
249.9 . Add/delete menu items Add/delete menu items
249.10 . Build a simple fancy menu Build a simple fancy menu
249.11 . Simple drop-down menu example with layer Simple drop-down menu example with layer
249.13 . Slide out menu with i18N Slide out menu with i18N
249.14 . Menu and submenu
249.15 . Dynamic menu
249.16 . Slide out menu
249.17 . Complete Source Code for the Menu
249.18 . popup menu (content sensitive menu)
249.19 . Menu based on Javascript
249.20 . Menu with sound
Source code and demo online
249.8 . Customizable layout Customizable layout
249.9 . Add/delete menu items Add/delete menu items
249.10 . Build a simple fancy menu Build a simple fancy menu
249.11 . Simple drop-down menu example with layer Simple drop-down menu example with layer
249.13 . Slide out menu with i18N Slide out menu with i18N
249.14 . Menu and submenu
249.15 . Dynamic menu
249.16 . Slide out menu
249.17 . Complete Source Code for the Menu
249.18 . popup menu (content sensitive menu)
249.19 . Menu based on Javascript
249.20 . Menu with sound
Source code and demo online
Labels:
DHTM,
Html,
Html CSS Tutorials,
javascript,
Javascript Tutorials
Tuesday, September 16, 2008
CSS background-position
HTML CSS TUTORIALS » CSS Attributes and Javascript Style Properties » background position »
Try it
background-position
Related in same category :
Try it
background-position
Related in same category :
Labels:
CSS,
Html,
Html CSS Tutorials,
web
Subscribe to:
Posts (Atom)