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

Imagemap with no image

P: n/a
Hi,

I have a situation where I have custom user controls 'cut out' of the
background image of a master page. Basically, I've used photoshop to
export a sliced image which is used in the master page. I take a slice
(from the middle) and use that as the background of a user control
using the asp:panel control's backgroundURL property.

<asp:Panel BackImageUrl="~//Images/K.gif" width="267" height="198"
runat="server">
UserName: <asp:TextBox ID="txtUserInherited" runat="server"/
><br />
...... other user controls......
</asp:Panel>

The thing is, the 'login' button is a 'target' area of the background
image. Ideally, I want to create an imagemap/hotspot over a given part
of the background image. When I use the imagemap control though, I
can't get the other controls to 'float' over the top or, if I set the
zindex (using css) of the imagemap to -1 so that it appears under the
controls. then the hotspots don't work.

Is there any simple way around this? Ideally I want to just make given
'x/y' regions of my usercontrol clickable.

Thanks very much in advance,


DamienS

Jul 3 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.