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 > Forum De Bell Tolls > [web] javaScript
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
maynard80
.novellino.

User info:
Registered: Jul 2007
Posts: 3 (0.00 al dì)
Location: Milano (e non interland, tendo a precisare)
Corso: informatica
Anno: SESTO
Time Online: 12 Days, 14:28:38 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
javaScript

allora non sono molto pratico di javascript (anzi non ne so molto) mi servirebbe poter prendere una stringa da file txt e introdurla in una pagina web (usando solo javascript e html, niente database, latoserver e balle varie) sapete farlo? manipolare le stringh ci sono, mi manca solo prenderle da un file txt.

ringrazio in anticipo chi mi posterà del codice, ciao!

__________________
msn Messenger: giamma80 at tiscali.it
ATHENA !

27-12-2003 20:03
Click Here to See the Profile for maynard80 Click here to Send maynard80 a Private Message Find more posts by maynard80 Add maynard80 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

mi manca solo prenderle da un file txt.

per quel che ne so io non lo puoi fare...però è possibilissimo che mi sbagli io...

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

27-12-2003 20:07
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
maynard80
.novellino.

User info:
Registered: Jul 2007
Posts: 3 (0.00 al dì)
Location: Milano (e non interland, tendo a precisare)
Corso: informatica
Anno: SESTO
Time Online: 12 Days, 14:28:38 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

spero si possa :)

__________________
msn Messenger: giamma80 at tiscali.it
ATHENA !

27-12-2003 20:12
Click Here to See the Profile for maynard80 Click here to Send maynard80 a Private Message Find more posts by maynard80 Add maynard80 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
fulminato1
aLTeRaZioNeGuiTaRVoiCe

User info:
Registered: Oct 2003
Posts: 2809 (0.34 al dì)
Location: a casa.
Corso: comunicazio digital
Anno: secondo?
Time Online: 30 Days, 8:54:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

anke secondo me non si può fare.
ho appena cercato sul mio manuale di javascript e non c è nessuna parte che riguarda i file.
dovresti cercare qualke tutorial online

__________________
www.alterazione.com www.andreaforzani.com
www.myspace.com/alterazione
www.myspace.com/festaincravilla

27-12-2003 20:17
Click Here to See the Profile for fulminato1 Click Here to See the Blog of fulminato1 Click here to Send fulminato1 a Private Message Visit fulminato1's homepage! Find more posts by fulminato1 Add fulminato1 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
fulminato1
aLTeRaZioNeGuiTaRVoiCe

User info:
Registered: Oct 2003
Posts: 2809 (0.34 al dì)
Location: a casa.
Corso: comunicazio digital
Anno: secondo?
Time Online: 30 Days, 8:54:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

prova a guardare su http://www.javascript.it/scripts.php

__________________
www.alterazione.com www.andreaforzani.com
www.myspace.com/alterazione
www.myspace.com/festaincravilla

27-12-2003 20:29
Click Here to See the Profile for fulminato1 Click Here to See the Blog of fulminato1 Click here to Send fulminato1 a Private Message Visit fulminato1's homepage! Find more posts by fulminato1 Add fulminato1 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

io credo che non si possa fondamentalmente per ragioni di sicurezza... sai non è bello scrivere su file di un client, magari a sua insaputa...

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

27-12-2003 20:29
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
Ryudo
.precettore.

User info:
Registered: Apr 2003
Posts: 85 (0.01 al dì)
Location: Arcore
Corso: Informatica
Anno: 1
Time Online: 3 Days, 8:05:43 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by maynard80
spero si possa :)

non si puo' per ovvi motivi di sicurezza.
Se non vuoi usare linguaggi di scripting server side l'unica soluzione possibile credo sia quella di usare JScript e crearti un ActiveX.

27-12-2003 20:36
Click Here to See the Profile for Ryudo Click here to Send Ryudo a Private Message Visit Ryudo's homepage! Find more posts by Ryudo Add Ryudo to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
fulminato1
aLTeRaZioNeGuiTaRVoiCe

User info:
Registered: Oct 2003
Posts: 2809 (0.34 al dì)
Location: a casa.
Corso: comunicazio digital
Anno: secondo?
Time Online: 30 Days, 8:54:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

guarda ke secondo me intende una cosa del tipo "ho un file txt contenente il testo da visualizzare nella pagina html,ke posso facilmente cambiare senza andare a modificare il codice html ogni volta" anke se non ne capisco l'utilità.
io uso un procedimento simile in flash,ma lì si tratta di modificare un filmato.
in html, a mio parere non serve un file txt esterno con il testo, o no?

__________________
www.alterazione.com www.andreaforzani.com
www.myspace.com/alterazione
www.myspace.com/festaincravilla

27-12-2003 20:37
Click Here to See the Profile for fulminato1 Click Here to See the Blog of fulminato1 Click here to Send fulminato1 a Private Message Visit fulminato1's homepage! Find more posts by fulminato1 Add fulminato1 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

no...non serve...almeno se ho capito il tuo discorso

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

27-12-2003 20:47
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
fulminato1
aLTeRaZioNeGuiTaRVoiCe

User info:
Registered: Oct 2003
Posts: 2809 (0.34 al dì)
Location: a casa.
Corso: comunicazio digital
Anno: secondo?
Time Online: 30 Days, 8:54:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

infatti a me sembra una cosa un po inutile.io lo uso in flash perke quando aggiorno il mio sito invece di modificare ogni volta il filmato interessato, modifico solo il file txt su cui si appoggia, ma con html è abbastanza inutile, se è questo lo scopo per cui gli serviva una tecnica del genere.

__________________
www.alterazione.com www.andreaforzani.com
www.myspace.com/alterazione
www.myspace.com/festaincravilla

27-12-2003 20:54
Click Here to See the Profile for fulminato1 Click Here to See the Blog of fulminato1 Click here to Send fulminato1 a Private Message Visit fulminato1's homepage! Find more posts by fulminato1 Add fulminato1 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Lord_Tom
gentiluomo

User info:
Registered: Dec 2001
Posts: 177 (0.02 al dì)
Location: PAVIA
Corso: laurea quinquennale info
Anno: 5
Time Online: 2 Days, 0:17:35 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Anche io ho consultato alcuni manuali (scaricabili da www.manuali.it)
Purtroppo non sono riuscito a risolvere il problema proposto, e mi son sentito un cretino :oops:
Cmq dubito che in html si possa far questo; con una pagina asp, ad esempio, è una boiatta; se vuoi ti copio il codice che ti serve, ma la pagina deve avere estensione .asp

Buona fortuna :-D

28-12-2003 10:33
Click Here to See the Profile for Lord_Tom Click here to Send Lord_Tom a Private Message Find more posts by Lord_Tom Add Lord_Tom 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
Re: javaScript

Originally posted by maynard80
allora non sono molto pratico di javascript (anzi non ne so molto) mi servirebbe poter prendere una stringa da file txt e introdurla in una pagina web (usando solo javascript e html, niente database, latoserver e balle varie) sapete farlo? manipolare le stringh ci sono, mi manca solo prenderle da un file txt.

ringrazio in anticipo chi mi posterà del codice, ciao!


Non ho ben capito cosa vuoi fare, ma forse puoi risolvere il tuo problema facendo un include lato-client.

1) Il tuo file .txt lo rinomini in .js e all'interno metti tra document.write() il testo che vuoi scrivere nella pagina Html.

2) Poi nel documento Html richiami lo script nel punto dove vuoi che il tuo testo venga incollato.

Non è una soluzione molto pulita, ma sicuramente semplice! ;)

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

28-12-2003 10:52
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

ok ripe....cosi funziona di sicuro!

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

28-12-2003 11:16
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
maynard80
.novellino.

User info:
Registered: Jul 2007
Posts: 3 (0.00 al dì)
Location: Milano (e non interland, tendo a precisare)
Corso: informatica
Anno: SESTO
Time Online: 12 Days, 14:28:38 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

grazie a tutti

__________________
msn Messenger: giamma80 at tiscali.it
ATHENA !

28-12-2003 11:41
Click Here to See the Profile for maynard80 Click here to Send maynard80 a Private Message Find more posts by maynard80 Add maynard80 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
maynard80
.novellino.

User info:
Registered: Jul 2007
Posts: 3 (0.00 al dì)
Location: Milano (e non interland, tendo a precisare)
Corso: informatica
Anno: SESTO
Time Online: 12 Days, 14:28:38 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Lord_Tom hai pvt

__________________
msn Messenger: giamma80 at tiscali.it
ATHENA !

28-12-2003 11:43
Click Here to See the Profile for maynard80 Click here to Send maynard80 a Private Message Find more posts by maynard80 Add maynard80 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 18:21.    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.218 seconds (57.19% PHP - 42.81% MySQL) con 25 query.