Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Mar 2009
    Posts
    45
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Modifying the DOM

    Hi,

    I'd really appreciate any insight into the following:

    I am creating an extension in Firefox whereby the user can highlight several texts on a web page. A button should appear just above the beginning of the highlighted text which when clicked will display an input textbox where the user can add comments.This textbox then can be closed whilst retaining the information.

    Basically, I need some info on how to create a button on top of the selected text and when clicked display an input text box.

    Thank you

    Kind regards

    Chris

  • #2
    Regular Coder
    Join Date
    Mar 2009
    Location
    Portland Oregon
    Posts
    690
    Thanks
    44
    Thanked 63 Times in 62 Posts

  • #3
    New Coder
    Join Date
    Mar 2009
    Posts
    45
    Thanks
    3
    Thanked 0 Times in 0 Posts
    thanks alot for the information regarding creating a text box and your promt reply.

    How would I create a button just on top of the highlighted text. I guess I need to get some co-ordinates right?

  • #4
    New Coder
    Join Date
    Mar 2009
    Posts
    45
    Thanks
    3
    Thanked 0 Times in 0 Posts
    any idea guys/girls?

    Basically I want to create the button just on top of the selected text on any webpage I access?

    Thanks for your input


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •