473,412 Members | 2,306 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,412 software developers and data experts.

IE <select> and clickable <img> problem

Hi there,

I have a nasty little problem, as so often, only with IE. Here is an screenshot to better illustrate the problem. http://geodata.grid.unep.ch/screenshot13.png

The map is clickable (to enable zoom in and other functions). But in this case, I would like to select a value from the drop-down list, which displays as a "drop-up" list because of not having enough space downwards.

Now, when I click to select a year, IE interprets this as a click on the map, instead of just a selection within the box. It sends the request to the server and the server does what it is supposed to do. But the selection of the year still wasn't successful.

Any way to avoid that IE confusion?

I tried already to add onclick="window.event.cancelBubble=true;" but it didn't help...

Thanks for any hints!

(
In case you wonna see it - and it's worth having a quick look to the site :-)) :

1) http://geodata.grid.unep.ch
2) select a key word, such as "population density"
3) select a variable on a "National level"; click on "continue"
4) select a year; click on "continue"
5) select the map module
6) at the left bottom, select the "Trend Analysis" tab, click the check box and select a starting year. And here's the problem.
)
Jan 22 '07 #1
4 3568
drhowarddrfine
7,435 Expert 4TB
Is this only in IE6? I don't see a problem in IE7. I'm switching computers around and don't have IE6 available right now.
Jan 22 '07 #2
AricC
1,892 Expert 1GB
Very interesting site. I'm not too sure this belongs in the HTML forum. If I did everything correctly (following instructions) it looks like the onchange event is firing prematurely. Let me know what you think or post the onchange event for that drop down. Either way I should probably move this to PHP etc...

Let us know,
Aric
Hi there,

I have a nasty little problem, as so often, only with IE. Here is an screenshot to better illustrate the problem. http://geodata.grid.unep.ch/screenshot13.png

The map is clickable (to enable zoom in and other functions). But in this case, I would like to select a value from the drop-down list, which displays as a "drop-up" list because of not having enough space downwards.

Now, when I click to select a year, IE interprets this as a click on the map, instead of just a selection within the box. It sends the request to the server and the server does what it is supposed to do. But the selection of the year still wasn't successful.

Any way to avoid that IE confusion?

I tried already to add onclick="window.event.cancelBubble=true;" but it didn't help...

Thanks for any hints!

(
In case you wonna see it - and it's worth having a quick look to the site :-)) :

1) http://geodata.grid.unep.ch
2) select a key word, such as "population density"
3) select a variable on a "National level"; click on "continue"
4) select a year; click on "continue"
5) select the map module
6) at the left bottom, select the "Trend Analysis" tab, click the check box and select a starting year. And here's the problem.
)
Jan 22 '07 #3
Is this only in IE6? I don't see a problem in IE7. I'm switching computers around and don't have IE6 available right now.
No idea about IE7. Haven't installed it on any of our computers...
Jan 23 '07 #4
Very interesting site. I'm not too sure this belongs in the HTML forum. If I did everything correctly (following instructions) it looks like the onchange event is firing prematurely. Let me know what you think or post the onchange event for that drop down.
I think there is no onchange event. The map takes some (for me rather) heavy Javascript as input (which enables to draw rectangles for the zoom). I guess that this is the one which interferes with the select element...
Jan 23 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

14
by: Gregory | last post by:
Hello, I'm trying to do the above in order to process an image and return the result to an html image control. It fails and my key suspects are either the variable that I'm passing in -...
1
by: G Kannan | last post by:
Hey all! I have written a perl script to retrieve information from a HTML Form and insert the data into an Oracle database table. I am gettting the the following error message: "Use of...
4
by: Ron Lounsbury | last post by:
I have a customer who has requested that I add "popup" text (a la ToolTips) to a couple of pulldown lists in a DHTML form we have in our project. He says - Just use the ALT tag. I went and double...
15
by: Philipp Lenssen | last post by:
My friend has the following problem (background: we want to transform XML to XHTML via XSLT): "We copy XHTML fragments into an output by using the following template: <xsl:template match="*"...
9
by: aragon | last post by:
Hi all, is it legal to use a fully-numeric string as "name" attribute for the <select> tag in the XHTML standard? E.g.: <form action="action.php" method="get"> <select name="12345"> <option...
6
by: Werner Partner | last post by:
I use a page created by php. It should show two pictures of a person an a short text. If there are no picture, nothing is shown, if there is no text, nothing is shown. There a about 20...
4
by: Man-wai Chang | last post by:
-- iTech Consulting Co., Ltd. Expert of ePOS solutions Website: http://www.itech.com.hk (IE only) Tel: (852)2325 3883 Fax: (852)2325 8288
1
by: volynetsv | last post by:
Hello. I have a small problem, here's code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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:
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
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...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.