473,545 Members | 2,051 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

internet explorer and mozilla

53 New Member
following is my code for the image position. it works nicely in internet explorer. but it doesn't support for mozilla. In mozilla, the image position is in the random places than i have directed. here's my code:

function my_DropFunc()

if(dd.obj.x >25 && dd.obj.x <150 && dd.obj.y <450){
dd.obj.moveTo(5 2,296);
dd.obj.resizeTo (400,152);

document.myForm .template1.valu e = test;
document.myForm .X1.value = dd.obj.x;
document.myForm .Y1.value = dd.obj.y;

else if(dd.obj.x <150){
document.myForm .template1.valu e = "";
document.myForm .X1.value = "";
document.myForm .Y1.value = "";

dd.obj.moveTo(5 0,480);
dd.obj.resizeTo (92,118);

if(dd.obj.x >150 && dd.obj.y <450){
dd.obj.moveTo(2 68,131);
dd.obj.resizeTo (185,150);

document.myForm .template2.valu e = test1;
document.myForm .X2.value = dd.obj.x;
document.myForm .Y2.value = dd.obj.y;

else if(dd.obj.x >150 ){
document.myForm .template2.valu e = "";
document.myForm .X2.value = "";
document.myForm .Y2.value = "";

dd.obj.moveTo(1 60,480);
dd.obj.resizeTo (92,118);


please help me to solve above problem.

thanks in advance
Sep 13 '07 #1
1 1156
7,435 Recognized Expert Expert
If this is truly a html/css problem, then we need to see the generated html and css.
Sep 13 '07 #2

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

Similar topics

by: Justin | last post by:
Need help.. I am creating cookies in php, which works fine in Mozilla in the same session, for example I can create them and then go to another page and then come back to the page and see the results of the cookie take effect. But in Internet Explorer I create the cookies, but have to close the browser window/session and reopen the browser...
by: Dom | last post by:
Hi, I wanted to use the Button Element to submit a form like this example: <form action="/test.exe" method="post"> <button id="ID_BUTTON_OK" name="_WEB_EVENT_HANDLER_" type="submit" value="ID_BUTTON_OK">Login</button> </form>
by: Yurij Nykon | last post by:
Hi all. How can I detect the version of Flash-Plugin installed in Internet Explorer? In Netscape i can do this with following java script navigator.plugins.description But it doesn't works in IE? Can anyone help me? Thanx in advance,
by: mr_burns | last post by:
hi, i am using the following code which works well in internet explorer but not in firefox (and perhaps others too): var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.async="false"; xmlDoc.load("xml/names.xml"); nodes = xmlDoc.documentElement.childNodes span_html = '<p>'
by: Alvaro G Vicario | last post by:
I need to dynamically remove the onmouseout attribute from a link in an HTML page. I've written code that uses the removeAttribute() method, believing it's a W3C standard. While it works fine in Mozilla, it doesn't work as expected in Internet Explorer 6. If I call the method several times, the first execution returns true and the rest...
by: Thomas | last post by:
Hi, I'm having a problem with the dynamically created inputfields in Internet Explorer. The situation is the following: - I have a dynamically created table with a textbox in each Cell. - It is possible to Add and Delete rows - Some cells have special attributes (readonly and events) Here's a snippet of the code:
by: dhplank | last post by:
Hello everyone, I've developed a calendar program in javascript, and up until now I've done most of my testing using Mozilla and Firefox. Everything works fine, but when I try to use Internet Explorer my response time is sometimes 50 times slower than using Mozilla. I know I haven't given you much to go by, but I'm not looking for an...
by: =?Utf-8?B?aHV3NTM=?= | last post by:
I use vista and internet explorer 7 with a Hp 1210 printer. The system has worked fine, but I have now discovered that I am unable to print from the browser. The page does appear in the preview, but when I press the print button nothing happens. I have gone into tools, internet options, security and unticked enable protected mode, the preview...
by: imready1984 | last post by:
Hello Everyone, Can anybody let me know how set the width of a text box and other controls so that they look similar as they look in Internet Explorer Actually i set a textbox width : 250 px; and it's being displayed great in Internet Explorer but in Mozilla it's looking just simple and even there is no effect in textbox's...
by: swethak | last post by:
Hi, I am getting the problem the problem with google map in Internet Explorer. This map worked fine in mozilla . When i opened the same map in Internet Explorer i am getting the error message as in alert box as " Internet Explorer cannot open the Internet site http://google.citycarrentals.com.au/viewalllocations.php . Operation...
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...
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
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. ...
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...
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...
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...
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...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.