Greybox effect from orangoo.com/labs/GreyBox
Wednesday, 26 September 2007
Posted by
Unknown
at
3:37:00 pm
 
 
Labels: Grey box from 0 comments
Box Over effect from boxover.swazz.org
Posted by
Unknown
at
1:49:00 pm
 
 
Labels: Box over Dhtml effect 0 comments
Tuesday, 18 September 2007



 For Complete code pls mail me.
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
Posted by
Unknown
at
3:43:00 pm
 
 
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;
}
Posted by
Unknown
at
2:43:00 pm
 
 
Labels: CSS, Flash, XML 1 comments
 


 del.icio.us
 del.icio.us Flickr Photos
 Flickr Photos