Skip to content

Instantly share code, notes, and snippets.

@stevesmename
Created August 27, 2012 15:29
Show Gist options
  • Save stevesmename/3489519 to your computer and use it in GitHub Desktop.
Save stevesmename/3489519 to your computer and use it in GitHub Desktop.
Colorbox integration example.
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="https://www.aaa.com/aaa/002/wrapper/colorbox/jquery.colorbox-min.js"></script>
<script>
$(document).ready(function(){
$(".colorbox").colorbox({iframe:true, width:"980px", height:"80%"});
});
</script>
<link rel="stylesheet" href="https://www.aaa.com/aaa/002/wrapper/colorbox/stockholmsyndrome/colorbox_stockholmsyndrome.css" />
</head>
<body>
<a href="http://www.az.aaa.com/membership/compare-membership-levels/minimal" class="colorbox">Compare</a>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment