473,385 Members | 2,005 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Remote Scripting and URLs

Is it possible to specifically use javascript to set the URL of a
bookmark when the user of a browser saves a bookmark?

I am working on a project where I am using iframe-based remote
scripting. The application is a provides a virtual drive around a
city, with a video pane and a linked map. The map is an arial view of
the vicinity of the contents of the video pane. There are buttons
that allow you to turn or move, and the map indicates where you are
and which direction you are looking to see the picture in the video
pane.

Rather than sending a new map with each move, I elected to keep a map
image as long as possible, using CSS and Javascript to changing and
moving a small IMG around on top of the map to correspond to the
location and orientation implied by the video, getting a new bitmap
only when the user is about to go off the edge.

The problem is that saving a bookmark (or refreshing the page) results
in the page returning to the position indicated when the page was
loaded. In other words, saving the page saves where you _were_,
rather than where you _are_.

Thanks in advance...
Chuck Jungmann
Jul 20 '05 #1
2 1063
Chuck Jungmann wrote:
Is it possible to specifically use javascript to set the URL of a
bookmark when the user of a browser saves a bookmark?
No.
I am working on a project where I am using iframe-based remote
scripting. The application is a provides a virtual drive around a
city, with a video pane and a linked map. The map is an arial view of
the vicinity of the contents of the video pane. There are buttons
that allow you to turn or move, and the map indicates where you are
and which direction you are looking to see the picture in the video
pane.

Rather than sending a new map with each move, I elected to keep a map
image as long as possible, using CSS and Javascript to changing and
moving a small IMG around on top of the map to correspond to the
location and orientation implied by the video, getting a new bitmap
only when the user is about to go off the edge.

The problem is that saving a bookmark (or refreshing the page) results
in the page returning to the position indicated when the page was
loaded. In other words, saving the page saves where you _were_,
rather than where you _are_.


Set a cookie that contains information about where you are. When the
page is reloaded, check the cookie and set the IFrames accordingly.
The behavior you are describing (which is normal[1]), is one of the
inherent problems with Frames and IFrames.

[1] Normal - If there is such a thing.
--
Randy

Jul 20 '05 #2
On Mon, 12 Jan 2004 13:21:39 -0500, Randy Webb
<hi************@aol.com> wrote:
The behavior you are describing (which is normal[1]), is one of the
inherent problems with Frames and IFrames.

[1] Normal - If there is such a thing.


Oh well...I didn't really expect a solution, and in fact I can see
security issues if URL changing was allowed. I had hoped that since
this has been a problem for years, that some alternative strategy had
been developed.

Actually, I think the cookie idea is a good strategy to solve the
problem with refreshing, even if it won't help with other aspects I'm
trying to solve.

Thanks for the quick response...
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: O.Gir | last post by:
Hi all, can't manage to do it ..... was so easy under solaris .... anybody knows how to get free disk space on remote disks ??? (with both local and remote *$#@%§&* machines running *$#@%§&*...
10
by: SW | last post by:
I have a Web application that uses Remote Scripting to provide dynamic data to a web page. I am testing the application in Internet Explorer 6 SP1 running on Windows XP Professional. When I use...
6
by: Jennifer Smith | last post by:
Currently we have a site that allows users to listen to mp3 files. It is creating bandwidth issues. So we want to move the mp3 files to an ISP that caps bandwidth usage. Ours is currently...
4
by: Dimitris | last post by:
Hello, I have a problem that it seems easy but its really not. I am using Microsoft remote scripting for a site that I am making. Everything is going pretty good except one thing. My values which I...
1
by: govince | last post by:
Not sure this is realyy realted to access, but a least to asp scripting. This is what I am trying achieve, I'll try to make it as clear as possible: I am integrating a search page form a...
2
by: Xavier MT | last post by:
Hi, does anybody use remote scripting on your asp pages? I want to upgrade to asp.net but I cannot include the remote scripting because I'm already using VB as a server language. Any ideas?
6
by: lisa | last post by:
One of the things I hate the most about ASP.NET is the postback of an entire page just to update a single field. So I was looking around, and I came across Remote Scripting. See, when I write...
4
by: russzee | last post by:
Hi, I want to populate my client's webpage (Remote Server) automatically through my Server and Database by having him just paste a javascript on his webpage. I have read up about Microsoft...
3
by: axelman | last post by:
Hi guys, I'm using Classic ASP, IIS6, IE 7, FF 3 I've developed a vb script to downloand files hosted in my server (zip, doc, pdf, jpg, xls, et. etc.) it's very straight forward and there's a ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.