WebSite X5Help Center

 
5t3llino ..
5t3llino ..
User

Problema html menu intestazione jquery  it

Author: 5t3llino ..
Visited 1288, Followers 1, Shared 0  

Salve, ho inserito questo menu : 

http://tympanus.net/Tutorials/SlideDownBoxMenu/

mi crea un problema quando vado ad inserire l html nell intestazione: mi sposta il content sulla sinistra, credo dunque che il problema sia in questo html.

allego codice:

<div class="content">
<ul id="sdt_menu" class="sdt_menu">
<li>
<a href="http://www.villaggiolepalatine.it/villette.html">
<img src="images/1.jpg" alt=""/>
<span class="sdt_active"></span>
<span class="sdt_wrap">
<span class="sdt_link">Villette</span>
<span class="sdt_descr"></span>
</span>
</a>
</li>
<li>
<a href="http://www.villaggiolepalatine.it/spiaggia-1.html">
<img src="images/2.jpg" alt=""/>
<span class="sdt_active"></span>
<span class="sdt_wrap">
<span class="sdt_link">Spiaggia</span>
<span class="sdt_descr"></span>
</span>
</a>
</li>
<li>
<a href="">
<img src="images/3.jpg" alt=""/>
<span class="sdt_active"></span>
<span class="sdt_wrap">
<span class="sdt_link">Attività</span>
<span class="sdt_descr"></span>
</span>
</a>
<div class="sdt_box">
<a href="http://www.villaggiolepalatine.it/sport-e-tempo-libero.html">Sport e Tempo Libero</a>
<a href="http://www.villaggiolepalatine.it/animazione.html">Animazione</a>
<a href="http://www.villaggiolepalatine.it/tour-e-visite-guidate.html">Tour e Visite Guidate</a>
</div>
</li>
<li>
<a href="#">
<img src="images/4.jpg" alt=""/>
<span class="sdt_active"></span>
<span class="sdt_wrap">
<span class="sdt_link">Servizi</span>
<span class="sdt_descr"></span>
</span>
</a>
<div class="sdt_box">
<a href="http://www.villaggiolepalatine.it/bar.html">Bar</a>
<a href="http://www.villaggiolepalatine.it/ristorante---pizzeria.html">Ristorante - Pizzeria</a>
<a href="http://www.villaggiolepalatine.it/market.html">Market</a>
<a href="http://www.villaggiolepalatine.it">Edicola Bazar</a>
<a href="http://www.villaggiolepalatine.it/parrucchiere.html">Parrucchiere</a>
<a href="http://www.villaggiolepalatine.it/navetta.html">Navetta</a>
</div>
</li>
<li>
<a href="http://www.villaggiolepalatine.it/tariffe.html">
<img src="images/5.jpg" alt=""/>
<span class="sdt_active"></span>
<span class="sdt_wrap">
<span class="sdt_link">Tariffe</span>
<span class="sdt_descr"></span>
</span>
</a>
</li>
<li>
<a href="http://www.villaggiolepalatine.it/contatti.html">
<img src="images/6.jpg" alt=""/>
<span class="sdt_active"></span>
<span class="sdt_wrap">
<span class="sdt_link">Contatti</span>
<span class="sdt_descr"></span>
</span>
</a>
</li>
</ul>
</div>

<!-- The JavaScript -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="jquery.easing.1.3.js"></script>
<script type="text/javascript">
$(function() {
/**
* for each menu element, on mouseenter,
* we enlarge the image, and show both sdt_active span and
* sdt_wrap span. If the element has a sub menu (sdt_box),
* then we slide it - if the element is the last one in the menu
* we slide it to the left, otherwise to the right
*/
$('#sdt_menu > li').bind('mouseenter',function(){
var $elem = $(this);
$elem.find('img')
.stop(true)
.animate({
'width':'170px',
'height':'170px',
'left':'0px'
},400,'easeOutBack')
.andSelf()
.find('.sdt_wrap')
.stop(true)
.animate({'top':'140px'},500,'easeOutBack')
.andSelf()
.find('.sdt_active')
.stop(true)
.animate({'height':'190px'},300,function(){
var $sub_menu = $elem.find('.sdt_box');
if($sub_menu.length){
var left = '170px';
if($elem.parent().children().length == $elem.index()+1)
left = '-170px';
$sub_menu.show().animate({'left':left},200);
}
});
}).bind('mouseleave',function(){
var $elem = $(this);
var $sub_menu = $elem.find('.sdt_box');
if($sub_menu.length)
$sub_menu.hide().css('left','0px');

$elem.find('.sdt_active')
.stop(true)
.animate({'height':'0px'},300)
.andSelf().find('img')
.stop(true)
.animate({
'width':'0px',
'height':'0px',
'left':'85px'},400)
.andSelf()
.find('.sdt_wrap')
.stop(true)
.animate({'top':'25px'},500);
});
});
</script></div>

