Jump to content
Gabriel SS

Problemas no primeiro uso de JQuery

Recommended Posts

Gabriel SS

Boas,

estou utilizando o plugin JQuery Cycle, de M. Alsup, porém, não consigo inseri-lo na minha página.

Abaixo, meu código fonte:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="Projetista e desenvolvedor de artefatos mecatrônicos e hobista na área de programação. Desenvolvimento com C++, Processing e Arduino " />
<meta name="keywords" content="robots, arduino, brasil, mecatronica, blog, c++, games servers, redes" />

<title>Gabriel SS</title>
<link href="styles/css_default_blue_gray.css" rel="stylesheet" type="text/css" />
<style type="text/css">
#apDiv1 {
position:absolute;
width:200px;
height:115px;
z-index:1;
}
</style>
<script type="text/javascript" src="cycle.js" ></script>
<script type="text/javascript" src="jquery.js" ></script>
<script type="text/javascript"> 
$(document).ready(function() {
    $('.slideshow').cycle({
	fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
});
});
</script> 

</head>

<body>
<div id="header">
  <div id="raios">
    <div id="logo"></div>
  </div>
  <div id="adm">Administração</div>
</div>
<div id="slide">

<div class="pics" id="galeria1">
<img src="01.jpg" alt="Teste de JQuery" />
<img src="02.jpg" alt="Teste de JQuery" />
</div>
<div id="frases">
  <div id="div"></div>
  <div id="div_baixo"></div>
  <p><span class="autor"> "</span> <span class="frase">A mente que se abre a uma nova idéia jamais voltará ao seu tamanho original.</span><span class="autor"> "</span></p>
  <p><span class="autor">Albert Einstein</span></p>
</div>
</body>
</html>

Aonde se encontra o erro?  ;)

Espero que me ajudem!!

Cumps

Share this post


Link to post
Share on other sites
Gabriel SS

Oh sim!

O problema está na disposição de scripts 😲

Grato yoda!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.