我如何开发类似...的功能 [英] How can I develop functionality like ...

查看:67
本文介绍了我如何开发类似...的功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望在ASP.NET中进行图像处理,例如 Spread Shirt 网站


  1. 当我在文本框中输入文本时,它将显示在主图像上.
  2. 与图像相同,当我选择一张图像时,它将出现在主图像上.
  3. 在将图像或文本放置在主图像上之后,我还将更改文本的字体大小.



请帮帮我.
在此先谢谢您!!!!

解决方案

您可以使用javascript和div标签处理此问题.
1)为主图像添加占位符
2)使用诸如关闭,缩放等"之类的所有控件设置div标签的样式.
3)在div内添加标签,并在选择时设置路径
或添加动态文本.
3)为"OnMouseDown,OnMouseDrag,OnMouseUp等"添加javascript事件


[ ^ ]将是一个不错的起点.


I want image processing in ASP.NET like the Spread Shirt site


  1. When I enter text in textbox, it will appear on main image.
  2. Same as image, when I select one image it will appear on main image.
  3. Also after drop image or text on main image, I will change font size of text.



Please help me.
Thank you in advance !!!

解决方案

You can handle this with javascript and div tag.
1) Add placeholder for main image
2) Style the div tag using all the controls like "close,zoom etc".
3) Add tag inside the div and set path at the time of selection
or add with dynamic text.
3) Add javascript event for "OnMouseDown,OnMouseDrag,OnMouseUp etc"


This[^] would be a good place to start.


这篇关于我如何开发类似...的功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