if (screen.width<1064)
{
document.write("");
}
else
{
document.write("");
}
or use cookie, js write screen.width to cookie,then php read
screen.width from cookie.
20
bit off the point but...
Oliver Grätz wrote:
Ross schrieb:
$width = " document.write(screen.width); ";
//$ross= intval($width);
Yes, this is and will always be zero, because you are evaluating a
for his paricular $width string, yes.
string to an integer value.
$butThereIsAlwaysAtLea
Ross schrieb:
> $width = " document.write(screen.width); ";
> //$ross= intval($width);
Yes, this is and will always be zero, because you are evaluating a
string to an integer value.
> echo $width;
> if ($width < 1064) {
> echo "lower";
> $style= "style1.css";
>
> }
> else {
> $style= "style2.cs
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Jeffrey Means) wrote:
> In using the setcookie function I can not set a cookie if I specify a time
> period. ie. setcookie("Cookie_Name", "Cookie_Value", time()+30); will not
> set a cookie, but setcookie("Cookie_Name", "Cookie_Value"); does