[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
www.dhtmlgoodies.com • View topic - Link / onclick event inside draggable item
Page 1 of 1

Link / onclick event inside draggable item

PostPosted: Fri May 11, 2007 9:22 am
by lupus
Hi there

I'm using your fantastic "Custom drag and drop script", and it works like a charm...

I have some divs which can be drag 'n dropped inside a html table. Now I need to add a button (clickable image) inside the draggable div.

The problem is that the button action doesn't work. If you click in the div, it starts dragging, but the button doesn't respond.
I've already tried the following :
- <a href="javascript:dosomething()"><img /></a>
- <a onclick="dosomething();"><img /></a>
- <img onclick="dosomething();"/>

None of these work... Have you got a solution for this issue ?

PostPosted: Wed Sep 05, 2007 8:31 pm
by djgkuk
Hi

Did you manage to fix this issue?
I'm trying to find a solution, as a matter of urgency.
Hope someone can help!

Cheers

PostPosted: Wed Sep 05, 2007 10:45 pm
by djgkuk
No matter, after some hard work I've sorted it.

PostPosted: Wed Mar 18, 2009 3:10 am
by yoyotheboss7

PostPosted: Tue Sep 22, 2009 12:23 pm
by anup_phansa