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 > [programmazione] passaggio di parametri da PHP a javascript
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
fabpicca
jesus robot d'acciaio

User info:
Registered: May 2002
Posts: 2166 (0.25 al dì)
Location: Pieve Emanuele
Corso: Ticom
Anno:
Time Online: 12 Days, 23:12:28 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
[programmazione] passaggio di parametri da PHP a javascript

innanzitutto: è possibile?

il concetto è che con uno script php estraggo del testo da un database mysql...e ho fatto una applet che mi fa uno scrolling verticale in cui devo visualizzare quel testo estratto da php.

ecco il codice...

<applet code="VertTextScroller.class" codebase = "." name="VertTextScroller" width="710" height="20" align="middle">
<param name=numberOfLines value="10">
<param name=background value="255,255,255">
<param name=scrollDelay value="5">
<param name=lineSpace value="5">
<param name=linkFrame value="content">
<param name=linkColor value="red">
<param name=manualPause value="0">
<param name=linkClick value="1">
<param name=sizeDefault value="14">
<param name=lineDefault value=" ">
<param name=colorDefault value="black">
<param name=fontDefault value="Dialog">
<param name=styleDefault value="PLAIN">
<param name=linkDefault value=" ">
<param name=pauseValueDefault value="1">
<param name=lineOffsetDefault value="0">
<?php
for ($i=0;$i<$ceil;$i++){
$resArray=mysql_fetch_array($res);
echo "<param name=\"line".$i."\" value=\"$resArray[1] - $resArray[2]\">";
}
?>
</applet>

come si fa???

__________________
my website?|ubuntu linux|get Firefox|grazie Polonia |bagdad sour

"Come va che non ha le corna e le zampe di Caprone?" gli opposi. "Oh, Giuvà", mi disse il prete "adesso non si usa più.Satana è furbo". (I.Silone, Fontamara)
"Al giorno d'oggi non bisogna essere intelligenti, perchè la gente si offende" (un ubriacone)
"close your eyes / pay the price / for your paradise" (DM) "whatever you want to change/you'd better start changing it in your mind" (Transatlantic)

Last edited by fabpicca on 18-10-2003 at 15:44

18-10-2003 15:34
Click Here to See the Profile for fabpicca Click Here to See the Blog of fabpicca Click here to Send fabpicca a Private Message Visit fabpicca's homepage! Find more posts by fabpicca Add fabpicca 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.83 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 posso solo dirti che se hai fatto una applet non hai usato javascript ma java, non confondiamo il diavolo con l'acqua santa!

per il resto non so come aiutarti, php non lo conosco.

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

18-10-2003 15:48
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
fabpicca
jesus robot d'acciaio

User info:
Registered: May 2002
Posts: 2166 (0.25 al dì)
Location: Pieve Emanuele
Corso: Ticom
Anno:
Time Online: 12 Days, 23:12:28 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by 0m4r
io posso solo dirti che se hai fatto una applet non hai usato javascript ma java, non confondiamo il diavolo con l'acqua santa!

per il resto non so come aiutarti, php non lo conosco.



ops...tieni raggione....

__________________
my website?|ubuntu linux|get Firefox|grazie Polonia |bagdad sour

"Come va che non ha le corna e le zampe di Caprone?" gli opposi. "Oh, Giuvà", mi disse il prete "adesso non si usa più.Satana è furbo". (I.Silone, Fontamara)
"Al giorno d'oggi non bisogna essere intelligenti, perchè la gente si offende" (un ubriacone)
"close your eyes / pay the price / for your paradise" (DM) "whatever you want to change/you'd better start changing it in your mind" (Transatlantic)

18-10-2003 15:49
Click Here to See the Profile for fabpicca Click Here to See the Blog of fabpicca Click here to Send fabpicca a Private Message Visit fabpicca's homepage! Find more posts by fabpicca Add fabpicca to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
mrcnet
dsy developer

User info:
Registered: Oct 2002
Posts: 1160 (0.14 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno:
Time Online: 9 Days, 5:44:55 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

non ho capito bene quello che vuoi fare.. ma se vuoi fare uno scrolling del testo che estrai dal database ti basta fare un html con il javascript che fa lo scrolling e inserire l'include del php senza inserire l'applet che ti appesantisce e complica tutto

__________________
www.mrcnetwork.it

19-10-2003 22:43
Click Here to See the Profile for mrcnet Click Here to See the Blog of mrcnet Click here to Send mrcnet a Private Message Visit mrcnet's homepage! Find more posts by mrcnet Add mrcnet to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 23:16.    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.060 seconds (69.49% PHP - 30.51% MySQL) con 23 query.