473,748 Members | 6,412 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IE <select> and clickable <img> problem

97 New Member
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.cancelBu bble=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 3588
drhowarddrfine
7,435 Recognized Expert Expert
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 Recognized Expert Top Contributor
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.cancelBu bble=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
luftikus143
97 New Member
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
luftikus143
97 New Member
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
13081
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 - ImageName - for processing, or the return data which is done (or not as the case may be) by imagejpeg($img) in the script, after header("Content-type: image/jpeg"). Any insights would be most welcome, especially debugging techniques and a pointer to...
1
14152
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 uninitialized value in concatenation (.) at register.pl line 38, <STDIN> line 10." The PERL code is as follows:
4
6492
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 checked, and the ALT property only shows up for the IMG tag. Can anyone help me with how to implement this? What they want is some amplification to the list selections. TIA Ron Lounsbury
15
3098
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="*" mode="xhtml"> <xsl:element name="{local-name()}"> <xsl:copy-of select="@*"/> <xsl:apply-templates mode="xhtml"/> </xsl:element>
9
6048
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 value="1">test</option> </select>
6
1944
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 persons, some of them ghave two pictures, some of them one or none. Some of them have text. Every person has an indexword as for instance "meyer", there can be a
4
39410
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
2367
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 xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>iframe popup (JS)</title> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body>
0
8991
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9548
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8244
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6796
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6076
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4607
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4876
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2787
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.