Home › Forum › Problemi Vari con WP › Problema con galleria Jquery
-
AutorePost
-
-
25 Febbraio 2012 alle 15:19 #20860JashuganPartecipante
Ciao a tutti, sto rifacendo il mio sito per passare da un sito statico in HTML a WordPress.
Il mio problema è che prorpio non riesco a trovare una galleria (plugin) che mi piaccia ed ho deciso di recuperare quella che ho, ovvero questa http://www.attimidifiaba.it/foto-di-bambini.html
Premetto che non sono esperto di java, wordpress etc e che sicuramente sbaglio delle cose basilari.
Allora la galleria in questione è questa questa
e comprende:
1. Degli script da inserire nel campo <head> e che io ho messo nel file header.php
2. Il codice (credo html) da inserire nella pagina
3. Un file .css e due file .js che ho inserito nella cartella “principale”
4. e le carie immagini che ho messo al loro posto.
Il risultato è questo
Gli spazi e l’ordinamento delle foto sembra corretto, quindi questo mi fa pensare che il file .css sia stato riconosciuto, mentre non mi funziona la parte di “animanzione”
qualcuno ha idea quale possa essere il problema?
-
25 Febbraio 2012 alle 21:02 #93804TittiModeratore
Hai inserito il javascript, hai inserito l’html, forse manca la chiamata:
$(document).ready(function() {
$(‘.ad-gallery’).adGallery();
});
Cosa intendi per cartella principale?
http://codextension.com/our-porfolios/jquery-plugins/item/93-ad-gallery-jquery-gallery-plugin.html
-
25 Febbraio 2012 alle 22:11 #93806JashuganPartecipante
Intanto grazie dell’aiuto
Intendo la cartella dove c’è il file php
Non ho capito dove dovrei mettere quel codice..
-
25 Febbraio 2012 alle 22:32 #93807TittiModeratore
Dipende anche dal tema, nel mio ad esempio cosଠcom’è andrebbe in functions.php
Edit: Non c’è nessuna indicazione su come sistemare i file in cartella?
Io non so com’è quel download – se è in una cartella unica o i file sono “sciolti”
Perché è probabile che il .js e il .css vadano sଠnella directory del file.php, ma in due cartelle a parte, ognuno la sua
Sembra proprio che manchi il caricamento dello style.css e del common.js
-
25 Febbraio 2012 alle 22:47 #93809JashuganPartecipante
Ho provato a metterlo cosଠcom’è ma mi ha incasinato tutto ed ha smesso di funzionare
-
25 Febbraio 2012 alle 22:58 #93810TittiModeratore
Già scusa, racchiudilo tra i tag <script type=”text/javascript”>….</script> nel file relativo a dove vuoi che appaia
-
26 Febbraio 2012 alle 0:03 #93812JashuganPartecipante
mmmm… niente da fare
La cosa strana è che ho appena scoperto che con il tema base di wordpress funziona. Ho appena compreato il tema dynamix, ma con quello non funziona, dev’esserci qualcosa che entra in conflitto
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.