Jump to content

[SOLVED] Change image button?


ev5unleash

Recommended Posts

Hey Guys,

 

I'm trying to make a page with a table that has a background image. I want to be able to create a button that will change the table background image to something else.

 

http://ev5unleash.dnsalias.org:1212/websites/sbsolution/index.html

 

<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Evan's Smartboard Solution</title>
<script type="text/javascript">
<!--
function MM_popupMsg(msg) { //v1.0
  alert(msg);
}
//-->
</script>
-->
</style>
<link href="hpstype.css" rel="stylesheet" type="text/css" />
</head>

<body>
<table id="tblbg" class="wizard" border="0" align="center">
  <tr>
    <td width="9" height="21"> </td>
    <td colspan="3"> </td>
    <td width="10"> </td>
  </tr>
  <tr>
    <td height="417"> </td>
    <td colspan="3" align="left" valign="top"><table width="100%" border="0">
      <tr>
        <td width="87%" class="windowheader">Welcome - Setup Wizard (1.0)</td>
        <td width="13%" align="right">
          <input name="button2" type="button" id="button2" onclick="MM_popupMsg('Press and hold Alt + F4 to close.')" value="X" />
        </td>
      </tr>
    </table>
    <p class="text">Weclome to Evan's Smartboard Solution (Rev. 1), This wizard will guide you though how to use the smartboard solution and get everything working in no time.</p>
    <p class="text">
      <input type="button" name="button" id="button" value="Button" onmousedown="document.getElementById('tblbg').src='systemfiles/images/red7x5.png';" />
    </p>
    <p> </p></td>
    <td> </td>
  </tr>
  <tr>
    <td> </td>
    <td width="135" valign="top">
      <input type="button" name="Exit" id="Exit" onclick="MM_popupMsg('Press and hold Alt + F4 to close.')" value="Exit" />
    </td>
    <td width="366" align="center" valign="top"><input type="button" name="Start" id="Start" value="Start Smartboard Solution" /></td>
    <td width="158" align="right" valign="top"><input type="button" name="Next" id="Next" value="Next" /></td>
    <td> </td>
  </tr>
</table>
</body>
</html>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.