Page 1 of 1

Please help me in this project

Posted: Tue Apr 24, 2007 2:23 am
by krish_php
Hello Sir,

I had made one list for my site. There are some record and that display in this format

SrNo. CustCode First Name Last Name
001 CS001 RAVI VERMA
002 CS002 MAHESH PATEL
003 CS003 NIMESH DEV

now want when i click on any row then it open one small new window(similar to pop-up window but no pop-up window because many people keep pop-up blocked in their browser) and show that row all destails. Means in that small window it will display CustCode, First Name, Last Name, Address, PhoneNo, E-Mail and their Pic in a proper format.

Please help me in this work. I am new in PHP but i want to complete it. Please provide me code for this work. I search this code many places but did not got.

Thanks a lot in advance

Regards
Krish

Posted: Tue Apr 24, 2007 3:19 am
by Christopher
You can open a new window either by specifying target="_blank" in you HTML link or using Javascript and window.open(). You would need to pass the record ID in the URL and have the detail page load the data for that record.

Posted: Tue Apr 24, 2007 3:31 am
by CoderGoblin
If you want the full code you will likely need to pay someone :wink: . A typical method however is, if you know all clients use javascript, is through something called AJAX. The AJAX code would fill in an initially hidden <DIV> block which would then be shown centered and above everything else. Useful things to search for include AJAX and even possibly tooltips as they often have what you would want for the <DIV> CSS.