This topic is locked
[SOLVED]

 Prevent Details Popup On Mouseover

1/31/2013 3:10:33 PM
PHPRunner General questions
S
Saraxs author

Hi,
Im using PHPR 6.2 (Build 14479).
I have set my master-detail with the settings
Display child records on: List page, in popup.
I really like the master-detail link that is created where a click links to the detail page with the master info, but how do I prevent the popup window from listing my details?.
I do not want the inline display of details.
Thanks in advance
Kind regards
Saraxs

C
cgphp 1/31/2013

You can unbind the mouseover on the anchor links:

$("a[id^='master_detailstablename']").unbind('mouseover');



Replace detailstablename with the real name of your details table. If your details table is called products the code above will be:

$("a[id^='master_products']").unbind('mouseover');


Add this code to the "Javascript onload" event of the list page.

S
Saraxs author 1/31/2013

Thats just beautiful.
Thanks a lot



You can unbind the mouseover on the anchor links:

$("a[id^='master_detailstablename']").unbind('mouseover');



Replace detailstablename with the real name of your details table. If your details table is called products the code above will be:

$("a[id^='master_products']").unbind('mouseover');


Add this code to the "Javascript onload" event of the list page.