<script type="text/javascript">
function news(n) {
if (n == "games")
document.getElementById("news").innerHTML = "Yay, games!";
else if (n == "soft")
document.getElementById("news").innerHTML = "Yay, software!";
else if (n == "other")
document.getElementById("news").innerHTML = "Yay, other stuff!";
}
<ul>
<li><a href="" onmouseover="news('games')"/>Games</li>
<li><a href="" onmouseover="news('soft')"/>Software</li>
<li><a href="" onmouseover="news('other')"/>Other</li>
</ul>
<div id="news">
</div></script>
echo '<script type="text/javascript">
function news(n) {
if (n == "games")
document.getElementById("news").innerHTML = "Yay, games!";
else if (n == "soft")
document.getElementById("news").innerHTML = "Yay, software!";
else if (n == "other")
document.getElementById("news").innerHTML = "Yay, other stuff!";
}';
echo'<ul>
<li><a href="" onmouseover="news('games')"/>Games</li>
<li><a href="" onmouseover="news('soft')"/>Software</li>
<li><a href="" onmouseover="news('other')"/>Other</li>
</ul>
<div id="news">
</div></script>
';
<script type='text/javascript'>
function news(n) {
if (n == 'games')
document.getElementById('news').innerHTML = 'Yay, games!';
else if (n == 'soft')
document.getElementById('news').innerHTML = 'Yay, software!';
else if (n == 'other')
document.getElementById('news').innerHTML = 'Yay, other stuff!';
}
<ul>
<li><a href='' onmouseover='news('games')'/>Games</li>
<li><a href='' onmouseover='news('soft')'/>Software</li>
<li><a href='' onmouseover='news('other')'/>Other</li>
</ul>
<div id='news'>
</div></script>
openside("put-the-name-of-the-panel-here");
echo "<script type='text/javascript'>
function news(n) {
if (n == 'games')
document.getElementById('news').innerHTML = 'Yay, games!';
else if (n == 'soft')
document.getElementById('news').innerHTML = 'Yay, software!';
else if (n == 'other')
document.getElementById('news').innerHTML = 'Yay, other stuff!';
} <ul>
<li><a href='' onmouseover='news('games')'/>Games</li>
<li><a href='' onmouseover='news('soft')'/>Software</li>
<li><a href='' onmouseover='news('other')'/>Other</li>
</ul>
<div id='news'>
</div></script>";
closeside();
Category Forum
Content Administration - 8Labels
None yet
Statistics
3 participants
Notifications
You are not receiving notifications from this thread.
Related Questions