Pretty much the same technique I am using, tedd. I may have even used
your example as inspiration... :)
At the top of each page, I use
$currentstylecolor = isset( $_COOKIE['currentstyle'] ) ?
$_COOKIE['currentstyle'] : "brown"; // brown = default style
$currentstyle = "/skins/style_" . $
Alain, have you tried cookies?
On http://www.lily-gallery.com/ you will see 2 colored dots (bottom
left) that allows for alternate page colors. Once a user chooses one,
I remember his choice with a cookie. I use the cookie to control a
style sheet.
Gerry
I didn't realize that he was wanting a
Alain, have you tried cookies?
On http://www.lily-gallery.com/ you will see 2 colored dots (bottom
left) that allows for alternate page colors. Once a user chooses one,
I remember his choice with a cookie. I use the cookie to control a
style sheet.
Gerry
On 2/15/06, Alain Roger <[EMAIL PROTECTED
Hello,
Your getting confused between server side and client side.
PHP CANNOT be run on the client side which is what Javascript is.
In this case all you are doing is calling that php function twice one for
eng and once for fre.
Instead try using mydomain.com/setlang?=eng as a link which calls
v
You were close enough...this works:
The next challenge is to create a new window and display the file.
Todd
John Nichel wrote:
Todd Cary wrote:
Currently, I have a Link to show a PDF file
here to open the Race
Schedule'); ?>
I want to replace it with a button and an OnClick()
');
?>
John Nichel wrote:
Todd Cary wrote:
Currently, I have a Link to show a PDF file
here to open the Race
Schedule'); ?>
I want to replace it with a button and an OnClick()
');
?>
I cannot get the syntax correct for the OnClick. Is this the best way
to use a button for the task?
Todd
Since thi
Todd Cary wrote:
Currently, I have a Link to show a PDF file
here to open the Race Schedule'); ?>
I want to replace it with a button and an OnClick()
');
?>
I cannot get the syntax correct for the OnClick. Is this the best way
to use a button for the task?
Todd
Since this is a PHP mailing li
onClick="this.form.submit();" will trigger a response from your form
processing routine, as specified in the form action="myprogram.php".
Warren Vail
-Original Message-
From: Dan McCullough [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 2:42 PM
To: Php-General
Subject: [PHP] o
lt;[EMAIL PROTECTED]>, Dan Joseph <[EMAIL PROTECTED]>
Subject: RE: [PHP] OnClick problem
=> Hi,
=>
=> Wow, you've got me stumped, that shouldn't be printing the previous at
=> all. Could you forward tihs to the php list? I'm stumped.
=>
=> -Dan Joseph
=&
Hi,
> > Are you using the variable $_SERVER['PHP_SELF'] for your
> link target?
>
> I'm not, I'm a total newbie and don't quite understand, you mean
> instead of
> href="#" use href=$_SERVER['PHP_SELF']?
> Please bare with me and explain.
Yeah, it would be:
If t
Hi,
> Here's something I cant explain:
> I have a page with a form on it (checkboxes) and a hyperlink which is
> supposed to send the form to the server using:
>
> Trouble is that the link always points to the name of the
> previous page I
> came from. All pages are php generated on-the-fly.
On Wed, Aug 15, 2001 at 11:56:42AM +0200, Flugel wrote:
> Is it also possible for the output of that php-page (MySQL query) to be
> displayed in a layer on the page where the button is located?
Should be... But unfortunately I don't have enough time to figure it
out for you at the moment. Sorry!
Is it also possible for the output of that php-page (MySQL query) to be
displayed in a layer on the page where the button is located?
"Renze Munnik" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Wed, Aug 15, 2001 at 11:45:03AM +0200, Flugel wrote:
> > When
On Wed, Aug 15, 2001 at 11:45:03AM +0200, Flugel wrote:
> When a page is loaded the php code is being executed, is this also possible
> for an onclick event? If so how do I do that?
>
> tnx!
No. PHP is server-side, not client-side like onclick (JS). The only
way to do things like that is:
oncl
14 matches
Mail list logo