Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- // <![CDATA[
- jQuery(document).ready(function ($) {
- function addColorBox() {
- $("a[rel='colorbox']").colorbox({
- transition: 'elastic',
- opacity: '0.7',
- maxHeight: '90%'
- });
- $("a[rel='colorboxvideo']").colorbox({
- iframe: true,
- transition: 'elastic',
- opacity: '0.7',
- innerWidth: '60%',
- innerHeight: '80%'
- });
- }
- addColorBox();
- });
- // ]]>
- </script>
- <script type="text/javascript">
- /* <![CDATA[ */
- jQuery().ready(function () {
- jQuery('#nav-slider a').live('click', function (e) {
- e.preventDefault();
- var link = jQuery(this).attr('href');
- jQuery('#slider').html('<img src="http://reuter.li/wp-content/themes/minimatica/images/loader.gif" style="display:block; margin:173px auto" />');
- jQuery('#slider').load(link + ' #ajax-content', function () {
- slide();
- addColorBox();
- });
- });
- });
- /* ]]> */
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement