Foros del Web » Creando para Internet » Sistemas de gestión de contenidos » WordPress »

¿Cómo instalar jQuery slideViewer en wordpress?

Estas en el tema de ¿Cómo instalar jQuery slideViewer en wordpress? en el foro de WordPress en Foros del Web. Buenas tardes, quiero instalar este plugin [URL="http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html"]http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html[/URL]en mi wordpress, pero no lo he conseguido ¿alguien sabe a que se debe? este es mi header.php donde ...
  #1 (permalink)  
Antiguo 14/10/2012, 16:33
Avatar de NTHINGs  
Fecha de Ingreso: agosto-2012
Ubicación: Durango
Mensajes: 17
Antigüedad: 11 años, 8 meses
Puntos: 0
Pregunta ¿Cómo instalar jQuery slideViewer en wordpress?

Buenas tardes, quiero instalar este plugin [URL="http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html"]http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html[/URL]en mi wordpress, pero no lo he conseguido ¿alguien sabe a que se debe?

este es mi header.php donde se supone que se debe llamar el jQuery
Código:
<!DOCTYPE html>

<html dir="ltr" lang="en-US">

	<head>
	<?php wp_enqueue_script("jquery"); ?>

<?php wp_head(); ?>
	<link rel="stylesheet" type="text/css" href="css/jquery.jqzoom.css">  
		<meta charset="UTF-8" />

		<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> <?php } ?> <?php wp_title(); ?></title>

		<link rel="profile" href="http://gmpg.org/xfn/11" />
		
		<link rel="stylesheet" type="text/css" href="/jqzoom_ev-2.3/css/jquery.jqzoom.css"> 

		<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'template_url' ); ?>/css/style.css" />

		<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'template_url' ); ?>/css/estilos.css" />

        <script src="< ?php bloginfo('template_directory'); ? >/jquery-1.8.2.min.js" type="text/javascript"></script>
