Ads by Lake Quincy Media
| Next Tip?
Home » Archive

Articles Archive for June 2009

Javascript »

[18 Jun 2009 | 2 Comments | 841 views]

Code for script section in the head
<script type=“text/javascript” language=“javascript”>
function moveindex() {
var me2 = document.selection.createRange();
me2.moveStart(“character”, 200);
me2.select();
}
</script>
code for calling the function in the body section
&lt;asp:TextBox ID=”TextBox1″ runat=”server” onfocus=”moveindex()”/&gt;
Thanks and Regards
Meetu Choudhary
Tweet This Post

Javascript »

[17 Jun 2009 | No Comment | 821 views]

This piece of code demonstrate that when we take mouse on a particular image the place holder for the image displays the corresponding image… here goes the code
&lt;!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
&lt;html xmlns=”http://www.w3.org/1999/xhtml” &gt;
&lt;head&gt;
<title>Meetu Choudhary</title>
Script for head section
&lt;script language=”javascript” type=”text/javascript”&gt;
function showimage(imagename)
{
targetimage.src=”images/” + imagename;
}
&lt;/script&gt;
&lt;/head&gt;
Body will have these contents..
<body>
&lt;table width=”694″ height=”525″ border=”0″&gt;
&lt;tr&gt;
&lt;td width=”141″ height=”95″ valign=”top”&gt;
&lt;img src=”images/image1.jpg” onmouseover=”showimage(‘image1.jpg’)” width=”141″ height=”93″&gt;
&lt;/td&gt;
&lt;td width=”141″&gt;
&lt;img src=”images/image2.jpg” width=”141″ height=”93″ onmouseover=”showimage(‘image2.jpg’)”&gt;
&lt;/td&gt;
&lt;td width=”141″&gt;
&lt;img src=”images/image3.jpg” width=”141″ height=”93″ onmouseover=”showimage(‘image3.jpg’)”&gt;
&lt;/td&gt;
&lt;td width=”139″&gt;
&lt;img src=”images/image4.jpg” width=”141″ height=”93″ onmouseover=”showimage(‘image4.jpg’)”&gt;
&lt;/td&gt;
&lt;td width=”98″&gt;
&lt;img src=”images/image5.jpg” width=”141″ height=”93″ onmouseover=”showimage(‘image5.jpg’)”&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height=”424″&gt;&amp;nbsp;&lt;/td&gt;
&lt;td colspan=”3″ valign=”top”&gt;
&lt;img id=”targetimage” src=”images/image1.jpg” width=”420″ height=”252″/&gt;
&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/body&gt;
&lt;/html&gt;

To …

Asp.net »

[16 Jun 2009 | One Comment | 964 views]

ASP.NET and the .NET Framework
ASP.NET is part of the Microsoft .NET Framework. To build ASP.NET pages, you need to take advantage of the features of the .NET Framework. The .NET Framework consists of two parts: The Framework Class Library (FCL) & The Common Language Runtime (CLR).
Understanding the Framework Class Library
The .NET Framework contains thousands of classes that you can use when building an application. The Framework Class Library was designed to make it easier to perform the most common programming tasks.
Some Examples are
File class Enables you to represent a file …

Get Adobe Flash playerPlugin by wpburn.com wordpress themes