|
-
Jul 4th, 2005, 04:23 PM
#1
Thread Starter
Hyperactive Member
-
Jul 4th, 2005, 11:47 PM
#2
Re: Web custom control - hyperlink
Do you mean that you want to enable some sort of a table-cell click functionality?
-
Jul 5th, 2005, 02:37 AM
#3
Thread Starter
Hyperactive Member
Re: Web custom control - hyperlink
Something like that would do.
I just really want the entire control to act as a hyperlink rather than the individual images, but I'm not sure of the best way to go about it.
Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind.
Dr. Seuss 
-
Jul 5th, 2005, 02:42 AM
#4
Re: Web custom control - hyperlink
You'd have to render a bit of css and javascript for that.
First, set the style for the <TD> so that cursor = hand. Second, set an onClick action event for the <TD>
This is NOT an ASP.NET example but gives you an idea of what you want:
Code:
<table width="100%">
<tr>
<td width="100%" style="cursor:hand;"
onClick="alert('dfkj');">abc </td>
</tr></table>
-
Jul 5th, 2005, 03:40 AM
#5
Thread Starter
Hyperactive Member
-
Jul 5th, 2005, 03:51 AM
#6
Re: Web custom control - hyperlink
Erm... I'm not sure why you need to take your book with you just for this. It's simple javascript, as you can see.
And don't worry about being used... my 'friends' often use me for their perverse coding pleasures.
-
Jul 5th, 2005, 03:55 AM
#7
Thread Starter
Hyperactive Member
-
Jul 5th, 2005, 04:03 AM
#8
Re: [RESOLVED] Web custom control - hyperlink
Welcome.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|