Results 1 to 6 of 6

Thread: Jquery to capture screen

  1. #1
    Join Date
    Jul 2009
    Location
    Binus University
    Posts
    472
    Thanks
    78
    Thanked 21 Times in 21 Posts

    Default Jquery to capture screen

    Is there any Jquery or Javascript that we can use to capture our monitor, so when we click share we can send that image through the social media like facebook.

    I've seen this effect on some flash website, they capture what are we doing on website and we can share it to facebook as market promotion strategy.

    Thank you so much.
    _____________________

    David Demetrius // davejob
    _____________________

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    You cannot do this with javascript - impossible.
    Jeremy | jfein.net

  3. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    This is something that you should be able to find a lot of information about using Google.

    Screen captures are taken at a lower level in the system than the browser. It's not something that you can access via Javascript, or at least it will often (always?) be blocked. But take a look at that information and see if any of it helps.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  4. #4
    Join Date
    Jul 2009
    Location
    Binus University
    Posts
    472
    Thanks
    78
    Thanked 21 Times in 21 Posts

    Default

    really sorry guys, may be i give a wrong direction about my problem.

    Here is the example:
    if i have an image, Christmas tree.
    and i have a lot of button that can trigger active the ornament on the tree like lamp, star, candy cane that can we add to the Christmas tree.

    here is the illustration:

    this is the page, with ornament as button, so user can add any ornament he/she want into the Christmas tree.


    this is after user click to the button and add what ever button they want, when they finish make the decoration, they can save it as image. Like this with the ornament they like stick on the tree.




    NOTE: User cannot drag the object, they just click on the ornaments, and the ornaments appear like magic on the Christmas tree, hehe.

    So, is it possible. Or may be this is too crazy to develop?
    _____________________

    David Demetrius // davejob
    _____________________

  5. #5
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Now I understand.

    You can use Javascript to save variables about where the images are located. But that won't be an image (like a jpeg) that you can save.

    You could use the GD image functions library in PHP to generate the image if you'd like. Then you could save it. But that's fairly complicated and requires more than just Javascript.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  6. #6
    Join Date
    Jul 2009
    Location
    Binus University
    Posts
    472
    Thanks
    78
    Thanked 21 Times in 21 Posts

    Default

    the first thing that came out from may head about this page that i develop is javascript + PHP, so with database i can make a combination, for example:


    if i add angle, bell, candy cane ornament, so i call image 1
    if i add angle, candy cane ornament, so i call image 2

    See the different, but this is mean that i need a lot of combination image, on my database.
    Facebook games - Mousehunt use the same method like i want to do, hehe.

    But thx anyway djr33....
    _____________________

    David Demetrius // davejob
    _____________________

Bookmarks

Posting Permissions

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