Hi, For purpose of a personal project, I wanted to implement a web clip functionality in Google Chrome just like the web clip as in MacOS Safari browser.
After some research, it seems it might be possible to write a Chrome extension and to use Content Script to implement such. I started to learn Javascript and now have a very basic content script to capture the mousedown event and its location. But I was not able to figure out: how to display an (apparent) overlay rectangle on a area of a web page? This rectangle is meant to be the area for the web clip so the user can adjust its size by dragging the corners. I have search a couple of Javascript books but did not find what I needed yet. I guess there is one part of Javascript i might not be aware to support such functions. Can anyone shed some lights? ( i am also curious if Safari implemented its web clip using Javascript or not ...) Thanks in advance. -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
