[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
Advertisement

Link / onclick event inside draggable item

Moderators: Calcifer, slothy

Link / onclick event inside draggable item

Postby lupus » Fri May 11, 2007 9:22 am

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 ?
lupus
 
Posts: 6
Joined: Fri Mar 10, 2006 10:00 am
Location: Location

Postby djgkuk » Wed Sep 05, 2007 8:31 pm

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
djgkuk
 
Posts: 2
Joined: Wed Sep 05, 2007 8:30 pm

Postby djgkuk » Wed Sep 05, 2007 10:45 pm

No matter, after some hard work I've sorted it.
djgkuk
 
Posts: 2
Joined: Wed Sep 05, 2007 8:30 pm

Postby yoyotheboss7 » Wed Mar 18, 2009 3:10 am

yoyotheboss7
 
Posts: 1
Joined: Mon Feb 09, 2009 9:51 am

Postby anup_phansa » Tue Sep 22, 2009 12:23 pm

anup_phansa
 
Posts: 3
Joined: Thu Sep 17, 2009 7:32 am


Return to Drag and drop scripts

Who is online

Users browsing this forum: No registered users and 4 guests