Search This Blog

31 May 2011

Marquee Property

How to move images in up direction and to start/stop movement whenever cursor on image
<marquee onmouseover="stop()" onmouseout="start()" direction="up">

for speed and behaviour
<marquee scrollamount="4" behavior="alternate">

Width : How wide the marquee is . eg:
<marquee width="200">
hello

Height : How tall the marquee is. eg:
<marquee height="200">
hello
Direction : which direction marquee should scroll. eg: left,right,up,down.
<marquee direction="right">
hello

Behavior : what type of scrolling you want. eg:scroll,slide,alternate
<marquee behavior="scroll">
hello

Scrolldelay : How long to delay between each jump. eg:
<marquee scrolldelay="20">
hello

Scrollamount : How for to jump. eg:
<marquee scrollamount="2">
hello

Loop : How many times to loop.
<marquee loop="2">
hello

BGColor : Background Colour. eg:
<marquee BGColor="yellow">
hello

HSpace : Horizontal space around the marquee. eg:
<marquee HSpace="10">Hello
VSpace : Vertical around the marquee. eg:
<marquee VSpace="10">
hello






HTTP

what is HTTP ?

Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information systems.Its use for retrieving inter-linked resources led to the establishment of the World Wide Web.


Creation of textboxes with their ids

protected void Button1_Click(object sender, EventArgs e)
{
ArrayList a = new ArrayList();

int j = Convert.ToInt32(TextBox1.Text);
for (int i = 1; i <=j; i++)
{
t = new TextBox();
t.ID = "text" + i; //getting id of control
Form.Controls.Add(t);
a.Add(t.ID);
Response.Write(t.ID);
}

}