I'm sure this topic has been covered many times before, however, I have yet to determine exactly how to fix my issue with this. Any help would be very appreciated.
On my page, I have multiple references to javascript documents. Although they work fine individually, when they're all on one page they conflict eachother. I have a lightbox gallery on one page that works fine, but since I've added that, the Captcha images on my contact forms won't display.
I'm using a custom Wordpress theme that I created if that makes any difference.
Here is my code:
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo('charset'); ?>" />
<?php if (is_search()) { ?>
<meta name="robots" content="noindex, nofollow" />
<?php } ?>
<meta name="keywords" content="shannon, butler, design, graphic, pink, flowers, creativity, passion, studio, best, magic, unique, online, web, print, contact about, journal, process, portfolio, great, professional, video, edit, bright, vibrant, html, xhtml, logo, branding, identity, css, javascript, twitter, facebook, linkedin, blog, php, money, hire, me, photos, wordpress, flash, banner, header, flyer, photoshop, dreamweaver, project, indesign, illustrator, buisness, cards, buisness card template
business card templates
business card template
buisness card templates
business cards template
business cards templates
flyer templates
sample brochure templates
design brochure templates
photoshop indesign and illustrator
get graphic designer
on logo design
how to find graphic designers
sample brochure template
flyer brochure templates
brochure sample templates
booklet design templates
web design print design
graphic designer forms,
working with graphic designers,
graphic designers for logos,
graphic web design portfolio,
web artist portfolio,
portfolio website graphic design,
the best logo design company,
webs website design,
be a graphic artist,
best graphic design logo,
design brochure template,
graphic design designers,
on graphic design,
graphic blog design,
freelance graphic & web designer,
graphic & web designer portfolio,
web designer at work,
flyer best design,
business graphic designer,
graphic design &,
graphic designs logo" />
<title>• UniQuely Shannon | The creative studio of Shannon Butler - A UniQue Web/Graphic Designer.</title>
<meta name="description" content="UniQuelyShannon.com is the creative space/blog/portfolio of Shannon Butlter, a Web/Graphic designer showcasing talents in Web Design, Graphic Design, and even Video editing and Makeup Artistry! If you need your creative fix, UniQuely Shannon is your one stop shop!" />
<title>
<?php
if (function_exists('is_tag') && is_tag()) {
single_tag_title("Tag Archive for ""); echo '" - '; }
elseif (is_archive()) {
wp_title(''); echo ' Archive - '; }
elseif (is_search()) {
echo 'Search for "'.wp_specialchars($s).'" - '; }
elseif (!(is_404()) && (is_single()) || (is_page())) {
wp_title(''); echo ' - '; }
elseif (is_404()) {
echo 'Not Found - '; }
if (is_home()) {
bloginfo('name'); echo ' - '; bloginfo('description'); }
else {
bloginfo('name'); }
if ($paged>1) {
echo ' - page '. $paged; }
?>
</title>
<link rel="shortcut icon" href="/favicon.ico">
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>">
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
<link href="http://cdn.jotfor.ms/static/formCss.css?3.1.1337" rel="stylesheet" type="text/css" />
<link type="text/css" rel="stylesheet" href="http://cdn.jotfor.ms/css/styles/nova.css?3.1.1337" />
<link type="text/css" media="print" rel="stylesheet" href="http://cdn.jotfor.ms/css/printForm.css?3.1.1337" />
<link href="http://cdn.jotfor.ms/static/formCss.css?3.1.1374" rel="stylesheet" type="text/css" />
<link type="text/css" rel="stylesheet" href="http://cdn.jotfor.ms/css/styles/nova.css?3.1.1374" />
<link type="text/css" media="print" rel="stylesheet" href="http://cdn.jotfor.ms/css/printForm.css?3.1.1374" />
<?php if ( is_singular() ) wp_enqueue_script('comment-reply'); ?>
<?php wp_head(); ?>
<script type="text/javascript">
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
<script src="//use.edgefonts.net/bebas-neue.js"></script>
<script src="http://cdn.jotfor.ms/static/jotform.js?3.1.1337" type="text/javascript"></script>
<script type="text/javascript">
JotForm.init(function(){
JotForm.initCaptcha('input_7');
});
</script>
<script src="http://cdn.jotfor.ms/static/jotform.js?3.1.1374" type="text/javascript"></script>
<script type="text/javascript">
JotForm.init(function(){
JotForm.initCaptcha('input_6');
});
</script>
<script type="text/javascript">
window.onload = JotForm.init(function(){
JotForm.initCaptcha('input_7');
JotForm.initCaptcha('input_6');
});
</script>
<style type="text/css">
body {
background-image: url(http://www.uniquelyshannon.com/images/subbg.png);
}
</style>
<script src="http://www.uniquelyshannon.com/lightbox/js/jquery-1.7.2.min.js"></script>
<script src="http://www.uniquelyshannon.com/lightbox/js/lightbox.js"></script>
<link href="http://www.uniquelyshannon.com/lightbox/css/lightbox.css" rel="stylesheet" />
</head>
<body onload="MM_preloadImages('http://www.uniquelyshannon.com/images/nav/home-r.png','http://www.uniquelyshannon.com/images/nav/port-r.png','http://www.uniquelyshannon.com/images/nav/hire-r.png','http://www.uniquelyshannon.com/images/nav/about-r.png','http://www.uniquelyshannon.com/images/nav/contact-r.png')">
<div id="topbanner"><div id="topnav">
<a href="http://www.uniquelyshannon.com/index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image1','','http://www.uniquelyshannon.com/images/nav/home-r.png',1)"><img src="http://www.uniquelyshannon.com/images/nav/home.png" alt="home" width="131" height="111" border="0" id="Image1" /></a><a href="http://www.uniquelyshannon.com/portfolio" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image2','','http://www.uniquelyshannon.com/images/nav/port-r.png',1)"><img src="http://www.uniquelyshannon.com/images/nav/port.png" alt="portfolio" width="131" border="0" height="111" id="Image2" /></a><a href="http://uniquelyshannon.com/hireme" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image3','','http://www.uniquelyshannon.com/images/nav/hire-r.png',1)"><img src="http://www.uniquelyshannon.com/images/nav/hire.png" alt="hire me" width="131" border="0" height="111" id="Image3" /></a><a href="http://www.uniquelyshannon.com/about" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image4','','http://www.uniquelyshannon.com/images/nav/about-r.png',1)"><img src="http://www.uniquelyshannon.com/images/nav/about.png" alt="about me" width="131" height="111" border="0" id="Image4" /></a><a href="http://www.uniquelyshannon.com/contact" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image5','','http://www.uniquelyshannon.com/images/nav/contact-r.png',1)"><img src="http://www.uniquelyshannon.com/images/nav/contact.png" alt="contact me" width="131" height="111" border="0" id="Image5" /></a></div></div>
<div id="subicon">
<div id="subicontext">Your ultimate source<br />
for All Things creative!</div></div>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div id="maincontainer">
<?php get_sidebar(); ?>
<div id="news">
<?php the_content(); ?>
</div>
</div>
<?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
</div>
<?php endwhile; endif; ?>
<?php get_footer(); ?>