Click here to Skip to main content
15,921,990 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Regular Expression Pin
Jamie Nordmeyer20-Feb-03 6:13
Jamie Nordmeyer20-Feb-03 6:13 
GeneralRequest.ServerVariables("LOCAL_ADDR") Pin
l a u r e n18-Feb-03 9:05
l a u r e n18-Feb-03 9:05 
GeneralRe: Request.ServerVariables("LOCAL_ADDR") Pin
palbano19-Feb-03 12:29
palbano19-Feb-03 12:29 
GeneralRe: Request.ServerVariables("LOCAL_ADDR") Pin
Jonavis29-Mar-03 16:58
Jonavis29-Mar-03 16:58 
GeneralIE and Word documents Pin
MiamiCoder18-Feb-03 8:34
MiamiCoder18-Feb-03 8:34 
GeneralRe: IE and Word documents Pin
Sarvesvara (BVKS) Dasa18-Feb-03 18:12
Sarvesvara (BVKS) Dasa18-Feb-03 18:12 
QuestionSelect html control size limit? Pin
ErikYuzwa18-Feb-03 4:27
ErikYuzwa18-Feb-03 4:27 
GeneralHelp! error: Object required "this". Pin
devvvy17-Feb-03 22:14
devvvy17-Feb-03 22:14 
Help! error: Object required "this".

I just did testing on your code in regards to onmouseover. I sufferred from the same problem working with DataGrid's "item" as data row <tr> on my HTML table.

Following is a few things I tried, I keep getting:

error: Object required: 'this'

I have tried many things and I really cant solve this. Help!


CASE 1: HTML table row

<tr onmousedown="Login()" id="rwLogin" onmouseover="document.getElementByID(rwLogin).style.backgroundColor='LightSteelBlue'" style="CURSOR: hand" onmouseout="document.getElementByID(rwLogin).style.backgroundColor='Ivory'">
<td align="middle"><font face="Verdana" color="darkslategray" size="2"><b>Login</b></font>
</td>
</tr>

CASE 2: HTML table row

<tr onmousedown="Logout()" id="rwLogout" onmouseover="this.style.backgroundColor='LightSteelBlue'" style="CURSOR: hand" onmouseout="this.style.backgroundColor='Ivory'">
<td align="middle"><font face="Verdana" color="darkslategray" size="2"><b>Logout</b></font>
</td>
</tr>

CASE 3: HTML table row

<tr onmousedown="NewReg()" id="rwRegister" onmouseover="this.bgColor='LightSteelBlue'" style="CURSOR: hand" onmouseout="this.bgColor='Ivory'">
<td align="middle"><font face="Verdana" color="darkslategray" size="2"><b>Register</b></font>
</td>
</tr>

CASE 4: DataGrid Item

//Set mouseover and mouseout attributes:
foreach( DataGridItem item in this.dgForum.Items)
{
//Mouseout:
if (item.ItemType==ListItemType.Item)
{
item.Attributes.Add("OnMouseOut", "this.style.backgroundColor='Snow'");
}
else
{
item.Attributes.Add("OnMouseOut", "this.style.backgroundColor='GhostWhite'");
}

//Mouseover:
item.Attributes.Add("OnMouseOver", "this.style.backgroundColor='Red'");

}

norm
GeneralPrinting in IE Pin
Vasudevan Deepak Kumar17-Feb-03 18:28
Vasudevan Deepak Kumar17-Feb-03 18:28 
GeneralDelay in ASP page Pin
Sarvesvara (BVKS) Dasa16-Feb-03 18:46
Sarvesvara (BVKS) Dasa16-Feb-03 18:46 
GeneralRe: Delay in ASP page Pin
Roger Wright17-Feb-03 21:41
professionalRoger Wright17-Feb-03 21:41 
GeneralRe: Delay in ASP page Pin
Sarvesvara (BVKS) Dasa17-Feb-03 22:58
Sarvesvara (BVKS) Dasa17-Feb-03 22:58 
GeneralRe: Delay in ASP page Pin
Roger Wright18-Feb-03 8:41
professionalRoger Wright18-Feb-03 8:41 
GeneralRe: Delay in ASP page Pin
Sarvesvara (BVKS) Dasa18-Feb-03 18:10
Sarvesvara (BVKS) Dasa18-Feb-03 18:10 
QuestionResize (hide) frame? Pin
daniel99916-Feb-03 14:03
daniel99916-Feb-03 14:03 
AnswerRe: Resize (hide) frame? Pin
DFU2317-Feb-03 8:46
DFU2317-Feb-03 8:46 
GeneralRe: Resize (hide) frame? Pin
daniel99917-Feb-03 9:31
daniel99917-Feb-03 9:31 
Generalrequest.blah... Pin
l a u r e n16-Feb-03 9:42
l a u r e n16-Feb-03 9:42 
GeneralRe: request.blah... Pin
Richard Deeming17-Feb-03 3:28
mveRichard Deeming17-Feb-03 3:28 
GeneralRe: request.blah... Pin
palbano19-Feb-03 12:32
palbano19-Feb-03 12:32 
GeneralCDONT and SMTP config Pin
Anonymous15-Feb-03 20:33
Anonymous15-Feb-03 20:33 
QuestionHow to send binary data to JSP? Pin
George215-Feb-03 18:45
George215-Feb-03 18:45 
GeneralCentering/Right-aligning things in a strict XHTML/CSS environment Pin
Domenic Denicola15-Feb-03 10:32
Domenic Denicola15-Feb-03 10:32 
GeneralRe: Centering/Right-aligning things in a strict XHTML/CSS environment Pin
David Wulff15-Feb-03 11:40
David Wulff15-Feb-03 11:40 
GeneralRe: Centering/Right-aligning things in a strict XHTML/CSS environment Pin
Domenic Denicola15-Feb-03 14:04
Domenic Denicola15-Feb-03 14:04 

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.