<script src="< ?php bloginfo('template_directory'); ? >/jquery.easing.1.3.js" type="text/javascript"></script>
<script src="< ?php bloginfo('template_directory'); ? >/jquery.slideviewer.1.2.js" type="text/javascript"></script>
<script type="text/javascript">
    $(document).ready(function() {
    $("div#mygalone").slideView({toolTip: true, ttOpacity: 0.5}) // ttOpacity can be 0.1 to 1.0
});
</script>
<style>/*preload classes*/
.svw {width: 50px; height: 20px; background: #fff  ;}
.svw ul {position: relative; left: -999em;}

/*core classes*/
.stripViewer { 
position: relative;
overflow: hidden; 
border: 5px solid #ff0000  ;  
margin: 0 0 1px 0;
}
.stripViewer ul { /* this is your UL of images */
margin: 0;
padding: 0;
position: relative;
left: 0;
top: 0;
width: 1%;
list-style-type: none;
}
.stripViewer ul li { 
float:left;
}
.stripTransmitter {
overflow: auto;
width: 1%;
}
.stripTransmitter ul {
margin: 0;
padding: 0;
position: relative;
list-style-type: none;
}
.stripTransmitter ul li{
width: 20px;
float:left;
margin: 0 1px 1px 0;
}
.stripTransmitter a{
font: bold 10px Verdana, Arial;
text-align: center;
line-height: 22px;
background: #ff0000  ;
color: #fff  ;
text-decoration: none;
display: block;
}
.stripTransmitter a:hover, a.current{
background: #fff  ;
color: #ff0000  ;
}

/*tooltips formatting*/
.tooltip
{
padding: 0.5em;
background: #fff  ;
color: #000  ;
border: 5px solid #dedede  ;
}</style>

		<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

		<?php wp_head(); ?>

		<!-- ToolTip -->

		<script type="text/javascript">

          $(document).ready(function () {

            var targets = $('[rel~=tooltip]'),

              target = false,

              tooltip = false,

              title = false;

            targets.bind('mouseenter', function () {

              target = $(this);

              tip = target.attr('title');

              tooltip = $('<div id="tooltip"></div>');

              if(!tip || tip == '') return false;

              target.removeAttr('title');

              tooltip.css('opacity', 0).html(tip).appendTo('body');

              var init_tooltip = function () {

                  if($(window).width() < tooltip.outerWidth() * 1.5) tooltip.css('max-width', $(window).width() / 2);

                  else tooltip.css('max-width', 340);

                  var pos_left = target.offset().left + (target.outerWidth() / 2) - (tooltip.outerWidth() / 2),

                    pos_top = target.offset().top - tooltip.outerHeight() - 0;

                  if(pos_left < 0) {

                    pos_left = target.offset().left + target.outerWidth() / 2 - 170;

                    tooltip.addClass('left');

                  }

                  else tooltip.removeClass('left');

                  if(pos_left + tooltip.outerWidth() > $(window).width()) {

                    pos_left = target.offset().left - tooltip.outerWidth() + target.outerWidth() / 2 + 20;

                    tooltip.addClass('right');

                  }

                  else tooltip.removeClass('right');

                  if(pos_top < 0) {

                    var pos_top = target.offset().top + target.outerHeight();

                    tooltip.addClass('top');

                  }

                  else tooltip.removeClass('top');

                  tooltip.css({

                    left: pos_left,

                    top: pos_top

                  }).animate({

                    top: '+=0',

                    opacity: 0.8

                  }, 250);

                };

              init_tooltip();

              $(window).resize(init_tooltip);

              var remove_tooltip = function () {

                  tooltip.animate({

                    top: '-=0',

                    opacity: 0.7

                  }, 80, function () {

                    $(this).remove();

                  });

                  target.attr('title', tip);

                };

              target.bind('mouseleave', remove_tooltip);

              tooltip.bind('click', remove_tooltip);

            });

          });

        </script>

	</head>

	<body <?php body_class(); ?>>

		<div id="header">

			<div class="container1">

    			<a href="<?php bloginfo('url'); ?>/" id="logo">

                	<img src="http://img854.imageshack.us/img854/6749/tumblrm837inwnjz1r9xjxo.gif" title="<?php bloginfo('name'); ?> | <?php bloginfo( 'description' ); ?>" alt="<?php bloginfo('name'); ?> | <?php bloginfo( 'description' ); ?>"/>

               	</a>

&nbsp;&nbsp;

				<div style="margin: 7px 0px 00px 0px;">  

					<form method="get" id="searchform" action="<?php echo get_settings('home'); ?>/">

                        <div>

                            <input type="text" style="height:20px; width:280px; font-size:11pt; font-family:Segoe UI" size="42%" name="s" id="s" value="Busca Cómics Aquí" onFocus="if (this.value=='Busca por título, publisher, género, etc...') this.value='';">

                            <input id="searchsubmit" type="image" src="css/images/search.png"/>

                        </div>

                    </form>

          		</div>

			</div>

     	</div>

    <div id="nav-contenedor" style="margin-top:-20px;" align="left">

    	<div id="navegacion">

        	<ul id="menu">

				<li><a href="<?php bloginfo('url'); ?>/" title=""><strong>Inicio</strong></a></li>

				<li><a href="http://r-kdcomics.foroactivo.mx/" title="Foro" target="_blank"><strong>Foro</strong></a></li>

				<li><a href="http://comics.r-kd.net/series/" target="_blank"><strong>Catálogo De Cómics</strong></a></li>
			</ul>

		</div>

   </div>

&nbsp;
  #2 (permalink)  
Antiguo 14/10/2012, 17:22
Avatar de ArturoGallegos
Moderador
 
Fecha de Ingreso: febrero-2008
Ubicación: Morelia, México
Mensajes: 6.774
Antigüedad: 16 años, 1 mes
Puntos: 1146
Respuesta: ¿Cómo instalar jQuery slideViewer en wordpress?

si eres observador en la linea 13 del código que muestras ya se esta llamando al js de jquery
Código HTML:
Ver original
  1. <script src="< ?php bloginfo('template_directory'); ? >/jquery-1.8.2.min.js" type="text/javascript"></script>

y para rematar en la 5ta linea estas aplicando
Código PHP:
Ver original
  1. <?php wp_head(); ?>

si estas usando wordpress 3 o superior ya no es necesario llamar al jquery desde el template, los plugins ya lo agregan y la etiqueta wp_head() muestra la información solicitada por el plugin.

?¿ o quizás estas insertando el slideshow manualmente?
  #3 (permalink)  
Antiguo 14/10/2012, 20:13
Avatar de NTHINGs  
Fecha de Ingreso: agosto-2012
Ubicación: Durango
Mensajes: 17
Antigüedad: 11 años, 8 meses
Puntos: 0
Respuesta: ¿Cómo instalar jQuery slideViewer en wordpress?

no es un plugin de wordpress, lo estoy insertando manualmente
  #4 (permalink)  
Antiguo 14/10/2012, 20:57
Avatar de ArturoGallegos
Moderador
 
Fecha de Ingreso: febrero-2008
Ubicación: Morelia, México
Mensajes: 6.774
Antigüedad: 16 años, 1 mes
Puntos: 1146
Respuesta: ¿Cómo instalar jQuery slideViewer en wordpress?

Ok, amigo solo me quedo la duda por tu comentario inicial que dijiste "quiero instalar este plugin" y el enlace era de un slide html.

pero bueno, suerte en todo espero que logres tu objetivo, aqui estamos para apoyarte.
  #5 (permalink)  
Antiguo 15/10/2012, 05:29
Avatar de Nekko
Colaborador
 
Fecha de Ingreso: marzo-2008
Ubicación: Buenos Aires
Mensajes: 3.141
Antigüedad: 16 años
Puntos: 656
Respuesta: ¿Cómo instalar jQuery slideViewer en wordpress?

Podés compartir la URL del sitio en donde lo estás implementando?
__________________
Taller para crear themes wordpress desde cero | Presupuestos para trabajos particulares vía MP
  #6 (permalink)  
Antiguo 15/10/2012, 18:46
Avatar de NTHINGs  
Fecha de Ingreso: agosto-2012
Ubicación: Durango
Mensajes: 17
Antigüedad: 11 años, 8 meses
Puntos: 0
Respuesta: ¿Cómo instalar jQuery slideViewer en wordpress?

http://vercomics.host22.com/spider-men-1-ingles/ por ejemplo aquí no aparece nada, pero en un documento html separado si funciona
  #7 (permalink)  
Antiguo 15/10/2012, 18:57
Avatar de Nekko
Colaborador
 
Fecha de Ingreso: marzo-2008
Ubicación: Buenos Aires
Mensajes: 3.141
Antigüedad: 16 años
Puntos: 656
Respuesta: ¿Cómo instalar jQuery slideViewer en wordpress?

Poné "ver codigo fuente" en tu sitio y vas a ver como se agregaron los links a esos recursos en tu website.

Además estás linkeando dos veces a jQuery... WordPress ya de por si lo tiene incorporado.
__________________
Taller para crear themes wordpress desde cero | Presupuestos para trabajos particulares vía MP

Etiquetas: blog, jquery, php, plugin
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 00:32.