Hide introduction
This commit is contained in:
parent
9034baa2b3
commit
7676afca45
26
index.php
26
index.php
@ -4,6 +4,7 @@
|
||||
<head>
|
||||
<meta charset="utf8" />
|
||||
<link rel="Stylesheet" href="style.css" />
|
||||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
|
||||
<title>AskWeb (BETA)</title>
|
||||
|
||||
<script language="javascript">
|
||||
@ -21,6 +22,17 @@
|
||||
var foo = document.getElementById("answerList");
|
||||
foo.appendChild(element);
|
||||
}
|
||||
|
||||
function hideShow(which)
|
||||
{
|
||||
if (!document.getElementById)
|
||||
return
|
||||
if (which.style.display == "block")
|
||||
which.style.display = "none"
|
||||
else
|
||||
which.style.display = "block"
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</head>
|
||||
@ -36,12 +48,24 @@
|
||||
</header>
|
||||
|
||||
<section id="introduction">
|
||||
<a id="hideShow" href="#"><img id="arrowHide"
|
||||
src="topArrow.png" alt="icon"/></a>
|
||||
|
||||
<script type="text/javascript">
|
||||
$('#hideShow').click(function (event) {
|
||||
event.preventDefault();
|
||||
$('#para').slideToggle("slow");
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
<article id="bonjour">
|
||||
<h2>Bonjour</h2>
|
||||
|
||||
<p id="para">
|
||||
Bienvenue sur le site de questions de Nemubot. Vous pouvez ici
|
||||
ajouter de nouvelles questions à Nemubot. Ces questions seront
|
||||
posées sur le chan irc.
|
||||
</p>
|
||||
</article>
|
||||
|
||||
<article id="explications">
|
||||
|
Reference in New Issue
Block a user