Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Olá, pesquisando na net encontrei este script:
<style type="text/css">
.slideshow { height: 232px; width: 232px; margin: auto }
.slideshow img { padding: 15px; border: 1px solid #ccc; background-color: #eee; }
</style>
<!-- include jQuery library -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js">
<!-- include Cycle plugin -->
<script type="text/javascript" src="http://cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.2.74.js">
<!-- initialize the slideshow when the DOM is ready -->
<script type="text/javascript">
$(document).ready(function() {});
});
</script>
</head>
<body>
<div class="slideshow">
<img src="images/slide1.jpg" width="600" height="400" />
<img src="images/slide2.jpg" width="600" height="400" />
</div>
</body>
funciona à contento, mas como esta em html não sei como usar ele em uma página php via include, como fazer?
ou teria que refazé-lo todo em php?
Carregando comentários...