Emperio Posted January 16, 2010 Share Posted January 16, 2010 [code=php:0]<?php include 'connect.php'; session_start(); ?> <script src="menuscript.js" language="javascript" type="text/javascript"></script> <link rel="stylesheet" href="style.css" type="text/css"> <?php if (isset($_SESSION['player'])) { $player=$_SESSION['player']; $userstats="SELECT * from km_users where playername='$player'"; $userstats2=mysql_query($userstats) or die("Could not get user stats"); $userstats3=mysql_fetch_array($userstats2); print "<body bgcolor=333333>"; print "<table class='maintable'>"; print "<tr class='headline'><td>"; print "<center><img src='images/shoplogo.gif'></center>"; print "</td></tr></table><br><br>"; print "<script src='menuscript.js' language='javascript' type='text/javascript'></script>"; print "<table class='maintable'>"; print "<tr><td valign='top'>"; print "<a href='startpagina.php' onmouseover='setOverImg('1','');overSub=true;showSubMenu('submenu1','button1');' onmouseout='setOutImg('1','');overSub=false;setTimeout('hideSubMenu(\'submenu1\')',delay);' target=''><img src='buttons/button1up.png' border='0' id='button1' vspace='5' hspace='1'></a><br>"; print "<a href='Link 2' onmouseover='setOverImg('2','');overSub=true;showSubMenu('submenu2','button2');' onmouseout='setOutImg('2','');overSub=false;setTimeout('hideSubMenu(\'submenu2\')',delay);' target=''><img src='buttons/button2up.png' border='0' id='button2' vspace='5' hspace='1'></a><br>"; print "<a href='wachtwoordveranderen.php' onmouseover='setOverImg('3','');overSub=true;showSubMenu('submenu3','button3');' onmouseout='setOutImg('3','');overSub=false;setTimeout('hideSubMenu(\'submenu3\')',delay);' target=''><img src='buttons/button3up.png' border='0' id='button3' vspace='5' hspace='1'></a><br>"; print "<a href='Link 3' onmouseover='setOverImg('4','');overSub=true;showSubMenu('submenu4','button4');' onmouseout='setOutImg('4','');overSub=false;setTimeout('hideSubMenu(\'submenu4\')',delay);' target=''><img src='buttons/button4up.png' border='0' id='button4' vspace='5' hspace='1'></a><br>"; print "<a href='contact.php' onmouseover='setOverImg('5','');overSub=true;showSubMenu('submenu5','button5');' onmouseout='setOutImg('5','');overSub=false;setTimeout('hideSubMenu(\'submenu5\')',delay);' target=''><img src='buttons/button5up.png' border='0' id='button5' vspace='5' hspace='1'></a><br>"; print "<a href='hulp.php' onmouseover='setOverImg('6','');overSub=true;showSubMenu('submenu6','button6');' onmouseout='setOutImg('6','');overSub=false;setTimeout('hideSubMenu(\'submenu6\')',delay);' target=''><img src='buttons/button6up.png' border='0' id='button6' vspace='5' hspace='1'></a><br>"; print "<a href='loguit.php' onmouseover='setOverImg('7','');overSub=true;showSubMenu('submenu7','button7');' onmouseout='setOutImg('7','');overSub=false;setTimeout('hideSubMenu(\'submenu7\')',delay);' target=''><img src='buttons/button7up.png' border='0' id='button7' vspace='5' hspace='1'></a><br>"; print "</table>"; } else { print "<body bgcolor=333333 TEXT=#FFFFCC>"; print "<center><img src='images/logo.gif'> </center><br>"; print "<center> TEXT.<br>"; print "TEXT<br>"; } ?> Java is not working the buttons dont work how do are used to work this page dont uses the javascript that i made can someone tell me why? Quote Link to comment Share on other sites More sharing options...
Emperio Posted January 16, 2010 Author Share Posted January 16, 2010 I need the javascript to work but it does not does what its supposed to do i think its not loading the script have i misplaced some code? Quote Link to comment Share on other sites More sharing options...
Emperio Posted January 16, 2010 Author Share Posted January 16, 2010 THe java script is loading but it is doing everything wrong :S Quote Link to comment Share on other sites More sharing options...
abazoskib Posted January 16, 2010 Share Posted January 16, 2010 THe java script is loading but it is doing everything wrong :S i dont think you provided enough detail to even remotely figure out what is wrong with your code. Quote Link to comment Share on other sites More sharing options...
Emperio Posted January 17, 2010 Author Share Posted January 17, 2010 I've solved it sorry for the bad topic Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.