WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Javascrpit not working when navigating to "previous" pages (1 post)

  1. macacox
    Member
    Posted 5 years ago #

    im running a script that is applied to post containers (not actual posts)
    the following code is used on my header.php

    <script src="js/jquery-1.2.6.min.js" type="text/javascript"></script>
    		<script src="js/jquery.easing.1.3.js" type="text/javascript"></script>
    		<script src="js/jquery.kwicks-1.5.1.pack.js" type="text/javascript"></script>
    
    		<script type="text/javascript">
    			$().ready(function() {
    				$('.kwicks').kwicks({
    					max : 220,
    					spacing : 5
    				});
    			});
    		</script>

    everything works fine when initial page loads
    but when i click on the link to display previous posts
    (i use:<?php posts_nav_link( ' · ', __('&laquo; Discos Posteriores'), __('Discos anteriores &raquo;'), __('') );?>)
    it displays the next posts
    but the plugin does not work

    it doesnt work either when i click on a link to view my posts by category

    basically the script is only being applied to the main page...
    any help would be appreciated

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.