2013-09-09, 21:10:25
(2013-08-17, 21:16:49)andyash Wrote: If I disable jquery in the gallery settings, the lightbox effect (prettyphoto, facebox) stops working even if I have jquery in my template code. I need to disable it as it is conflicting with my random text rotator script. How do I make the lightbox effect in the gallery work with the same external jquery used in my text rotator script?
I had a similar problem. My solution is here:
Code:
.
.
<html>
<head>
<script type="text/javascript" src="<?php get_theme_url(); ?>/js/jquery.min.js"></script>
<?php get_i18n_header(); ?>
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<meta name="robots" content="index, follow">
<meta name="Generator" content="GetSimple">
<meta name="Keywords" content="GetSimple">
<meta name="Description" content="GetSimple">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<link rel="stylesheet" type="text/css" href="<?php get_theme_url(); ?>/style.css" media="all">
<link rel="shortcut icon" href="<?php get_theme_url(); ?>/favicon.ico">
<title>
<?php get_page_clean_title(); ?> :: <?php get_site_name(); ?>
</title>
<script type="text/javascript" src="<?php get_theme_url(); ?>/js/jquery.cycle.all.latest.js"></script>
.
.
and works without additional settings.