🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.aspdotnet.components.using
Article #170

Re: Hovered ImageButton?

#170
From: Marc Rohloff TeamB
Date: Fri, 14 Apr 2006 22:44
21 lines
2211 bytes
On Fri, 14 Apr 2006 16:24:11 +0200, John Schmidt wrote:

> I'd like that a WebControls.ImageButton uses another image when hovered 
> (D2006, ASP.NET). I'm not used with HTML-programming. And I didn't see any 
> event handling like OnMouseOver (in matter of facts the event handling of 
> the WebControls is very poor compared to Win32). Is there any introduction 
> around on the web regarding such themes?

One thing to remember is that in a web page model all the code runs on
the server. Because of this it can't do anything until you actually
post a page so it is hard to do this type of thing.
What you need to do is write Javascript to do this, it is a fairly
common technique so you should be able to find examples easily or just
look at the source of a web page you like.

You should be able to find asp.net components to make this easier if
you look around some of the component sites (try Google).

-- 
Marc Rohloff [TeamB]
marc rohloff -at- myrealbox -dot- com
Technical Details
Message-ID: <ibrh81fbd9l9$.dlg@dlg.marcrohloff.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!news.glorb.com!tudelft.nl!txtfeed1.tudelft.nl!feeder1.cambrium.nl!feed.tweaknews.nl!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <443fb040@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 21665a,fca238d247d65036
X-Google-Attributes: gid21665a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Marc Rohloff [TeamB]" <"on request">
Subject: Re: Hovered ImageButton?
Newsgroups: borland.public.delphi.aspdotnet.components.using
User-Agent: 40tude_Dialog/2.0.15.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <443fb040@newsgroups.borland.com>
Date: Fri, 14 Apr 2006 18:44:02 -0400
Message-ID: <ibrh81fbd9l9$.dlg@dlg.marcrohloff.com>
X-Face: "huzh55Xi]!ZNni78>a*5+).`SK?<^q2MlHk-C]Z2M9T@\J5ZCB$95Ey+s"XQuhGFA[eutZ :0^AV!Q;t>gE`1-=8d;HZ6~*o1dH<X9\b$!|(}+I'!Xq)@3Op}%0ArW&nf'Qh*EwR
X-Antivirus: avast! (VPS 0615-3, 04/14/2006), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 65.31.1.121
X-Trace: newsgroups.borland.com 1145054642 65.31.1.121 (14 Apr 2006 15:44:02 -0700)
Lines: 21
X-Authenticated-User: mrohloff
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!news.glorb.com!tudelft.nl!txtfeed1.tudelft.nl!feeder1.cambrium.nl!feed.tweaknews.nl!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail