Ragazzi non riesco ad inserire uno javascript......ho completato tutte le operazioni nella gestione file del mio sito.....questo e il codice:
Codice HTML:
<head>
<title>Uno slider per jQuery utilizzato anche come portfolio - Esempio JavaScript scaricato da HTML.it</title>
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="Content-Language" content="it" />
<meta name="Robots" content="All" />
<meta name="Description" content="HTML.it - il sito italiano sul Web publishing" />
<meta name="Keywords" content="javascript" />
<meta name="Owner" content="HTML.it srl" />
<meta name="Author" content="HTML.it srl" />
<meta name="Copyright" content="HTML.it srl" />
<!-- IMPORTANT : must before the javascripts -->
<link href="stylesheets/simpleSlider.css" rel="stylesheet" type="text/css" media="screen" />
<link href="stylesheets/example.css" rel="stylesheet" type="text/css" media="screen" />
<!-- /IMPORTANT : must before the javascripts -->
<script type="text/javascript" src="javascripts/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="javascripts/jquery.simpleSlider.js"></script>
<script type="text/javascript" src="javascripts/jquery.simpleSlider.effects.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$('#slider').simpleSlider({
width: 640,
height: 360
});
});
</script>
</head>
---------------------------------------------------------------------------------------------
<body>
<h1>Uno slider per jQuery utilizzato anche come portfolio</h1>
<div id="slider">
<ul>
<li>
<img src="http://forum.it.altervista.org/images/example/borderlands.jpg" alt="Borderlands" />
<div>
<h3 style="margin-top: 0;">Borderlands</h3>
<p>
Nice to play!
</p>
<a href="http://www.borderlandsthegame.com/" target="_blank">website</a>
</div>
</li>
<li>
<img src="http://forum.it.altervista.org/images/example/deusex3.jpg" alt="Deus Ex 3 - Human Revolution" />
<div>
<h3 style="margin-top: 0;">Deus Ex 3 - Human Revolution</h3>
<p>
I don't know how it is.
</p>
<a href="http://deusex.com/" target="_blank">website</a>
</div>
</li>
<li>
<img src="http://forum.it.altervista.org/images/example/portal2.jpg" alt="Portal 2" />
<div>
<h3 style="margin-top: 0;">Portal 2</h3>
<p>
I want to see more!
</p>
<a href="http://www.thinkwithportals.com/" target="_blank">website</a>
</div>
</li>
<li>
<img src="http://forum.it.altervista.org/images/example/teamfortress2.jpg" alt="Team Fortres 2" />
<div>
<h3 style="margin-top: 0;">Team Fortress 2</h3>
<p>
Realy good game!
</p>
<a href="http://www.teamfortress.com/" target="_blank">website</a>
</div>
</li>
</ul>
</div>
inserisco il tag <script> nell head e il div nel body.......solo che non funziona.......aiutatemi vi prego............
questo e il mio sito: http://raffyshow.altervista.org/index.html