Cancel bubble in Colorbox

  • ampo
  • Born
  • Born
  • No Avatar
  • Joined: Aug 03, 2012
  • Posts: 1
  • Status: Offline

Post August 3rd, 2012, 1:33 pm

Hello.
I use colorbox on a button.
The button is placed on a div.
Clicking anywhere on the div perform some action.
When clicking on the button, both the colorbox and the div under it are activated.
How do I stop/cancel bubbling when clicking on this colorbox button?

Thanks.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post August 3rd, 2012, 1:33 pm

  • demonmaestro
  • Gold Member
  • Gold Member
  • User avatar
  • Joined: Jun 21, 2006
  • Posts: 484
  • Loc: Conroe, Texas
  • Status: Offline

Post August 7th, 2012, 2:33 am

I think i understand what you mean however its something under the coading thats telling both div what to do. with out seeing the code try naming the divs and in the code for the button tell the button what name div you want
Thanks, Josh --DemonMaestro
www.LilNetwork.com
Fun Website www.ShoutsCloud.com
  • Zealous
  • Guru
  • Guru
  • User avatar
  • Joined: Apr 15, 2011
  • Posts: 1195
  • Loc: Sydney
  • Status: Online

Post August 7th, 2012, 7:43 pm

Post the section of Code if your still having trouble

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: Kurthead+1, ScottG and 125 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.