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.

Creating a hyperlink on a website to a HTML page stored on the PDA

2 posts in General Discussion Last posting was on 2008-07-26 14:53:11.0Z
Jasvinder Bahra Posted on 2008-07-25 09:00:19.0Z
Sender: 2511.48899465.1804289383@sybase.com
From: Jasvinder Bahra
Newsgroups: ianywhere.public.mbusinessanywhere.general
Subject: Creating a hyperlink on a website to a HTML page stored on the PDA
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <48899623.2537.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 25 Jul 2008 02:00:19 -0700
X-Trace: forums-1-dub 1216976419 10.22.241.41 (25 Jul 2008 02:00:19 -0700)
X-Original-Trace: 25 Jul 2008 02:00:19 -0700, 10.22.241.41
Lines: 30
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.mbusinessanywhere.general:1222
Article PK: 17918

We have a number of HTML/JavaScript pages which collectively
make up an application. These pages are downloaded onto the
PDA via M-Business Connect. Thereafter the application runs
entirely off-line as all the pages are stored on the PDA. We
have recently added a hyperlink to one of these pages - this
link calls a JavaScript function that instructs the M-Biz
Client to go online and then opens a website.

How do we add a link to our (online) website which, when
clicked will navigate to one of the pages stored on the PDA?

For example, on a page named list.aspx (that was downloaded
to the PDA via M-Business Connect), there is a link that
takes us to our website...

&lt;a
href=&quot;&gt;http://www.ourwebsite.co.uk&quot;&gt;Link&lt;/a&gt;

If the user taps that link, assuming the device is online,
the user will be taken to the welcome page of our website.
Does anyone know how I can craft a link that takes me back
to list.aspx stored on the PDA?

Doing this...

&lt;a href=&quot;list.aspx&quot;&gt;Back to the
List&lt;/a&gt;

...takes me to "http://www.ourwebsite.co.uk/list.aspx",
which is not what we want.


Shuchit Posted on 2008-07-26 14:53:11.0Z
Newsgroups: ianywhere.public.mbusinessanywhere.general
Subject: Re: Creating a hyperlink on a website to a HTML page stored on the PDA
From: Shuchit <me@privacy.net>
References: <48899623.2537.1681692777@sybase.com>
Message-ID: <Xns9AE76EAE049A4svelkarprivacynet@127.0.0.1>
User-Agent: Xnews/2006.08.24 Hamster/2.1.0.11
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 26 Jul 2008 07:53:11 -0700
X-Trace: forums-1-dub 1217083991 10.22.241.152 (26 Jul 2008 07:53:11 -0700)
X-Original-Trace: 26 Jul 2008 07:53:11 -0700, vip152.sybase.com
Lines: 27
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.mbusinessanywhere.general:1223
Article PK: 9316


> How do we add a link to our (online) website which, when
> clicked will navigate to one of the pages stored on the PDA?
>
> For example, on a page named list.aspx (that was downloaded
> to the PDA via M-Business Connect), there is a link that
> takes us to our website...
>
> &lt;a
> href=&quot;&gt;http://www.ourwebsite.co.uk&quot;&gt;Link&lt;/a&gt;

For the page that is already on the device, what URL was used to crawl that
page. If it is different from above then you need to change the link to match
the URL.


>
> If the user taps that link, assuming the device is online,
> the user will be taken to the welcome page of our website.
> Does anyone know how I can craft a link that takes me back
> to list.aspx stored on the PDA?
>

I don't think you can access the offline pages while you are in online mode.
So you would need to invoke a javascript function from your link that
switches to offline mode and then navigates to the URL.

Shuchit