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. > Didattica > Corsi A - F > Basi di dati ~ comunicazione digitale > PHP - dubbio programmazione
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
matt23
.consigliere.

User info:
Registered: Jan 2006
Posts: 125 (0.02 al dì)
Location: Peschiera Borromeo
Corso: Comunicazione Digitale
Anno: 1° fuoricorso
Time Online: 1 Day, 6:34:36 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
PHP - dubbio programmazione

Ciao a tutti,

come dal nome del thread ho un dubbio su un comando php.

In breve, ho 2 DIV, chiamati "menu" e "main".

voglio che da "menu" dal link, esempio: "registrati" mi apra nel main il form per la registrazione.

Come si fa ?

attendo una risposta geniale.


:?

__________________
"You got to lose to know how to win"

01-04-2009 11:33
Click Here to See the Profile for matt23 Click here to Send matt23 a Private Message Find more posts by matt23 Add matt23 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
il_gege
_Kantina27-PunkRock_

User info:
Registered: Oct 2006
Posts: 283 (0.04 al dì)
Location: Seregno
Corso: Comunicazione Digitale
Anno: Oramai fuori.
Time Online: 3 Days, 18:32:52 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

beh, il comando quando si ha i frame è un semplice

code:
<a href='login.php' target='main'>registrati</a>


non so se con i div funziona allora stesso modo...

__________________
Kantina27 - Punk Rock
MySpace Profile

01-04-2009 12:44
Click Here to See the Profile for il_gege Click here to Send il_gege a Private Message Visit il_gege's homepage! Find more posts by il_gege Add il_gege to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
matt23
.consigliere.

User info:
Registered: Jan 2006
Posts: 125 (0.02 al dì)
Location: Peschiera Borromeo
Corso: Comunicazione Digitale
Anno: 1° fuoricorso
Time Online: 1 Day, 6:34:36 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by il_gege
beh, il comando quando si ha i frame è un semplice

code:
<a href='login.php' target='main'>registrati</a>


non so se con i div funziona allora stesso modo...




Purtroppo no.... :sad:

__________________
"You got to lose to know how to win"

01-04-2009 12:55
Click Here to See the Profile for matt23 Click here to Send matt23 a Private Message Find more posts by matt23 Add matt23 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
il_gege
_Kantina27-PunkRock_

User info:
Registered: Oct 2006
Posts: 283 (0.04 al dì)
Location: Seregno
Corso: Comunicazione Digitale
Anno: Oramai fuori.
Time Online: 3 Days, 18:32:52 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

guardando un pò in giro, sembra che "targettare" i div, non se puede, a meno di qualche funzione javascript astrusa.

funziona se utilizzi gli iframe, difatto sembra che un div possa contenere un'iframe.

__________________
Kantina27 - Punk Rock
MySpace Profile

01-04-2009 14:00
Click Here to See the Profile for il_gege Click here to Send il_gege a Private Message Visit il_gege's homepage! Find more posts by il_gege Add il_gege to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
matt23
.consigliere.

User info:
Registered: Jan 2006
Posts: 125 (0.02 al dì)
Location: Peschiera Borromeo
Corso: Comunicazione Digitale
Anno: 1° fuoricorso
Time Online: 1 Day, 6:34:36 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Eh sì gege, ho guardato anche io in rete e alla fine sono ormai convinto che non sia possibile fare come dico, ho provato ad implementare gli iframe ma sembrano un pò ostici.....

alla fine, ho trovato una funziona sulla rete in js implementata in Ajax che è perfetta e ho risolto tutti i problemi.

se a qualcuno potesse tornare utile il link è questo: http://howto.big-bug.net/art/Php/Si...-con-jQuery/30/

Grazie lo stesso gege ho apprezzato molto il fatto che tu mi abbia aiutato!

__________________
"You got to lose to know how to win"

01-04-2009 16:38
Click Here to See the Profile for matt23 Click here to Send matt23 a Private Message Find more posts by matt23 Add matt23 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
sHADOw001
.fedelissimo.

User info:
Registered: Jan 2008
Posts: 51 (0.01 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno:
Time Online: 19:48:09: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ciao, l'uso degli iframe è deprecato!
Consiglio personale: ajax andrebbe usato solo se strettamente necessario.Nel tuo caso un semplice href, secondo me, va più che bene.In fondo l'attesa di caricamento di un semplice form di registrazione è minima e non incorri nel rischio della portabilità del codice (vedi i problemi di xmlHttpRequest) sui vari browser.

Se vuoi invece relegare questo effetto alla semplice pagina di registrazione allora ti consiglio di dare un occhio a questo tool scritto in jQuery che propone effetti molto belli
http://jquery.com/demo/thickbox/
Ciao!

02-04-2009 07:58
Click Here to See the Profile for sHADOw001 Click here to Send sHADOw001 a Private Message Find more posts by sHADOw001 Add sHADOw001 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:34.    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.093 seconds (68.93% PHP - 31.07% MySQL) con 28 query.