I want to popup a dialog facebox when I click inside a td in an html table. Is this possible ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
TD as a proxy…
If you have a link in there, you could do something like this:
Of course, modifying that code slightly, you could invoke facebox for any link by clicking nearly anything else on the page. Basically, the
tdelement serves as a proxy for you. If you click it, it triggers a click on the link that will be capable of opening facebox up.No link? No problem…
If you don’t have a link to click, you could create one of the fly, trigger a click, and then remove it.
So assume we started out with:
We will have an iframe popup pointing to:
/css/style.css?52.