I'm working on this fun tool on a website I'm working on that allows the user to drag images around (using jQuery UI) to create their own character.
我正在一个网站上开发这个有趣的工具,它允许用户拖拽图片(使用jQuery UI)来创建自己的字符。
You can see the basics of this working here: http://goo.gl/JVXM0
您可以在这里看到基本的工作原理:http://goo.gl/JVXM0
What I'm after, however, is the ability for the user to then share their creation via Facebook and Twitter. Whether once created, it takes a screenshot of an area then they can share their creation... I'm unsure.
然而,我所追求的是用户能够通过Facebook和Twitter分享他们的创作。是否一旦创建,它就会截图一个区域,然后他们可以分享他们的创作……我不确定。
Having a look at this, is there any steps or directions I can take to making this happen?
看看这个,我能采取什么步骤或方向来实现它吗?
Any help would be so appreciated.
任何帮助都将不胜感激。
Thanks, Richard
谢谢你,理查德
1 个解决方案
#1
0
So you're trying to generate an image of the DOM on a page? If so, this would be a good question to start with: Generate image from DOM elements
你想在页面上生成DOM的图像?如果是这样,这将是一个很好的问题:从DOM元素生成图像
Hope this helps!
希望这可以帮助!
Cheers, Robin
欢呼,罗宾
#1
0
So you're trying to generate an image of the DOM on a page? If so, this would be a good question to start with: Generate image from DOM elements
你想在页面上生成DOM的图像?如果是这样,这将是一个很好的问题:从DOM元素生成图像
Hope this helps!
希望这可以帮助!
Cheers, Robin
欢呼,罗宾