Table cell with images

S

Seema Multani

I want my cell to be clicable. The cell contanis an image. I am doing in
the following way but it is not working.

tCell.Attributes.Add("onclick", "floor_plan.gif")

Thanks,
 
M

marss

Seema Multani напиÑав:
I want my cell to be clicable. The cell contanis an image. I am doing in
the following way but it is not working.

tCell.Attributes.Add("onclick", "floor_plan.gif")

Thanks,

Try this

tCell.Attributes.Add("onclick",
"window.open('floor_plan.gif','new_popup','height=400,width=400')")


And look for javascript handbook :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,263
Messages
2,571,064
Members
48,769
Latest member
Clifft

Latest Threads

Top