471,605 Members | 1,728 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,605 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 1122
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

Post your reply

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

Similar topics

2 posts views Thread by Justin | last post: by
3 posts views Thread by mr_burns | last post: by
2 posts views Thread by Alvaro G Vicario | last post: by
11 posts views Thread by dhplank | last post: by
1 post views Thread by =?Utf-8?B?aHV3NTM=?= | last post: by
2 posts views Thread by swethak | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by MichaelMortimer | last post: by
reply views Thread by CCCYYYY | last post: by

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.