473,382 Members | 1,329 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,382 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 3567
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...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
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...

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.