Reputation: 135
how can make this happen only if double clicked on the div
$link='somelink from data base';
<div onClick="window.location.href='<?php echo $link ;?> ';">xxx</div>
Upvotes: 0
Views: 37
Reputation: 3020
$link='somelink from data base';
<div ondblclick="window.location.href='<?php echo $link ;?> ';">xxx</div>
Upvotes: 1