April 19, 201214 yr Hi there, I'm currently working on this site (http://www.boardemotion.co.uk/epiphany.html), and I'm trying to get the 4 main buttons on the page to display a corresponding modal box. I've linked the javascript and appropriate css files to the html file, and linked it all together so that on click, it displays the content I want to show, but it doesn't display it in the modal box, it acts like a link, and puts it on it's own page. As I'm not very familiar with Javascript, I'm using www.jacklmoore.com/colorbox script to create the functionality, and basically planning on changing the design of the box itself using CSS. I've been staring at source code, and it seems like it should work, as I've checked everything against the original source code on the colorbox site. Am I missing something here? Any help anyone can give would be really appreciated.
April 19, 201214 yr You've got your scripts in the wrong order, in your <head> move the jQuery script link so it's above the colorbox.
Create an account or sign in to comment