Cancel bubble in Colorbox

  • ampo
  • Born
  • Born
  • ampo
  • Posts: 1

Post 3+ Months Ago

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
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • demonmaestro
  • Gold Member
  • Gold Member
  • User avatar
  • Posts: 663
  • Loc: Conroe, Texas

Post 3+ Months Ago

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
  • Zealous
  • Guru
  • Guru
  • User avatar
  • Posts: 1240
  • Loc: Sydney

Post 3+ Months Ago

Post the section of Code if your still having trouble

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 73 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.