Posted on the
19 ANSWERS - 5 USEFUL - 1 CORRECT
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Best User of the month RU

... posta il link della tua pagina pubblicata in rete in modo da poter verificare...

.

ciao

Read more
Posted on the from  ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Best User of the month RU

... devi mettere tutti gli SCRIPT e riferimenti a SCRIPT tutti in Pannello ESPERTO | /HEAD (Passo_4), e rimuovili da dove li hai inseriti, tranne quelli indicati da

<!-- The JavaScript -->

... e non commettere errori nel conteggio dei DIV...

... 

.

Read more
Posted on the from  ‪ KolAsim ‪ ‪
5t3llino ..
5t3llino ..
User
Author

kolasim, potresti spiegarmi meglio i passaggi? 

T I  R I N G R A Z I O ^___^

Read more
Posted on the from 5t3llino ..
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Best User of the month RU

... quello che è indicato in HEAD lo devi mettere in ESPERTO | /HEAD, (Passo_4), e quello che è indicato nel BODY devi metterlo nell'Oggetto Codice HTML...

... prova  a publicare la pagina a se stante  con il menu e che funzioni, come avevi fatto per il wow, (al limite lo importerai con l'IFRAME)...

.

ciao

Read more
Posted on the from  ‪ KolAsim ‪ ‪
5t3llino ..
5t3llino ..
User
Author

head/passo 4? sarebbe sezione "avanzate" o sezione esperto prima della chiusura tag head?

Read more
Posted on the from 5t3llino ..
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Best User of the month RU

... OK: sezione esperto prima della chiusura tag head

Read more
Posted on the from  ‪ KolAsim ‪ ‪
Mirko Boschetti
Mirko Boschetti
Moderator

come detto già più volte in privato, se non modificavi il mio iwzip funzionante che ti ho mandato, il content non si spostava:

http://provews.altervista.org/down/

Read more
Posted on the from Mirko Boschetti
Mirko Boschetti
Mirko Boschetti
Moderator

questo lo puoi togliere visto che non lo hai usato: 

background:# url(bg.jpg) repeat top left;

Read more
Posted on the from Mirko Boschetti
5t3llino ..
5t3llino ..
User
Author

si lo so, ma sono ancora in fase provvisoria,  

ho risolto un problemino che mi stava dando parecchio fastidio.

PERò DAI, anche se piccolo, sono progressi :)

grazie Kolasim, e i miei dovuti e continui ringraziamenti al Mr. Mirko !!!

Read more
Posted on the from 5t3llino ..
Alex *
Alex *
User

Ciao a tutti !

se non disturbo mi servirebbe anche a me quel file iwzip...  in privato ringraziando anticipatamente " Kolasim e Mirko " 

Read more
Posted on the from Alex *
Mirko Boschetti
Mirko Boschetti
Moderator

Trovi la mia mail nel mio profilo...

Read more
Posted on the from Mirko Boschetti
Alex *
Alex *
User

OK! Fatto......

Read more
Posted on the from Alex *
Lorenzo M.
Lorenzo M.
User

Questo menù è un must, mi sa che mi aggiungo per ricever il file iwzip :D ihih

Read more
Posted on the from Lorenzo M.
5t3llino ..
5t3llino ..
User
Author

Potreste indicarmi come e quale campo modificare x centrare le voci testi menu?

GRAZIE

Read more
Posted on the from 5t3llino ..
5t3llino ..
5t3llino ..
User
Author

e come mai avendo ridimensionato il top dei sottomenu, quando si và per cliccare ad esemepio : SERVIZI-> Parrucchiere , pare ci sia qualcosa che non vada...

come risolvere?

www.villaggiopatatine.altervista.org

GRAZIE ^___^

Read more
Posted on the from 5t3llino ..
5t3llino ..
5t3llino ..
User
Author

Mi servirebbe un aiuto:

- CENTRARE LE VOCI DEL MENU

- COME MAI QUANDO VADO SU MENU>SERVIZI-> Parrucchiere ,NON ME LO RENDE CLICCABILI?

http://www.wowx.altervista.org/

S.O.S. GRAZIE ^_

Read more
Posted on the from 5t3llino ..
5t3llino ..
5t3llino ..
User
Author

RISOLTO....

INVECE NEL CSS PER POTER GESTIRE L'ALTEZZA DEL RIQUADRO CHE APPARE SOTTO I MENU CON LA STESSA VOCE DEL MENU....IN QUALE PARTE DEL CSS?

Read more
Posted on the from 5t3llino ..