[PHP] Frames creating problems...

2001-12-10 Thread dhaval desai

Hello Guys,

Well I have a website with frames. The problem here is
that I have a serach box in the top frame and I want
the results to be displayed in the other frame.

I have seen this on lot of websites but now I am
wondering how to do it when I am facing this problem..

Any help would be greately appreciated.

Thanx to all

Best Regards,
Dhaval Desai



__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Frames creating problems...

2001-12-10 Thread Jon Farmer

 Well I have a website with frames. The problem here is
 that I have a serach box in the top frame and I want
 the results to be displayed in the other frame.

Javascript! Use the OnCLick event of a button to take the value of the
textbox and update the href of the other frame passing the contents of the
textbox in the querystring.
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Frames creating problems...

2001-12-10 Thread Paul Burney

on 12/10/01 10:03 AM, dhaval desai at [EMAIL PROTECTED] wrote:

 Well I have a website with frames. The problem here is
 that I have a serach box in the top frame and I want
 the results to be displayed in the other frame.

This isn't the appropriate forum for the question since it isn't php
related.  

That said, you should use the target attribute of the form tag.  Set it to
the name of the frame you wish the content to be in.

HTH.

Paul

?php
while ($self != asleep) {
$sheep_count++;
}
?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Frames creating problems...

2001-12-10 Thread Stefan Rusterholz

If you have the whole form in frame A and want the result in frame B then
use
form action=xyz.php target=frameB

If you have the form in frame A and the search button in frame B then
you'll have to use JavaScript
A HREF=javaScript:parent.frames[1].FORMNAME.submit()GO!/A (you will
have to replace frames[1] with frames[x] where x is the number of the frame.
consult www.teamone.de/selfhtml/ for more informations about that)

Stefan Rusterholz, [EMAIL PROTECTED]
--
interaktion gmbh
Stefan Rusterholz
Zürichbergstrasse 17
8032 Zürich
--
T. +41 1 253 19 55
F. +41 1 253 19 56
W3 www.interaktion.ch
--
- Original Message -
From: dhaval desai [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 10, 2001 4:03 PM
Subject: [PHP] Frames creating problems...


 Hello Guys,

 Well I have a website with frames. The problem here is
 that I have a serach box in the top frame and I want
 the results to be displayed in the other frame.

 I have seen this on lot of websites but now I am
 wondering how to do it when I am facing this problem..

 Any help would be greately appreciated.

 Thanx to all

 Best Regards,
 Dhaval Desai



 __
 Do You Yahoo!?
 Send your FREE holiday greetings online!
 http://greetings.yahoo.com

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]