Re: one click - two actions?
| From: | Mel | Date: | Mon, 13 Nov 2006 21:32:09 +0000 |
| Subject: | Re: one click - two actions? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-244571@lists.php.net to get a copy of this message | ||
Thank you for your reply. I think my question is really much more simple than what you are suggesting.
If you have a quick look at
http://www.squareinch.net/single_page.php?art=crp_logo.jpg
you will see what I mean.
I have a single page and both results load in the same page.
When I click on a link the picture loads on the left side and the info should load on the right side.
Right now the info is visible at all times regardless of what I click on!
I need to know how to join my echo statements and/or my query!
On Nov 13, 2006, at 12:57 PM, Warren Vail wrote:
Mel, that may have been a disguised hint. Your answer lies in javascript. The first php page needs to contain javascript to open a second page with the URL to the second php script when the first page loads. Keep a couple of things in mind, popup blockers will reek havoc if you can't get visitors to your site to stop blocking popups and if you expect both URLs to receive form contents, you will have to make arrangements for that in the javascript in your first page, since it will need to pass the data again. Check out http://www.hotscripts.com for some links to sites with the necessary javascript. Hope this helps, Warren Vail -----Original Message----- From: Mel [mailto:melinem@earthlink.net] Sent: Monday, November 13, 2006 12:32 PM To: John Meyer Cc: PHP General List Subject: Re: [PHP] one click - two actions? I really don't know? My site is all php and ready to go live except for this little problem. I would really appreciate some help. On Nov 13, 2006, at 4:12 AM, John Meyer wrote:Not to be rude or anything, but if you want to do two things with one click, wouldn't the javascript list be the place you would want to go?