By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,871 Members | 1,209 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,871 IT Pros & Developers. It's quick & easy.

Image mouseover/mouseout attributes and Theme/Skin question

P: n/a
Hi all,
I am building a web site with theme support, under each theme's folder there
are some images. Some of my images need to be skinned, I know I can build a
skin file with line like

<asp:Image runat="server" ImageUrl="images/email.gif" skinid="Email"
BorderWidth="0" />

Then in my master page or web page I can call this skin like

<asp:Image ID="img" runat="server" SkinID="Email" />

This works perfectly until I need to add mouseout/mouseover client
attributes to this image. Usually what I do is

img.Attributes.Add("onMouseOver", "msover('img','images/email_on.gif');");
img.Attributes.Add("onMouseOut", "msout('img','images/email_off.gif');");

Now, my question is how to pull these on/off images from theme folder?

--
Regards
Hardy
Feb 13 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.