473,788 Members | 2,855 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

bad position of autocomplete list of input field

Please help, IE 6.0 seems to hava a problem with input form autocomplete
dropdown positioning.
The dropdown list with last entries which appears normally right
below the field but when used within an IFRAME it is offset far down from
input field - seems the dropdown is moved down exactly same amount as
IFRAME offset from the top of the main document.

Simple example:
<form method="get">
<input type="text" name="Name" value="">
</form>
works ok here:
http://www.geocities.com/kszmigie/inner.htm

but this example does not work when hosted in IFRAME :
http://www.geocities.com/kszmigie/main.htm
(simplified code here):

<table border=1>
<tr><td><B> HEADER </B></td></tr>
<tr><td><ifra me src="inner.htm" ></iframe></td></tr> ...

the autocomplete is moved down from it's form field.

This works ok in Firefox. Anybody has a clue how to workaround it
or fix it in my code?
It looks very ugly in my project :(

Thanks a lot!
Kuba

--
Please remove "niepotrzeb ne_" from my e-mail when answering.
Jul 24 '05 #1
4 9571
until you figure it out turn off autocomplete like this <form action=""
autocomplete="o ff">

Jul 24 '05 #2
dw************@ gmail.com napisal
news:11******** **************@ o13g2000cwo.goo glegroups.com:
until you figure it out turn off autocomplete like this <form action=""
autocomplete="o ff">


hard to name it a workaround but thanks :)

Actually I found workaround just today but I have not tested if it
would not spoil anything else on the page. Anyway I wont't tell
it now not to suggest anyone with it and I wonder if any of MS experts
would respond.

Greetings,
Kuba

--
Please remove "niepotrzeb ne_" from my e-mail when answering.
Jul 24 '05 #3
ok, no responses so I'll publish my findings.
What seems to solve the problem (at least inthis particular case)
is to add positioning style item to the IFRAME :

style='position :relative;left: 0px;top:0px;'

and the autocomplete box jumps back to it's correct position.

Best Regards,
Kuba

--
Please remove "niepotrzeb ne_" from my e-mail when answering.
Jul 24 '05 #4
ok, no responses so I'll publish my findings.
What seems to solve the problem (at least inthis particular case)
is to add positioning style item to the IFRAME :

style='position :relative;left: 0px;top:0px;'

and the autocomplete box jumps back to it's correct position.

Best Regards,
Kuba
--
Please remove "niepotrzeb ne_" from my e-mail when answering.
Jul 24 '05 #5

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

Similar topics

2
9017
by: scorp7355 | last post by:
I was wondering if there is some other way to turn autocomplete off besides using "autocomplete=off", using a meta tag or something similar. It would be great if there is some way to turn it off at a page level. Any ideas/thought would be greatly appreciated. Thanks in advance, Zac
1
2423
by: Kubus | last post by:
Please help, IE 6.0 seems to hava a problem with input form autocomplete dropdown positioning. The dropdown list with last entries which appears normally right below the field but when used within an IFRAME it is offset far down from input field - seems the dropdown is moved down exactly same amount as IFRAME offset from the top of the main document. Simple example: <form method="get"> <input type="text" name="Name" value="">
40
10903
by: Alex | last post by:
Hello, does anybody know how to turn off the autocomplete feature for a certain text field? I am aware of the "autocomplete" attribute, but I have seen other implementions achieving it without any such attribute and am wondering whether there is another way to do it .... like via CSS or a naming convention or .......
3
1982
by: Pete | last post by:
I'm currently doing a database that uses comboboxes to look up records in other tables, whether they be lookup tables or otherwise. When a user needs to add an item to one of these tables, the user has to either double-click on the combobox or go to the appropriate form via an item on the main menu. So, using an example, if someone is entering enrollment information, they would definitely need a student and a course. If the course has...
1
2794
by: Georg Scholz | last post by:
Hello, The class "Control" contains a documented Property "ControlType". So for example, in a form, you can write code like this: Dim c as control set c = me.Controls("textbox1") if c.ControlType = acTextBox then ...
1
389
by: moondaddy | last post by:
I have a form for entering a user's address and all fields have a required validating control associated with them and the error msg for each field displays right next to it. The normal behavior is that the error msg doesn't show unit the use hits the submit button or the user enters data and moves the focus to another control so the field becomes dirty. So far so good. Now when the user goes back to that control and starts to input data...
5
11959
by: jdzemke | last post by:
I am getting 'options' is null or not an object using when using a dynamic dataset with a dropdown list in an html form. I am filling-in a text field and filtering the values in the drop-down. This functionality works with a fixed set of values in the drop-down (i.e. <option value tags). Any insight would be greatly appreciated. <INPUT TYPE="text" NAME="input1" VALUE=""...
1
3854
by: wkerplunk | last post by:
Below is what I have build with several different languages. It works great but I need help, I am stuck. When you click on an item in the dropdown autocomplete div it does a mousedown function and send the item number to the xmlHttp and works awesome. Now I need to add an apply button next to it. so they can type in the complete number then hit apply and it does the same function. I cant get it to work with the script I have. The image...
7
3673
by: Spam Catcher | last post by:
Is it possible to change the autocomplete behaviour to search for the word instead of just checking for the prefix? For example, if I have the following items: Big Mac Quarter Pounder Cheeseburger and someone types: Pounder, it should display "Quarter Pounder"?
10
2604
by: bonneylake | last post by:
Hey Everyone, Right now i have a script where when someone starts typing in the input field that it populates the drop down box next to it. Once both the input and drop down box have the same number then it autofills the rest of the form. This works great. But now i have realized that lets say i have a previous entry of a00092 but i am creating a new entry an it is a0 Instead of the drop down box going blank since the input don't match the...
0
9656
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
10370
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
10177
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10113
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9969
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8995
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...
0
5402
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
5538
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3677
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.