Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Image maps and scaling

2 posts in General Discussion Last posting was on 2006-05-25 21:44:32.0Z
Mark Clear Posted on 2006-05-25 03:41:24.0Z
Sender: 6447.4474d541.1804289383@sybase.com
From: Mark Clear
Newsgroups: ianywhere.public.mbusinessanywhere.general
Subject: Image maps and scaling
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <44752764.67ab.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 24 May 2006 20:41:24 -0700
X-Trace: forums-1-dub 1148528484 10.22.241.41 (24 May 2006 20:41:24 -0700)
X-Original-Trace: 24 May 2006 20:41:24 -0700, 10.22.241.41
Lines: 5
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.mbusinessanywhere.general:842
Article PK: 9109

I'm having trouble with an HTML image map. In the Windows
client everything's fine. But on the Pocket PC/Windows
Mobile device the polygons don't match up anymore. I think
this is because the image has been scaled down. Has anyone
run into this and/or found a workaround? Thanks.


Peter Gibbons Posted on 2006-05-25 21:44:32.0Z
Reply-To: "Peter Gibbons" <pgibbons@initech.com>
From: "Peter Gibbons" <pgibbons@initech.com>
Newsgroups: ianywhere.public.mbusinessanywhere.general
References: <44752764.67ab.1681692777@sybase.com>
Subject: Re: Image maps and scaling
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1807
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807
X-Original-NNTP-Posting-Host: gstanek-w2k.sybase.com
Message-ID: <447624d4$1@forums-2-dub>
X-Original-Trace: 25 May 2006 14:42:44 -0700, gstanek-w2k.sybase.com
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 25 May 2006 14:42:46 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 25 May 2006 14:44:32 -0700
X-Trace: forums-1-dub 1148593472 10.22.108.75 (25 May 2006 14:44:32 -0700)
X-Original-Trace: 25 May 2006 14:44:32 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.mbusinessanywhere.general:843
Article PK: 17813

M-Business is going to scale images to the width of the screen of the
synchronizing devices. This can throw off your image map. Are you using
the same page for both the Windows client and the Pocket PC device? In
general practice I would recommend targeting the platform with your source.
This will let you have finer control of the page rendering in the client.

Couple of thoughts and suggestions:
1) Make sure you are using the HandheldFriendly meta tag on your PPC pages.
2) If the image is larger than the width of the PPC screen, scale down the
image size.
3) Break the image up into multiple images with onClick events instead of
using an image map
4) Use the X-AvantGo-... http request headers to dynamically set the map
information when the page is requested.

--
Peter

"Yeah. The coversheet. I know, I know."

<Mark Clear> wrote in message news:44752764.67ab.1681692777@sybase.com...
> I'm having trouble with an HTML image map. In the Windows
> client everything's fine. But on the Pocket PC/Windows
> Mobile device the polygons don't match up anymore. I think
> this is because the image has been scaled down. Has anyone
> run into this and/or found a workaround? Thanks.