View Single Post
Old 12-18-2010, 04:42 PM   PM User | #2
vwphillips
Senior Coder

 
Join Date: Mar 2005
Location: Portsmouth UK
Posts: 4,355
Thanks: 3
Thanked 458 Times in 445 Posts
vwphillips is a jewel in the roughvwphillips is a jewel in the roughvwphillips is a jewel in the rough
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
  <title></title>
</head>

<body>
<script type="text/javascript">
 <!--
function toggle(id,display){
 document.getElementById(id).style.display = display;
}
 //-->
 </script>
<div class="post_header" onClick="toggle('floatingBox','block');">
<div class="post_pmbutton" id="button_<%=num%>">[+]</div>
<br clear="all">
</div>
<div class="post_content" style="display: none;" id="floatingBox">
<div id="floatingBox">some words here
<a href="javascript:toggle('floatingBox','none');" title="Close this box" >[I Agree]</a>
 </div>
 </div>

</body>

</html>
__________________
Vic

God Loves You and will never love you less.

http://www.vicsjavascripts.org.uk/

If my post has been useful please donate to http://www.operationsmile.org.uk/
vwphillips is offline   Reply With Quote