View Single Post
Old 05-12-2011, 12:12 PM   PM User | #8
Kor
Red Devil Mod


 
Kor's Avatar
 
Join Date: Apr 2003
Location: Bucharest, ROMANIA
Posts: 8,478
Thanks: 58
Thanked 379 Times in 375 Posts
Kor has a spectacular aura aboutKor has a spectacular aura about
Finally

What about this?
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<style type="text/css">
#messageDiv {
display:none;
}
</style>
<script type="text/javascript">
function viewornot(id){
var e = confirm('Do you want to view this profile?');
if(e){
window.location.href = "http://www-rainbowcode-net/apps_dev.php/profiles/showprofilepersonal?id="+id;
return false
}
else{
	var e2=confirm('Do you want to send a message?');
	if(e2){
	var div=document.getElementById('messageDiv');
	div.style.display='block';
	}
}
return false
}
</script>
</head>
<body>
<a href="#" id="profilelink" name="profilelink" onclick="return viewornot('someid')">some list</a>
<br>
<div id="messageDiv">
<form>
<textarea name="message" rows="10" cols="20"></textarea>
<br /><br />
<input type="submit" value="Send">
<input type="reset" value="Reset" name='reset'>
</form>
</div>
</body>
</html>
__________________
KOR
Offshore programming
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Kor is offline  
Users who have thanked Kor for this post:
helloise (05-12-2011)