Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Community > Tech > [javascript] Cambiare dinamicamente - e continuamente - immagine
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
0m4r
.grande:maestro.

User info:
Registered: Mar 2002
Posts: 7287 (0.84 al dì)
Location: Düsseldorf (DE)
Corso:
Anno: ESAMI FINITI
Time Online: 49 Days, 0:57:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
[javascript] Cambiare dinamicamente - e continuamente - immagine

Ciao a tutti,
al link http://www.theblemish.net/ ho creato un javascript che ogni secondo cambia un immagine di sfondo (se date un okkio al loink si capisce meglio quello che dico).
Il problema è che la pagina sembra continyare a ricaricarsi ogni secondo; esiste una tecnica per evitare tuto questo?

P.S.
per vedere lo script basta fare visualizzare il sorgente della pagina html.

P.P.S.
Non fate molto caso alla grafica, mi serviva solo capire se l'idea della rotazione delle immagini in javascript era fattibile.

Grazie

__________________
http://www.twitter.com/0m4r

05-05-2005 12:55
Click Here to See the Profile for 0m4r Click Here to See the Blog of 0m4r Click here to Send 0m4r a Private Message Find more posts by 0m4r Add 0m4r to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Napolux
-29 Kg da Settembre 2005

User info:
Registered: Jun 2002
Posts: 3666 (0.42 al dì)
Location: Giussano (MI)
Corso: F28
Anno: ???
Time Online: 21 Days, 19:29:36 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

IMHO no, lo sfondo viene cambiato proprio grazie ad un refresh....

Senza refresh della pagina rimarrebbe sempre quello.

Hai pensato ad una cosa fatta in flash???

__________________
Napolux.com

05-05-2005 13:11
Click Here to See the Profile for Napolux Click Here to See the Blog of Napolux Click here to Send Napolux a Private Message Visit Napolux's homepage! Find more posts by Napolux Add Napolux to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
0m4r
.grande:maestro.

User info:
Registered: Mar 2002
Posts: 7287 (0.84 al dì)
Location: Düsseldorf (DE)
Corso:
Anno: ESAMI FINITI
Time Online: 49 Days, 0:57:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

bhe, ma per esempio con l'evento OnMouseOver non viene ricaricata tutta la pagina, o si?

BUG
Con FireFox e Mozzilla lo script non si vede correttamente.
Perchè?

__________________
http://www.twitter.com/0m4r

05-05-2005 13:13
Click Here to See the Profile for 0m4r Click Here to See the Blog of 0m4r Click here to Send 0m4r a Private Message Find more posts by 0m4r Add 0m4r to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ripe
- up in the mountains -

User info:
Registered: Jun 2002
Posts: 9469 (1.10 al dì)
Location: Cinisellooo
Corso: TICO TICO
Anno: Primo
Time Online: 61 Days, 2:33:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Non puoi realizzarlo con un timer in Javascript, che ogni volta che scatta cambia l'immagine?

Per il problema del caricamento, fai un preload così non ci sono grossi tempi di attesa...

__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»

05-05-2005 13:16
Click Here to See the Profile for ripe Click Here to See the Blog of ripe Click here to Send ripe a Private Message Find more posts by ripe Add ripe to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
0m4r
.grande:maestro.

User info:
Registered: Mar 2002
Posts: 7287 (0.84 al dì)
Location: Düsseldorf (DE)
Corso:
Anno: ESAMI FINITI
Time Online: 49 Days, 0:57:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by ripe
Non puoi realizzarlo con un timer in Javascript, che ogni volta che scatta cambia l'immagine?

Per il problema del caricamento, fai un preload così non ci sono grossi tempi di attesa...


ehm, non è quello che ho fatto io?

__________________
http://www.twitter.com/0m4r

05-05-2005 13:20
Click Here to See the Profile for 0m4r Click Here to See the Blog of 0m4r Click here to Send 0m4r a Private Message Find more posts by 0m4r Add 0m4r to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ripe
- up in the mountains -

User info:
Registered: Jun 2002
Posts: 9469 (1.10 al dì)
Location: Cinisellooo
Corso: TICO TICO
Anno: Primo
Time Online: 61 Days, 2:33:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

:asd:

Non avevo letto i P.S. e non avevo guardato il link...

MEA CULPA! :(

__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»

05-05-2005 13:25
Click Here to See the Profile for ripe Click Here to See the Blog of ripe Click here to Send ripe a Private Message Find more posts by ripe Add ripe to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Napolux
-29 Kg da Settembre 2005

User info:
Registered: Jun 2002
Posts: 3666 (0.42 al dì)
Location: Giussano (MI)
Corso: F28
Anno: ???
Time Online: 21 Days, 19:29:36 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by 0m4r
bhe, ma per esempio con l'evento OnMouseOver non viene ricaricata tutta la pagina, o si?

BUG
Con FireFox e Mozzilla lo script non si vede correttamente.
Perchè?


Javascript e' una brutta bestia... ;)

__________________
Napolux.com

05-05-2005 14:03
Click Here to See the Profile for Napolux Click Here to See the Blog of Napolux Click here to Send Napolux a Private Message Visit Napolux's homepage! Find more posts by Napolux Add Napolux to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 19:04.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.058 seconds (70.61% PHP - 29.39% MySQL) con 23 query.