473,396 Members | 1,990 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,396 software developers and data experts.

Refreshing image src and usemap

Hi,

I have a page that includes an image that uses an image map. When the
user clicks on a button, the image needs to be refreshed and the map needs
to be updated without refreshing the entire form.

<img id="mapimage" src="renderimage.aspx?param=1" usemap="#mappoints">
<map name ="mappoints>
<area......>
</map>

when the user clicks a button, I am calling the following script code:

var url = "renderimage.aspx?param=" + SelectedParam;
document.MyForm.mapimage.src = url;
Now, when the rederimage.aspx page renders the image based on the param, it
determines the areas for the map. I am currently saving the area
information on the Session state when the image is rendered.... however I
can't seem to be able to update the map using that information.

I know that area elements can be added or removed from the areas collection
in a map... but I don't understand how I can use the information obtained
from refreshing the renderimage.aspx...

Thanks!!

Jeronimo
Nov 18 '05 #1
0 1302

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

Similar topics

1
by: Michael Phillips | last post by:
I am attempting to create drop down menus for a web page. The simplist approach I see is to create two images. One is a tab image and the other is a menu image. In my code a present the tab...
2
by: Koh | last post by:
My rollover image effect work fine in Netscape but not in Internet Explorer. Is there any important element or tag that I have miss out so it is not working in Internet Explorer? Below is my code,...
6
by: j_liu21 | last post by:
I'm trying to trigger a javascript call when someone clicks on an image. <a href="javascript:void(0)" onClick="alert('hi');"><IMG src="foo.gif" usemap="#someImageMap" border="0"></a> This...
5
by: Jerry | last post by:
Hello! I have an image that uses an image map for navigation. We would like a pull-down menu to appear when the user mouses over the link. The pull-down menu is another image that was created to...
3
by: Bart Schelkens | last post by:
Hi, I've put an image on my website. Now I want the user to be able to click on certain parts of the image. How can I do that ? Thx
3
by: Andy Baxter | last post by:
I have an image scrolling in a viewport for a panoramic image viewer. The viewport can be resized to several set resolutions so people can adjust the size according to their bandwidth. There are...
4
by: Ryan Knopp | last post by:
This is an update from a previous post, I just simplified the code. It seems that I can't get the image map to work with IE7. The page is located here http://www.theknopps.com/test.html and the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.