Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 26, 2012, 11:13:42 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
155556
Posts in
21715
Topics by
7737
Members
Latest Member:
gx-world
WebsiteBaker Community Forum
Italiano (Italian)
Help/Support
(Moderators:
leron
,
Mte90
)
jquery che e pagine in dissolvenza
Pages: [
1
]
Go Down
Author
Topic: jquery che e pagine in dissolvenza (Read 384 times)
pinuxio
Offline
Posts: 12
jquery che e pagine in dissolvenza
«
on:
November 10, 2011, 07:33:20 PM »
Salve, volevo fare in modo che il mio sito avesse le pagine in dissolvenza quando passo fra di esse.
ecco cosa ho messo nella index del mio tema
Nell'header della pagina ho inserito il percorso da dove caricare le librerie
<!--JQUERY -->
<script type="text/javascript" src="<?php echo TEMPLATE_DIR; ?>/jq/js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="<?php echo TEMPLATE_DIR; ?>/jq/js/jquery-ui-1.8.16.custom.min.js"></script>
e nella pagina ho inserito questo:
<script type="text/javascript"> $(document).ready(function(){ $('a').click(function(){ $('body').fadeOut('slow'); $pag = $(this).attr('href'); $('body').fadeOut('slow'); setTimeout('goLink("'+$pag+'")',800); return false; }); }) function goLink($pag){ location.href = $pag; } </script>
qualcuno può aiutarmi??
Logged
Mte90
Moderator
Offline
Posts: 93
Re: jquery che e pagine in dissolvenza
«
Reply #1 on:
November 22, 2011, 04:55:16 PM »
usare il tag code per scrivere meglio il codice sarebbe meglio visto che c'è.
qual'è il problema che ti dice firebug?
Logged
www.mte90.net
- Debian, Kde e programmazione!
Mp per richieste personali verranno cestinate!
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...