Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to move a div with java applet
02-13-2007, 04:48 PM
Post: #1
how to move a div with java applet
i am have a java applet(Ephox) in a div. i have to move to some other location in the same page. i dont want to reload the java applet again.
can any one tell me how i can do it.

thanks in advance
Pushkar
Find all posts by this user
Quote this message in a reply
02-14-2007, 06:30 PM
Post: #2
RE: how to move a div with java applet
Pushkar, you can use 'left' property of style to move your div to the specified location. For eg if your div name is 'abc'. you can write something like this.

document.getElementById("abc").style.left = 100;

where 100 is your new location.

Hope this helps.
Visit this user's website Find all posts by this user
Quote this message in a reply
02-15-2007, 10:18 AM
Post: #3
RE: how to move a div with java applet
hi Albin
thanks for ur reply

can you tell me how to move it up and down

Pushkar
Find all posts by this user
Quote this message in a reply
02-15-2007, 03:42 PM
Post: #4
RE: how to move a div with java applet
Use document.getElementById("abc").style.top= 100;
Visit this user's website Find all posts by this user
Quote this message in a reply
10-08-2009, 08:41 AM (This post was last modified: 10-08-2009 09:16 AM by albinjoseph.)
Post: #5
RE: how to move a div with java applet
I don't have a any idea on how to move a div with java applet. But I know that you can still solve your problem regarding that problem.
Find all posts by this user
Quote this message in a reply
05-04-2010, 11:36 AM
Post: #6
RE: how to move a div with java applet
albinjoseph Wrote:Pushkar, you can use 'left' property of style to move your div to the specified location. For eg if your div name is 'abc'. you can write something like this.

document.getElementById("abc").style.left = 100;

where 100 is your new location.

Hope this helps.

Its just perfect answer and the code you have shared for the div in the java applet is been really good.
Find all posts by this user
Quote this message in a reply
06-14-2010, 01:03 PM
Post: #7
RE: how to move a div with java applet
Actually i don't have any idea for move a div with java applet & i want to move a div with java applet so I have use this code.Its really very perfect code to move a div with java applet.Its really good.
Find all posts by this user
Quote this message in a reply
12-16-2010, 03:41 PM
Post: #8
RE: how to move a div with java applet
Well, the best thing that you can do right now is to do what exactly Mr. Albin Joseph has said! You can use the left property of style to do the moving of your div to the indicated location. Anyway, I do hope that you have already figured it out. However, I have a different question here, Albin. I mean, all this do work on windows but what if Iswitch on to Mac? Will I be having the insurance to do the same with ease?
Find all posts by this user
Quote this message in a reply
02-05-2013, 09:38 AM
Post: #9
RE: how to move a div with java applet
Well, the best thing you can do right now to do what Mr. Albin said Joseph! You can use the style in trafficking cases left in destination property. In any case, I hope you noticed. However, I have another question here, Albin. I mean, all this under Windows, but what if iSwitch for Mac? You can be confident to do this easily?
Find all posts by this user
Quote this message in a reply
02-22-2013, 07:51 AM
Post: #10
RE: how to move a div with java applet
I have no idea how to move a Java applet. But I can still solve this problem.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Custmize applet haik4096 1 2,346 09-17-2010 05:13 PM
Last Post: brevedecane

Forum Jump:


User(s) browsing this thread: 1 Guest(s)