472,373 Members | 1,547 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,373 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 3452
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...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
2
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...
0
DizelArs
by: DizelArs | last post by:
Hi all) Faced with a problem, element.click() event doesn't work in Safari browser. Tried various tricks like emulating touch event through a function: let clickEvent = new Event('click', {...

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.