coding an extension
This is a discussion on coding an extension within the Chrome OS Extensions forums, part of the Chrome OS Development Forum category; hi,
i am new to chrome browser and its development of extensions, but i want to build my own one.
i actually did a lot, ...
-
coding an extension
hi,
i am new to chrome browser and its development of extensions, but i want to build my own one.
i actually did a lot, but dont know, how to get further...
what the extension should do:
when the user selects text in the page, there should be a new context menu item (done - works)
by clicking on that item, the extension contacts my server and sends the selected phrase to get more information about it (AJAX). (works)
the result should be shown in a "bubble" or else... (failed)
i tried some hours but didnt get the bubble done... only with "alert()" i see, that the return string is ok.
i tried to add a new div-element (document.createelement("div")) and append it to body... failed. so i dont know how to get this done...
any tips?
k
-
Similar Threads
-
By jumbo74 in forum Chrome OS Extensions
Replies: 0
Last Post: 03-02-2011, 01:06 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules