• Resolved arturocivit

    (@arturocivit)


    Hi guys, one question, what is wrong with the following?

    <!-- must have -->
    <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/bannerscollection_kenburns.css" type="text/css" media="screen" />
    <script src="<?php bloginfo('template_directory'); ?>/js/jquery-ui-1.8.16.custom.min.js" type="text/javascript"></script>
    <script src="<?php bloginfo('template_directory'); ?>/js/jquery.ui.touch-punch.min.js" type="text/javascript"></script>
    <script src="<?php bloginfo('template_directory'); ?>/js/bannerscollection_kenburns.js" type="text/javascript"></script>
    <!--[if IE]><script src="js/excanvas.compiled.js" type="text/javascript"></script><![endif]-->
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
    <!-- must have -->

    At this point is not “calling” those scripts nor the css file, I tied some combinations but still cannot see what’s wrong with that, any idea?

    Thanks a lot!

    Arturo

Viewing 4 replies - 1 through 4 (of 4 total)
  • http://codex.wordpress.org/Function_Reference/bloginfo

    in which context is the code used?

    what is the resulting direct output of the code?

    Thread Starter arturocivit

    (@arturocivit)

    Thanks for your reply.

    Im using this in the header.php document within the head file, that will make a slideshow to work, at this point is not working, you can see that here:

    http://thenewmediastudio.com/dev/erin/wordpress/

    Where the loader image is appearing it should be the slideshow

    Thanks!

    Thread Starter arturocivit

    (@arturocivit)

    Still having problems with this, but maybe I’m not pasting here all the needed code, so, here I go again:

    <head>
    
    <meta charset="utf-8" />
    <!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
    
    <title><?php bloginfo('name'); ?> | <?php bloginfo('description'); ?></title>
    
    <meta name="keywords" content="" />
    <meta name="description" content="<?php bloginfo('description'); ?>" />
    
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    
    <!-- must have -->
    <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/bannerscollection_kenburns.css" type="text/css" media="screen" />
    <script src="<?php bloginfo('template_url'); ?>/js/jquery-ui-1.8.16.custom.min.js" type="text/javascript"></script>
    <script src="<?php bloginfo('template_url'); ?>/js/jquery.ui.touch-punch.min.js" type="text/javascript"></script>
    <script src="<?php bloginfo('template_url'); ?>/js/bannerscollection_kenburns.js" type="text/javascript"></script>
    <!--[if IE]><script src="js/excanvas.compiled.js" type="text/javascript"></script><![endif]-->
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
    <!-- must have -->
    
    <script>
    jQuery(function() {
    
    jQuery('#bannerscollection_kenburns_opportune').bannerscollection_kenburns({
    skin: 'opportune',
    responsive:false,
    width: 1065,
    height: 417,
    circleRadius:8,
    circleLineWidth:4,
    circleColor: "#ffffff", //849ef3
    circleAlpha: 50,
    behindCircleColor: "#000000",
    behindCircleAlpha: 20,
    showPreviewThumbs: false,
    showBottomNav: false,
    thumbsWrapperMarginTop:30
    }); 
    
    });
    </script>
    
    <?php wp_head(); ?>
    
    </head>

    But still not sure why is not working, maybe I’m calling something there in the wrong way, not sure if it is one of those JS files or something in this line:

    jQuery(‘#bannerscollection_kenburns_opportune’).bannerscollection_kenburns({

    Any idea guys?

    Thanks in advance!

    Arturo

    Thread Starter arturocivit

    (@arturocivit)

    I think the problem comes from another area of my theme, will create a new post to explain in detail, thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Problems with paths’ is closed to new replies.