TextBox properties.

Discussion in 'HTML and CSS' started by coolgiri, Aug 16, 2007.

  1. coolgiri

    coolgiri

    Joined:
    Aug 16, 2007
    Messages:
    1
    Likes Received:
    0
    How can we get the textBox properties like its x co-ordinate and y co-ordainate in a HTML page, I use Javascript for scripting. When i tried using element.offsetLeft and element.offsetTop, it is giving proper result but, when i use it with in a little complicated frameset, it is giving me 1 and 1. Actually i am using this inside a browser(Firefox) window opened for a content management system, OpenCms. Can any one help??
     
    coolgiri, Aug 16, 2007
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.