473,915 Members | 5,904 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()
{
dd.obj.copies[0].hide();

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 1168
drhowarddrfine
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

2
2698
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 for the cookies to be read/take effect. Here is my code.
11
3117
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>
2
10044
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,
3
2032
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>'
2
11994
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 return false, so it's apparently doing something. However, the attribute is still there: hovering the...
6
3348
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:
11
1781
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 answer so much as an approach to debugging the problem. For example, does anyone here know of a good...
1
4481
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 then changes to a load of codes ( i'm not a computer boffin) and it will print this. All my...
2
1311
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 width..............................
2
3168
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 aborted". It is working in Mozilla . Here i mentioned my code . I am facing this problem several...
0
10039
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
9883
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11359
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...
1
11069
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
10543
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
9734
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
8102
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
7259
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();...
2
4346
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.