Ich habe das colorbox jQuery Plugin in das Wordpress Theme integriert. Aber auf der Startseite zeigt es $("a[rel='example1']").colorbox
keine Funktion
ist, aber wenn ich an den Innenseiten seiner adaequat den Code leite.
Bitte helfen
Link zur Website: http://lab.pixzon.com/ca
Unten ist der Code für die Header-Datei
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo bloginfo('title');?></title>
<link rel="shortcut icon" href="<?php echo bloginfo('template_url')?>/images/icon.jpg"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="<?php echo bloginfo('stylesheet_url')?>" type="text/css" rel="stylesheet" />
<link media="screen" rel="stylesheet" href="<?php echo bloginfo('template_url')?>/css/colorbox.css" />
<script src="<?php echo bloginfo('template_url')?>/colorbox/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo bloginfo('template_url')?>/js/browcss.js"></script>
<script src="<?php echo bloginfo('template_url')?>/colorbox/jquery.colorbox.js"></script>
<script language="javascript" type="text/javascript" src="<?php echo bloginfo('template_url')?>/js/site.js"></script>
<script language="JavaScript" src="<?php echo bloginfo('template_url')?>/js/swfobject.js"></script>
<?php
wp_head();
?>
Haben Sie das ColorBox-Plugin hochgeladen? Wie verlinken Sie mit der Datei? – BoltClock
@codemaster ist jquery und andere plugin bekommen konflikt ?? können Sie versuchen, jQuery nicht Konflikt – kobe
Was ist der genaue Fehler? –