CMS, Coding

Using colorbox library in drupal7

This one load your page but their is an error

<a class=”colorbox href=” nameheredir”> <a>

<p><a href=”http://www.vimeo.com/83018751″>VIEW</a> &nbsp;</p>

Use this one:
<a href=”http://bizalbest.mx.sg/gallery2-demo” rel=”0″ title=”The Knife: We Share Our Mother’s Health”>Watch Now</a>

Change the node into .html make sure you create an new_folder for your html

<br>
<a class=”example6″ cboxElement” href=”http://mydomainname.com/sites/all/video_popup/videoload1.html” rel=”0″ title=”The Knife: We Share Our Mother’s Health”>Watch Now</a>

<br>

Create a new folder in .html for the colorbox simple code

 

; Most mistake also to forget putting ” ”

Always be careful on the script so you don’t feel discourage editing again and again to find the bugs.

class=”colorbox-load cboxElement”

Example:

<a href=”http://domain-name.com/sites/all/video_popup/videoload1.html” rel=”0″ title=”The Knife: We Share Our Mother’s Health”>Watch Now</a></p>

 

Example4:

<center>
<p><a href=”http://domainame.mx.sg/sites/all/video_popup/videoload1.html” rel=”0″><img alt=”” src=”http://domainame.mx.sg/sites/all/video_popup/video2.png”></a><p><p><p><p><a href=”http://domainame.mx.sg/sites/all/video_popup/videoload2.html” rel=”0″><img alt=”” src=”http://domainame.mx.sg/sites/all/video_popup/video1.png” ></p>
</center>

Add your comments

Loading Facebook Comments ...
Loading Disqus Comments ...