Vr Design

choose a direction

Follow me on TwitterRSS Feeds

  • Home
  • About
  • Goodies
  • Portfolio
  • My Aquariums
  • Contacts

Java Script Form

Mar 29th

Posted by remivorud in Articles

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.

code, form, java script, popup, reload, windows

Reminder Notes Windows 7 gadget

Mar 29th

Posted by remivorud in Software

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.

desktop, gadget, notes, reminder, windows, windows 7
  • Links

    • Nemexia
    • WarpFire
Mystique theme by digitalnature | Powered by WordPress
RSS Feeds XHTML 1.1 Top