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 > [Script] Rotazione banner
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
publi
.grande:maestro.

User info:
Registered: Jun 2002
Posts: 885 (0.11 al dì)
Location:
Corso:
Anno:
Time Online: 8 Days, 6:51:22 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
[Script] Rotazione banner

Sto cercando uno Script per la rotazione dei banners di un sito, ma non quello semplice che mi chiede l'url del collegamento e l'url dell'immagine banner, ma che mi lasci anche inserire degli script.

Sapreste consigliarmi qualcosa?
Grazie

__________________
Acchiappasogni

13-07-2005 17:34
Click Here to See the Profile for publi Click Here to See the Blog of publi Click here to Send publi a Private Message Visit publi's homepage! Find more posts by publi Add publi to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Terrytop
. : funambolo : .

User info:
Registered: Jul 2002
Posts: 5075 (0.62 al dì)
Location: just in my mind
Corso: penetrazione digitale
Anno: finito'
Time Online: 71 Days, 5:58:12 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

non bastano un paio di righe in php/asp ..?

__________________
Den som väntar på något gott väntar aldrig för länge
"...una radio spenta e' peggio che scambiare una radio per un adesivo..."
la gente dorme e si sveglia solo per morire

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

User info:
Registered: Jun 2002
Posts: 885 (0.11 al dì)
Location:
Corso:
Anno:
Time Online: 8 Days, 6:51:22 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Le hai da passarmi?

__________________
Acchiappasogni

13-07-2005 17:49
Click Here to See the Profile for publi Click Here to See the Blog of publi Click here to Send publi a Private Message Visit publi's homepage! Find more posts by publi Add publi to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Terrytop
. : funambolo : .

User info:
Registered: Jul 2002
Posts: 5075 (0.62 al dì)
Location: just in my mind
Corso: penetrazione digitale
Anno: finito'
Time Online: 71 Days, 5:58:12 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

no, non mi e' capitato mai di averne bisogno
pero', a parte la sintassi, ti basta

funzione.random che ti genera un numero compreso tra 1 e n, dove n e' il numero di banner che hai

una struttura switch che a seconda del numero uscito ti tira fuori una delle immagini/script

insomma 2-3 righe per fare una cosa proprio semplice

__________________
Den som väntar på något gott väntar aldrig för länge
"...una radio spenta e' peggio che scambiare una radio per un adesivo..."
la gente dorme e si sveglia solo per morire

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

User info:
Registered: Jun 2002
Posts: 885 (0.11 al dì)
Location:
Corso:
Anno:
Time Online: 8 Days, 6:51:22 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

e lo so, ma che mi accetti anche gli script e non solo i path nn riesco... sto impazzendo

__________________
Acchiappasogni

13-07-2005 18:23
Click Here to See the Profile for publi Click Here to See the Blog of publi Click here to Send publi a Private Message Visit publi's homepage! Find more posts by publi Add publi to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
foolish
bleak

User info:
Registered: Oct 2003
Posts: 3585 (0.46 al dì)
Location:
Corso:
Anno:
Time Online: 36 Days, 7:28:56 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by Terrytop
no, non mi e' capitato mai di averne bisogno
pero', a parte la sintassi, ti basta

funzione.random che ti genera un numero compreso tra 1 e n, dove n e' il numero di banner che hai

una struttura switch che a seconda del numero uscito ti tira fuori una delle immagini/script

insomma 2-3 righe per fare una cosa proprio semplice


all'opzione del case inserisci un echo che ti dia in uscita tutto lo script.

tipo:
PHP:

.....

case 3:
             echo("<script>.......................</script>");
case 4:

ecc....

__________________
The only way to discover the limits of the possible is to go beyond them into the impossible.
Arthur C. Clarke.

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

User info:
Registered: Jun 2002
Posts: 885 (0.11 al dì)
Location:
Corso:
Anno:
Time Online: 8 Days, 6:51:22 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Sono riuscito in JavaScript... sempre per dei cavoli di piccoli errori... :D

Grazie a tutti!

__________________
Acchiappasogni

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

User info:
Registered: Jun 2002
Posts: 885 (0.11 al dì)
Location:
Corso:
Anno:
Time Online: 8 Days, 6:51:22 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ora ho aggiunto lo script di google e non mi va piu. Perchè...


PHP:

<script type='text/javascript'>
<!--google_ad_client = 'pub-5675508155289269';
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = '468x60_as';
google_ad_type = 'text_image';
google_ad_channel ='';
google_page_url = document.location;
//-->
</script>
<script type='text/javascript'
src='http://pagead2.googlesyndication.com/pagead/show_ads.js'>
</script>

__________________
Acchiappasogni

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

User info:
Registered: Jun 2002
Posts: 885 (0.11 al dì)
Location:
Corso:
Anno:
Time Online: 8 Days, 6:51:22 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Miii... finalmente ce l'ho fatta tutto in php anche con google, sbagliavo sempre delle piccole cose :D

Grazie per gli aiuti sono stati utili!

__________________
Acchiappasogni

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

User info:
Registered: Jun 2002
Posts: 885 (0.11 al dì)
Location:
Corso:
Anno:
Time Online: 8 Days, 6:51:22 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ancora una domanda:
Ho lo script che se lo faccio girare solo in php funziona, ma se uso in un file html

<html>
...
...
<?php
include("file.php");
echo "$content";
?>
...
...
</html>

Non mi fa vedere nulla????:?:?:?

__________________
Acchiappasogni

Last edited by publi on 19-07-2005 at 21:52

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

User info:
Registered: Jun 2002
Posts: 885 (0.11 al dì)
Location:
Corso:
Anno:
Time Online: 8 Days, 6:51:22 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ancora aiuto!

Ho sistemato tutto e ho visto che funziona, ma sapreste dirmi come mai su uno spazio web lo si vede, mentre su un altro no?

__________________
Acchiappasogni

24-07-2005 13:46
Click Here to See the Profile for publi Click Here to See the Blog of publi Click here to Send publi a Private Message Visit publi's homepage! Find more posts by publi Add publi to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 14:33.    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.046 seconds (78.15% PHP - 21.85% MySQL) con 25 query.