This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > June 2004 > PDA / Normal Browser
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
PDA / Normal Browser
|
|
|
| Hi,
Is it possible to use PHP to detect the type of browser accessing my site.
For example if a PDA is using it I would prefer not to include large
graphics...
Many thanks for your help
| |
| Joe {RoastHorse} 2004-06-09, 5:54 pm |
| not sure how reliable any auto-detection would be, especially with the
variety of small-screen devices appearing now.
what i have done in the past is use a button in the navigation for a
graphics-light version which sets a session variable.
joe
Shaun wrote:
> Hi,
>
> Is it possible to use PHP to detect the type of browser accessing my site.
> For example if a PDA is using it I would prefer not to include large
> graphics...
>
> Many thanks for your help
>
>
| |
| ZhongQiang 2004-06-09, 5:54 pm |
| shdn't PDAs be only viewing sites in XHTML and WML only?
Originally posted by: Newsgroup User
Hi,
Is it possible to use PHP to detect the type of browser accessing my site.
For example if a PDA is using it I would prefer not to include large
graphics...
Many thanks for your help
| |
|
| Hi Joe,
should I be designing my site to XHTML standards to ensure compatibility
with PDAs or should I use another standard?
"Joe {RoastHorse}" <joe@roast-horse.commmmm> wrote in message
news:ca1m1b$jek$1@forums.macromedia.com...[color=darkred]
> no
>
> joe
>
>
>
>
> ZhongQiang wrote:
>
site.[color=darkred]
| |
|
| Hi,
Thanks for your reply, I intend to convert the whole site to XHTML which
would ensure it is compatible with all browsers. However I would like to
include a different header and footer if it is being viewed on a PDA. Not
sure if it will be possible to automate this though...
"ZhongQiang" <webforumsuser@macromedia.com> wrote in message
news:ca1los$jbq$1@forums.macromedia.com...
> shdn't PDAs be only viewing sites in XHTML and WML only?
> Originally posted by: Newsgroup User
> Hi,
>
> Is it possible to use PHP to detect the type of browser accessing my
site.
> For example if a PDA is using it I would prefer not to include large
> graphics...
>
> Many thanks for your help
>
>
>
| |
| Joe {RoastHorse} 2004-06-09, 5:54 pm |
| no
joe
ZhongQiang wrote:
> shdn't PDAs be only viewing sites in XHTML and WML only?
> Originally posted by: Newsgroup User
> Hi,
>
> Is it possible to use PHP to detect the type of browser accessing my site.
> For example if a PDA is using it I would prefer not to include large
> graphics...
>
> Many thanks for your help
>
>
>
| |
|
|
| Joe {RoastHorse} 2004-06-09, 5:54 pm |
| i think most devices will be fine with html or xhtml, check the specs of
the devices you need to support.
joe
Shaun wrote:
> Hi Joe,
>
> should I be designing my site to XHTML standards to ensure compatibility
> with PDAs or should I use another standard?
>
>
> "Joe {RoastHorse}" <joe@roast-horse.commmmm> wrote in message
> news:ca1m1b$jek$1@forums.macromedia.com...
>
>
> site.
>
>
>
>
| |
|
| I was under the impression that XHTML with CSS ensures backwards
compatability with all browsers...
"Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
news:ca1mmh$kng$1@forums.macromedia.com...
> Joe:
>
> I'm still trying to figure out how XHTML ensures compatibility with all
> browsers. 8)
>
> --
> Murray --- ICQ 71997575
> Team Macromedia Volunteer for Dreamweaver MX
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
> news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
> ANSWERS
> ==================
> http://www.dreamweavermx-templates.com - Template Triage!
> http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
> http://www.dwfaq.com - DW FAQs, Tutorials & Resources
> http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
> ==================
>
> "Joe {RoastHorse}" <joe@roast-horse.commmmm> wrote in message
> news:ca1mgv$kif$1@forums.macromedia.com...
compatibility[color=darkred]
>
>
| |
| Murray *TMM* 2004-06-09, 5:54 pm |
| Nothing ensures backwards compatibility, other than good, clean, valid HTML.
If your page validates at http://www.w3.org, you will have done all you can
to maximize your browser compatibility (short of introducing invalid,
browser-specific hacks). I think.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"Shaun" <nospam@nospam.com> wrote in message
news:ca1mpu$l0n$1@forums.macromedia.com...
> I was under the impression that XHTML with CSS ensures backwards
> compatability with all browsers...
>
> "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
> news:ca1mmh$kng$1@forums.macromedia.com...
GET[color=darkred]
of[color=darkred]
> compatibility
my[color=darkred]
large[color=darkred]
>
>
| |
|
| Ok, that looks helpful, what doc type should I be looking to confrm to
though; XHTML 1.1, HTML 3.2 etc
"Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
news:ca1mu4$l4l$1@forums.macromedia.com...
> Nothing ensures backwards compatibility, other than good, clean, valid
HTML.
> If your page validates at http://www.w3.org, you will have done all you
can
> to maximize your browser compatibility (short of introducing invalid,
> browser-specific hacks). I think.
>
> --
> Murray --- ICQ 71997575
> Team Macromedia Volunteer for Dreamweaver MX
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
> news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
> ANSWERS
> ==================
> http://www.dreamweavermx-templates.com - Template Triage!
> http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
> http://www.dwfaq.com - DW FAQs, Tutorials & Resources
> http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
> ==================
>
> "Shaun" <nospam@nospam.com> wrote in message
> news:ca1mpu$l0n$1@forums.macromedia.com...
all[color=darkred]
> GET
specs[color=darkred]
> of
accessing[color=darkred]
> my
> large
>
>
| |
| Joe {RoastHorse} 2004-06-09, 5:54 pm |
| exactly. it hardly works on any browser (correctly) now which is why i
don't do xhtml on live sites anymore.
but there may be a case for ensuring compatability with pdas etc. in the
future, i'm guessing the technology is moving a lot quicker in that
arena. any experts out there?
joe
Murray *TMM* wrote:
> Joe:
>
> I'm still trying to figure out how XHTML ensures compatibility with all
> browsers. 8)
>
| |
| Murray *TMM* 2004-06-09, 5:54 pm |
| I can't see any compelling reason to go beyond HTML4.01, really....
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"Shaun" <nospam@nospam.com> wrote in message
news:ca1nmo$m7q$1@forums.macromedia.com...
> Ok, that looks helpful, what doc type should I be looking to confrm to
> though; XHTML 1.1, HTML 3.2 etc
>
> "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
> news:ca1mu4$l4l$1@forums.macromedia.com...
> HTML.
> can
GET[color=darkred]
> all
TO[color=darkred]
Technotes[color=darkred]
> specs
> accessing
>
>
| |
| darrel 2004-06-09, 5:54 pm |
| Xref: kermit macromedia.dreamweaver:912626
> I can't see any compelling reason to go beyond HTML4.01, really....
Some PDAs/Cellphone browsers use WAP/WML.
-Darrel
| |
| darrel 2004-06-09, 5:54 pm |
|
> Not
> sure if it will be possible to automate this though...
Browser detection is rarely a good thing. For it to work properly, you need
to make sure you account for every browser out there. You also need to
realize that there are those that fake their user agent string.
Ultimately, if you are designing differently for different browsers, you're
not really making a web site, but rather a browser-site. For PDAs, I'd
consider looking at WAP/WML. Serve them (x)html if they want it, otherwise,
they'll see the WAP/WML site.
-Darrel
| |
| Michael Fesser 2004-06-09, 5:55 pm |
| .oO(Shaun)
>Ok, that looks helpful, what doc type should I be looking to confrm to
>though; XHTML 1.1, HTML 3.2 etc
If possible try to write according to HTML 4.01 Strict.
Micha
| |
|
| Hi,
I hope this thread isn't too old now, but I have just noticed that Google
automatically detects what browser you are using, if I access it on my PDA I
get a very different view. So if they can do it then surely I can!!!
"darrel" <notreal@hotmail.com> wrote in message
news:ca1t3i$ik$1@forums.macromedia.com...
>
>
> Browser detection is rarely a good thing. For it to work properly, you
need
> to make sure you account for every browser out there. You also need to
> realize that there are those that fake their user agent string.
>
> Ultimately, if you are designing differently for different browsers,
you're
> not really making a web site, but rather a browser-site. For PDAs, I'd
> consider looking at WAP/WML. Serve them (x)html if they want it,
otherwise,
> they'll see the WAP/WML site.
>
> -Darrel
>
>
|
|
|
| | Copyright 2003 - 2009 forum4designers.com Software forum Computer Hardware reviews |
|