473,320 Members | 1,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

onmouseover

Hi, what is the simplest way to cause a "rollover" effect in ASP.net 2.0?
I tried Fireworks but no use.
I'm hoping someone has come across this before. I would like... buttonUp
state, buttonRollover and then finally, buttonDown.

Thank you, Monty
May 9 '06 #1
3 1028
Hello Monty,

Use javasript properties for this by element.Attributes["onmouseover"]

M> Hi, what is the simplest way to cause a "rollover" effect in ASP.net
M> 2.0?
M> I tried Fireworks but no use.
M> I'm hoping someone has come across this before. I would like...
M> buttonUp
M> state, buttonRollover and then finally, buttonDown.
M> Thank you, Monty
M>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
May 10 '06 #2
V
Hi Monty,

I am too familiar with Asp.Net 2.0 improvements yet. However, in 1.1 to
achieve what you need, I implemented a derivation of the Image Button
Control which does exactly what you need (except it had only two
states, but it would be trivial to add a third one).

It does basically what The post before this one mentions, but it
encapsulates the javascript code in the control (so that you don't have
to re-write the code again and again).

Also, it allows for a decent design time way of specifying the images
for each states (through the properties grid).

If you want, I could help you with code snippets.

Regards,
Vaibhav

May 10 '06 #3
Yes V, thanks for your offer. I have replied to you personally and then
will post the results so others can learn from this - Thanks
"V" <va*************@gmail.com> wrote in message
news:11**********************@i39g2000cwa.googlegr oups.com...
Hi Monty,

I am too familiar with Asp.Net 2.0 improvements yet. However, in 1.1 to
achieve what you need, I implemented a derivation of the Image Button
Control which does exactly what you need (except it had only two
states, but it would be trivial to add a third one).

It does basically what The post before this one mentions, but it
encapsulates the javascript code in the control (so that you don't have
to re-write the code again and again).

Also, it allows for a decent design time way of specifying the images
for each states (through the properties grid).

If you want, I could help you with code snippets.

Regards,
Vaibhav

May 10 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: laurie | last post by:
Hi. I have a DIV section that has many thumbnail images inside it. I have a DIV so all images can fit in a row and the horizontal scroll bar is used to move the thumbnails from left to right. ...
7
by: Richard | last post by:
I know I can have like <a href="#" onclick="dothis" onmouseover="dothat"> But how do you properly code two mouseover's in one statement? <a href="#" onmousever="dothis" onmouseover="dothat"> As...
7
by: windandwaves | last post by:
Hi Gurus I am trying to make this rather complicated maps with an a huge number of mouseovers and the like. I want to set up a function that OnMouseDown swaps the OnMouseOver and OnMouseOut for...
2
by: news.west.cox.net | last post by:
I have been writing a practice sliding div navigation script. I am finding myself in the position where I need to force a div into showing the hover behavior defined in css. So my question is...
3
by: drjackk | last post by:
Hello, I'm trying to change the onmouseover event dynamically. This sets-up the initial onmouseover event: <a href="home.html"> <img border="0" id="img22" src="images/home1.jpg"...
2
by: MrCode2k | last post by:
Hello, Trying to do: I just want a table that I can scroll and that has fixed headers. Problem: I got it to work but when I added the onmouseover event it didn't work anymore....
7
by: MrCode2k | last post by:
Hello, Trying to do: I just want a table that I can scroll and that has fixed headers. Problem: I got it to work but when I added the onmouseover event it didn't work anymore....
2
by: Justin Rowe | last post by:
I'm attempting to design a site with alot of dynamic content and intractability, however I've hit a snag when it comes to the function of the onMouseOver and onMouseOut events. Using a bit of code...
1
by: den2005 | last post by:
Hi everybody, I am confused and still looking why this codes is not working. Can anyone notice or know why this code is not working? Thanks in advance. Code working: <form id="form1"...
3
by: oopaevah | last post by:
I have written some dom code to create a list of divs, each with it's own id. I want to set the onmouseover and onmouseout events to highlight the div when the mouse is over it. However I cannot...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.