Friday 23 November 2007



an innovative web based audio player allowing you to listen to your music on demand

On line Sharable Task, To do list

Free On Line Language learning

Saturday 27 October 2007

Wednesday 26 September 2007

Greybox effect from orangoo.com/labs/GreyBox

Box Over effect from boxover.swazz.org

Tuesday 18 September 2007

For Complete code pls mail me.



Drag Drop example using asp and Java script translated from php version.

From the website

http://www.cyberdummy.co.uk/2005/07/13/multi-list-drag-and-drop/


Uses two files Login.asp & dd1.asp


Part of dd1.asp
-----------------

DIM strConnString '''''''''''''' Your connection string for your database ''''''''''''''' strConnString = "" DIM rsUpdate,sqlUpdate,strColPosi DIM strLoginId strLoginId = SESSION("LOGINID") 'response.write strLoginId strColPosi = request.form("strColPosi") DIM objConn,rsPositionLeft,strSQLLeft DIM rsPositionCenter,strSQLCenter DIM rsPositionRight,strSQLRight SET objConn = server.CreateObject("ADODB.Connection") 'Open Connection objConn.Open strConnString SET rsUpdate = server.CreateObject("ADODB.RecordSet") ''''''''''---------------------'''''''''''''' DIM data,strOrder2,strOrder3 DIM intCounter , containers , container DIM lastly , i ,values , value ,final , strColValue data = request.form("order") if len(data) >=1 then
i = 0
containers =Split(data,":")

for each container in containers

container = replace (container,")", "")


lastly = split(container,"(")

for intCounter=0 to ubound(lastly)
'response.write(lastly(intCounter) & "
")
next
'response.write(lastly(0) & "
")
strColValue = lastly(0)
values = split(lastly(1), ",")


for each value in values
'response.write(value & " " & i & "
" )
i = i + 1
sqlUpdate = "update layout set set1 = '" & strColValue & "', order1 = " & i & " where item1 = '" & value & "' and Login_id = " & strLoginId

rsUpdate.open sqlUpdate,objConn,3,3

' rsUpdate.update

next
' response.write( "
")

next

end if


''''''''''---------------------''''''''''''''




SET rsPositionLeft = server.CreateObject("ADODB.RecordSet")

strSQLLeft = "SELECT * FROM layout WHERE set1 ='left_col' and Login_Id=" & strLoginId & " ORDER BY order1 ASC"
rsPositionLeft.open strSQLLeft,objConn,3,3


SET rsPositionCenter = server.CreateObject("ADODB.RecordSet")

strSQLCenter = "SELECT * FROM layout WHERE set1 = 'center' and Login_Id=" & strLoginId & " ORDER BY order1 ASC"
rsPositionCenter.open strSQLCenter,objConn,3,3


SET rsPositionRight = server.CreateObject("ADODB.RecordSet")

strSQLRight = "SELECT * FROM layout WHERE set1 = 'right_col' and Login_Id=" & strLoginId & " ORDER BY order1 ASC"
rsPositionRight.open strSQLRight,objConn,3,3


''''''''''''''''''''''''''''''''''''

Uses two tables : Layout and dd_Master




Layout table Fields
--------------------
Primary key set1 data type text
primary key item1 data type text
order1 data type number
Primary Key Login_Id data type number


dd_Master table Fields
--------------------
Primary Key Login_Id data type autoNumber

Login_Name data type text
Password data type text

Monday 17 September 2007

Flash with CSS and XML



On clicking each menu or tab, the corresponding xml file content will be loaded in the tab area with the css formatting applied to it.

The output will be as follows. The heading and content styles are applied through CSS.

Mail me if you need the complete source files.









Action script code
------------------

//
function hideText() {
mypara._alpha = 0;
mypara.text = "";
mypara.visible = false;
}
//mypara._alpha = 0;
//mypara.visible = false;
hideText();

function XmlBase(xmlPath) {
mypara.visible = true;
mypara._alpha = 100;
//init TextArea component
mypara.html = true;
mypara.wordWrap = true;
mypara.multiline = true;
mypara.label.condenseWhite = true;
//load css
kungFuStyle = new TextField.StyleSheet();
kungFuStyle.load("kungfu.css");
mypara.styleSheet = kungFuStyle;
//trace(mypara.styleSheet);
//load in XML
kungFuContent = new XML();
kungFuContent.ignoreWhite = true;
// kungFuContent.load("one.xml");
kungFuContent.load(xmlPath);
kungFuContent.onLoad = function(success) {
if (success) {
mypara.text = kungFuContent;
}
};
}
function callFromInside(xmlPath) {
XmlBase(xmlPath);
}
btn_One1.onRelease = function() {
XmlBase("one.xml");
};
btn_two.onRelease = function() {
XmlBase("two.xml");
};
btn_three.onRelease = function() {
XmlBase("three.xml");
};
btn_four.onRelease = function() {
XmlBase("four.xml");
};
btn_five.onRelease = function() {
XmlBase("five.xml");
};
btn_six.onRelease = function() {
XmlBase("six.xml");
};
dem_ctn.onRelease = function() {
hideText();
};
btn_Home.onRelease = function() {
hideText();
};

//



CSS code - kungfu.css
-----------

heading{
color: #FF0000;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
display: block;
}

text{
color: #000000;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 10px;
display: block;
}

Wednesday 18 July 2007

DotNetNukes .Net Open Source Framework for web applications

I just installed

DotNetNuke a free, Open Source Framework ideal for creating Enterprise Web Applications.

It has great functionalities. From creating a web site, a blog, etc.

Creating users for editing page contents. Giving rights to users to edit pages or modules in pages.

One thing I found difficult is changing the skins. The one provided with DotNetNuke is not so helpful.

Thursday 14 June 2007

Classical Indian Dance









Very Nice photos for Indian classical dance.


Source Flickr.com

Url:

http://www.flickr.com/photo_zoom.gne?id=420019034&size=l

Friday 25 May 2007

.net Blog Engine

Open Source .Net Blog Engine by Mads Kristensen.

.NET slave - Full featured simplicity in C# and ASP.NET
URL : http://blog.madskristensen.dk/

Look in http://www.codeplex.com/blogengine for code repository.

 
© The contents of all personal web pages and blogs are published by me. Statements made and opinions expressed are strictly those of the me and not my employer.