473,395 Members | 1,437 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,395 software developers and data experts.

internet explorer and mozilla

53
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()
{
dd.obj.copies[0].hide();

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

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


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

dd.obj.moveTo(50,480);
dd.obj.resizeTo(92,118);
}

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

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

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

dd.obj.moveTo(160,480);
dd.obj.resizeTo(92,118);
}


}

please help me to solve above problem.

thanks in advance
Sep 13 '07 #1
1 1144
drhowarddrfine
7,435 Expert 4TB
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

2
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...
11
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"...
2
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...
3
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";...
2
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...
6
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...
11
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...
1
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,...
2
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;...
2
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...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...

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.