choose a direction
remivorud
This user hasn't shared any biographical information
Posts by remivorud
Java Script Form
Mar 29th
Java Script for Forms (on submit) to show an information/advertisement.
This usefull scrip will create a window in which you can put some info:
————————————————————————————————————————————————————
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”
“http://www.w3.org/TR/html4/loose.dtd”>
<html>
<head>
<title>The Title of your page</title>
<meta http-equiv=”Content-Type” content=”text/html; charset=windows-1251″>
<link href=”#.css” rel=”stylesheet” type=”text/css”>
</head>
<body onLoad= “document.getElementById(‘light’).style.display=’block’;document.getElementById(‘fade’).style.display=’block’” >
<style>
.black_overlay{
display: none;
position: absolute;
top: 0%;
left: 0%;
width: 100%;
height: 100%;
background-color: black;
z-index:1001;
-moz-opacity: 0.8;
opacity:.80;
filter: alpha(opacity=80);
}
.white_content {
display: none;
position: absolute;
//from here you can change the position of the window
top: 30%;
left: 30%;
//from here you can change the size of the window
width: 550px;
height: 150px;
padding: 2px;
border: 2px solid black;
background-color: white;
z-index:1002;
overflow: auto;
}
</style>
….
<form action=”?” method=”post”>
…
<input type=”submit” name=”submit” value=”Send” />
…
<div id=”light”>The content of the window works with HTML codes fine. You can put it in here. Don’t forget to change the size if you need to in the Style rows above.
<center><a href = “javascript:void(0)” onclick = “document.getElementById(‘light’).style.display=’none’;document.getElementById(‘fade’).style.display=’none’”>close that window</a></center></div>
<div id=”fade”></div>
</body>
</html>
————————————————————————————————————————————————————
To see how the Script work visit this page.
For any scripts request you can write in our Contacts page.
Reminder Notes Windows 7 gadget
Mar 29th
This useful Windows 7 gadget (works on some Vista too) will help you to improve your daily tasks.
You can download the gadget from here.

This gadget was special made for XS Software employees.
