Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    Regular Coder
    Join Date
    Apr 2010
    Posts
    207
    Thanks
    30
    Thanked 0 Times in 0 Posts

    Coda Slider Javascript -- need help

    I am truing to install the Coda Slider in my wordpress website, on a template page. The page is http://billboardfamily.com/?page_id=4

    I can not get this up and running, as you can see. It is supposed to be like this:

    http://www.ndoherty.biz/

    I have asked around about this, and nobody seems to be able to help me . Anyone know what I am doing wrong here? Thanks.

    the_process.php
    Code:
    <?php
    /*
    Template Name: The Process
    */
    ?>
    
    <!-- Begin Stylesheets -->
    		<link rel="stylesheet" href="http:/www.billboardfamily.com/wp-content/themes/mensa/assets/css/reset.css" type="text/css" media="screen" />
    
    		<link rel="stylesheet" href="http:/www.billboardfamily.com/wp-content/themes/mensa/assets/css/coda-slider-2.0.css" type="text/css" media="screen" />
    	<!-- End Stylesheets -->
    	
    	<!-- Begin JavaScript -->
    		<script type="text/javascript" src="http:/www.billboardfamily.com/wp-content/themes/mensa/assets/js/jquery-1.3.2.min.js"></script>
    		<script type="text/javascript" src="http:/www.billboardfamily.com/wp-content/themes/mensa/assets/js/jquery.easing.1.3.js"></script>
    		<script type="text/javascript" src="jhttp:/www.billboardfamily.com/wp-content/themes/mensa/assets/js/jquery.coda-slider-2.0.js"></script>
    		 <script type="text/javascript">
    			$().ready(function() {
    				$('#coda-slider-1').codaSlider();
    			});
    		 </script>
    <!-- End JavaScript -->
    
    
    <?php include("header.php"); ?>
    <?php include ('sidebar_theprocess.php'); ?>
    
    
    <div id="theprocess">
    
    <div class="coda-slider-no-js">
    
    <h1>Coda-Slider 2.0</h1>
    	
    <noscript>
    	<div>
            <p>Unfortunately your browser does not hava JavaScript capabilities which are required to exploit full functionality of our site. This could be the result of two possible scenarios:</p>
            <ol>
                <li>You are using an old web browser, in which case you should upgrade it to a newer version. We recommend the latest version of <a href="http://www.getfirefox.com">Firefox</a>.</li>
                <li>You have disabled JavaScript in you browser, in which case you will have to enable it to properly use our site. <a href="http://www.google.com/support/bin/answer.py?answer=23852">Learn how to enable JavaScript</a>.</li>
            </ol>
        </div>
    </noscript>
    
    <div class="coda-slider-wrapper">
    	<div class="coda-slider preload" id="coda-slider-1">
    		<div class="panel">
    
    			<div class="panel-wrapper">
    				<h2 class="title">Panel 1</h2>
    				<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas metus nulla, commodo a sodales sed, dignissim pretium nunc. Nam et lacus neque. Sed volutpat ante id mauris laoreet vestibulum. Nam blandit felis non neque cursus aliquet. Morbi vel enim dignissim massa dignissim commodo vitae quis tellus. Nunc non mollis nulla. Sed consectetur elit id mi consectetur bibendum. Ut enim massa, sodales tempor convallis et, iaculis ac massa. Etiam suscipit nisl eget lorem pellentesque quis iaculis mi mattis. Aliquam sit amet purus lectus. Maecenas tempor ornare sollicitudin.</p>
    			</div>
    		</div>
    		<div class="panel">
    			<div class="panel-wrapper">
    				<h2 class="title">Panel 2</h2>
    
    				<p>Proin nec turpis eget dolor dictum lacinia. Nullam nunc magna, tincidunt eu porta in, faucibus sed magna. Suspendisse laoreet ornare ullamcorper. Nulla in tortor nibh. Pellentesque sed est vitae odio vestibulum aliquet in nec leo.</p>
    			</div>
    		</div>
    		<div class="panel">
    			<div class="panel-wrapper">
    				<h2 class="title">Panel 3</h2>
    				<p>Cras luctus fringilla odio vel hendrerit. Cras pulvinar auctor sollicitudin. Sed lacus quam, sodales sit amet feugiat sit amet, viverra nec augue. Sed enim ipsum, malesuada quis blandit vel, posuere eget erat. Sed a arcu justo. Integer ultricies, nunc at lobortis facilisis, ligula lacus vestibulum quam, id tincidunt sapien arcu in velit. Vestibulum consequat augue et turpis condimentum mollis sed vitae metus. Morbi leo libero, tincidunt lobortis fermentum eget, rhoncus vel sem. Morbi varius viverra velit vel tempus. Morbi enim turpis, facilisis vel volutpat at, condimentum quis erat. Morbi auctor rutrum libero sed placerat. Etiam ipsum velit, eleifend in vehicula eu, tristique a ipsum. Donec vitae quam vel diam iaculis bibendum eget ut diam. Fusce quis interdum diam. Ut urna justo, dapibus a tempus sit amet, bibendum at lectus. Sed venenatis molestie commodo.</p>
    
    			</div>
    		</div>
    		<div class="panel">
    			<div class="panel-wrapper">
    				<h2 class="title">Panel 4</h2>
    				<p>Nulla ultricies ornare erat, a rutrum lacus varius nec. Pellentesque vehicula lobortis dignissim. Ut scelerisque auctor eros sed porttitor. Nullam pulvinar ultrices malesuada. Quisque lobortis bibendum nisi et condimentum. Mauris quis erat vel dui lobortis dignissim.</p>
    			</div>
    		</div>
    
    	</div><!-- .coda-slider -->
    </div><!-- .coda-slider-wrapper -->
    
    </div>
    
    
    </div>
    <?php get_footer(); ?>

  • #2
    New Coder
    Join Date
    Jul 2010
    Posts
    61
    Thanks
    0
    Thanked 21 Times in 21 Posts
    The error console is screaming that $ is not defined, which tells us that something isn't being included properly.
    Code:
    <script type="text/javascript" src="jhttp:/www.billboardfamily.com/wp-content/themes/mensa/assets/js/jquery.coda-slider-2.0.js">

  • Users who have thanked RandomUser531 for this post:

    CarlMartin10 (07-19-2010)

  • #3
    Regular Coder
    Join Date
    Apr 2010
    Posts
    207
    Thanks
    30
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Phil Ippem View Post
    The error console is screaming that $ is not defined, which tells us that something isn't being included properly.

    I got rid of that "j" you highlighted. I will admit I have zero experience with javascript, so I am not having any luck getting this working. I am doing something wrong here.

  • #4
    New Coder
    Join Date
    Jul 2010
    Posts
    61
    Thanks
    0
    Thanked 21 Times in 21 Posts
    Quote Originally Posted by CarlMartin10 View Post
    I got rid of that "j" you highlighted. I will admit I have zero experience with javascript, so I am not having any luck getting this working. I am doing something wrong here.
    The same error is still there because your 3 script URLs are malformed. http://www.billboardfamily.co

    Also your markup is in dire need of validation: http://validator.aborla.net/
    Last edited by RandomUser531; 07-19-2010 at 02:06 AM.

  • Users who have thanked RandomUser531 for this post:

    CarlMartin10 (07-19-2010)

  • #5
    Regular Coder
    Join Date
    Apr 2010
    Posts
    207
    Thanks
    30
    Thanked 0 Times in 0 Posts
    ok, I fixed that. It seems to be getting closer. Now it just says "Loading". It does not actually load up, but it is getting closer.

    It is also pissing off my header, pushing some items down, and also changing the font size of the "Reviews" slider int he footer....it is right on other pages. And my nav bar int he header is now gone on that page. Hmmmmm.

    BTW, thanks for the help.
    Last edited by CarlMartin10; 07-19-2010 at 02:39 AM.

  • #6
    Regular Coder
    Join Date
    Apr 2010
    Posts
    207
    Thanks
    30
    Thanked 0 Times in 0 Posts
    this is very frustrating

  • #7
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,825
    Thanks
    78
    Thanked 4,413 Times in 4,378 Posts
    Both FireFox and MSIE complain about a missing function.

    For FF it is this line:

    element.dispatchEvent(event);

    saying that "element.dispatchEvent is not a function".

    That's at line 4619 in the "prototype.js" library.

    With MSIE it's line 4621, two lines later. So something is clearly missing. I'm guessing that you need yet another library added to your page.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  • #8
    Regular Coder
    Join Date
    Apr 2010
    Posts
    207
    Thanks
    30
    Thanked 0 Times in 0 Posts
    thanks, I found a plugin that was causing some of the issue, but I still do not have it working yet, after removing the suspect plugin.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •