How do I use colorbox to show hidden divs on my page without hardcoding?

后端 未结 4 2010
情深已故
情深已故 2021-02-13 03:51

I\'m using Colorbox to show the html content of hidden divs on my page. I can get this to work perfectly with the following:

$(\"a.colorbox\").colorbox({width:\         


        
4条回答
  •  天命终不由人
    2021-02-13 04:21

    I'm facing the same issue. What does your html look like? meaning, how did you structure your "divs"

    Mine looks like this: Javascript:

    
    

    And the html looks like (I tried changing the display:none):

    Inline HTML
       
    This data is to be displayed in colorbox

提交回复
热议问题