Problema con Script Gallery Carousel 3d
-
Buonasera
Vorrei realizzare una galleria come in oggetto . Ho trovato un sito molto utile che mi riporta queste seguenti indicazioni3D CAROUSEL
Created a 3D Carousel from a list of images, with reflections and animated by mouse position.
Options:
items String mandatory items selection itemWidth Integer mandatory the max width for each item itemHeight Integer mandatory the max height for each item itemMinWidth Integer mandatory the minimum width for each item, the height is automaticaly calculated to keep proportions rotationSpeed Float mandatory the speed for rotation animation reflectionSize Float mandatory the reflection size a fraction from items' height slowOnHover Boolean optional if true the rotation speed slows down when an item is hovered slowOnOut Boolean optional it true the rotation speed slows down when the cursor leaves the carousel Code sample:
SCRIPTS
window.onload =
function()
{
$('#carousel').Carousel( {
itemWidth: 110,
itemHeight: 62,
itemMinWidth: 50,
items: 'a',
reflections: .5,
rotationSpeed: 1.8 } ) ; }
HTML
<div id="carousel"> <a href="" title=""><img src="" width="100%" /></a> <a href="" title=""><img src="" width="100%" /></a> <a href="" title=""><img src="" width="100%" /></a> <a href="" title=""><img src="" width="100%" /></a> <a href="" title=""><img src="" width="100%" /></a> </div>
CSS
#carousel {
width: 700px;
height: 150px;
background-color: #111;
position: absolute;
top: 200px;
left: 100px; }
#carousel a
{
position: absolute;
width: 110px; }come potrei procedere ? ho provato tramite dreamweaver a fare un file css per lo script in css riportato
poi ho fatto un file html con lo script riportato e in più al suo interno ho inserito lo script window.onload
ovviamente in img src ho inserito i nomi dei file ma non mi funziona perfettamente nulla....sicuramente ho sbagliato tutto , purtroppo sono alle prime armi..potreste darmi una mano ? ve ne sarei davvero gratocordiali saluti Vincenzo
Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.
Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.
Con il tuo contributo, questo post potrebbe essere ancora migliore 💗
Registrati Accedi