Click here to Skip to main content
15,905,614 members
Home / Discussions / Web Development
   

Web Development

 
GeneralHelp me about validate form use javascript!!! Pin
cool_man13-Apr-04 15:45
cool_man13-Apr-04 15:45 
GeneralRe: Help me about validate form use javascript!!! Pin
Bee Master13-Apr-04 23:08
Bee Master13-Apr-04 23:08 
GeneralRe: Help me about validate form use javascript!!! Pin
cool_man14-Apr-04 22:33
cool_man14-Apr-04 22:33 
QuestionPlug-in to read web-page? Pin
Pauwll12-Apr-04 21:37
Pauwll12-Apr-04 21:37 
GeneralRedirecting a Perl Page To ASP/ASP.Net Page Pin
Jaffer Mumtaz12-Apr-04 19:03
Jaffer Mumtaz12-Apr-04 19:03 
GeneralRe: Redirecting a Perl Page To ASP/ASP.Net Page Pin
Nick Parker17-Apr-04 5:26
protectorNick Parker17-Apr-04 5:26 
GeneralChange a style on the fly Pin
matthias s.12-Apr-04 4:22
matthias s.12-Apr-04 4:22 
GeneralRe: Change a style on the fly Pin
Mike Ellison12-Apr-04 7:18
Mike Ellison12-Apr-04 7:18 
This works on IE6 and Netscape7 for changing the background color. It should be simple enough to modify for changing other style attributes.
<html>
  <head>
    <script language="JavaScript" type="text/JavaScript">
    
    function changeColor(cellID, color)
    {
      if(document.getElementById)
      {
        document.getElementById(cellID).style.backgroundColor = color;
      }
      else if (document.all)
      {
        document.all.item(cellID).style.backgroundColor = color;
      }
    }
    </script>
  </head>
  <body>
    <h2>Testing color changing table cells</h2>    
    
    <table border="1" cellpadding="8" cellspacing="0">
        <tr>
            <td id="c1" onmouseover="changeColor('c1', '#CCCCCC');" 
                        onmouseout="changeColor('c1', '#FFFFFF');">
                Cell 1
            </td>
            <td id="c2" onmouseover="changeColor('c2', '#CCCCCC');" 
                        onmouseout="changeColor('c2', '#FFFFFF');">
                Cell 2
            </td>
            <td id="c3" onmouseover="changeColor('c3', '#CCCCCC');" 
                        onmouseout="changeColor('c3', '#FFFFFF');">
                Cell 3
            </td>
        </tr>
        <tr>
            <td id="c4" onmouseover="changeColor('c4', '#FF0000');" 
                        onmouseout="changeColor('c4', '#FFFFFF');">
                Cell 4
            </td>
            <td id="c5" onmouseover="changeColor('c5', '#00FF00');" 
                        onmouseout="changeColor('c5', '#FFFFFF');">
                Cell 5
            </td>
            <td id="c6" onmouseover="changeColor('c6', '#0000FF');" 
                        onmouseout="changeColor('c6', '#FFFFFF');">
                Cell 6
            </td>
        </tr>
    </table>
  </body>
</html>

GeneralRe: Change a style on the fly Pin
matthias s.12-Apr-04 8:42
matthias s.12-Apr-04 8:42 
GeneralRe: Change a style on the fly Pin
Mike Ellison12-Apr-04 10:13
Mike Ellison12-Apr-04 10:13 
GeneralRe: Change a style on the fly Pin
theJazzyBrain13-Apr-04 10:28
theJazzyBrain13-Apr-04 10:28 
QuestionHow Calling Com Function Via javascript or VB script Pin
Anonymous11-Apr-04 18:45
Anonymous11-Apr-04 18:45 
GeneralFinding the filesize of a webpage Pin
zichun10-Apr-04 20:22
zichun10-Apr-04 20:22 
GeneralHiding/Encrypt Client Side Script Pin
mtone10-Apr-04 8:10
mtone10-Apr-04 8:10 
GeneralRe: Hiding/Encrypt Client Side Script Pin
l a u r e n11-Apr-04 17:57
l a u r e n11-Apr-04 17:57 
GeneralRe: Hiding/Encrypt Client Side Script Pin
mtone12-Apr-04 5:37
mtone12-Apr-04 5:37 
GeneralRe: Hiding/Encrypt Client Side Script Pin
Hesham Amin13-Apr-04 0:52
Hesham Amin13-Apr-04 0:52 
GeneralASP.NET &amp; Smart Card Reader Communications Pin
Member 93611210-Apr-04 5:13
Member 93611210-Apr-04 5:13 
GeneralRe: ASP.NET &amp; Smart Card Reader Communications Pin
karthik208621-Oct-09 20:43
karthik208621-Oct-09 20:43 
Generalscript tags inside html document Pin
alex.barylski9-Apr-04 19:11
alex.barylski9-Apr-04 19:11 
GeneralRe: script tags inside html document Pin
l a u r e n11-Apr-04 17:59
l a u r e n11-Apr-04 17:59 
GeneralCalling Com Function Via javascript or VB script Pin
Anonymous9-Apr-04 18:10
Anonymous9-Apr-04 18:10 
GeneralIIS Corrupt Pin
anoopvn9-Apr-04 2:36
anoopvn9-Apr-04 2:36 
GeneralRe: IIS Corrupt Pin
John Kuhn9-Apr-04 16:56
John Kuhn9-Apr-04 16:56 
GeneralRe: IIS Corrupt Pin
anoopvn9-Apr-04 23:36
anoopvn9-Apr-04 23:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.