Forgot password
 Register account
View 284|Reply 10

尝试搞个拖动图片

[Copy link]

673

Threads

110K

Posts

218

Reputation

Show all posts

kuing posted 2024-2-27 02:45 |Read mode
Last edited by kuing 2024-2-27 02:55暂时对 tikz 和 asy 的图片有效,如果没什么问题的话,再弄到一般的图片上。

测试:

tikz 图:


asy 图:


鼠标移到图片上方出现拖动条,拖它即可拖动图片。
拖动后图片“脱标”(不占据原位置,所以随后的文字会上移)并相对于窗口固定。
点击右上的“归位”可还原。

0

Threads

406

Posts

6

Reputation

Show all posts

爪机专用 posted 2024-2-27 03:08 from mobile
对了,只对电脑版有效喔
I am majia of kuing

673

Threads

110K

Posts

218

Reputation

Show all posts

original poster kuing posted 2024-2-27 14:06
运气真差,昨晚弄好,今天 asy 的图片就都挂了……
@hbghlyj 帮我看看是啥问题?

Comment

已恢复正常  posted 2024-2-29 15:01

414

Threads

1641

Posts

15

Reputation

Show all posts

abababa posted 2024-2-27 17:04
要是拖动的话,拖动之后的那个小窗口,我觉得最好是不透明的,不然滚动浏览器时,那个小窗口停在一些文字上,透明的话就影响看图了。

Comment

行,那我设个白底色  posted 2024-2-27 17:09
应该已经好了  posted 2024-2-27 17:17

414

Threads

1641

Posts

15

Reputation

Show all posts

abababa posted 2024-2-27 18:35
还有拖动时有个标题栏,就是显示拖动、归位的那个,要是鼠标停在图上,那个标题栏就占了图的一部分,不过影响不太大。但我觉得最好是能在上面单独弄个标题栏,图在下面放着。

3211

Threads

7832

Posts

52

Reputation

Show all posts

hbghlyj posted 2024-3-12 03:07
我来反映一个问题:
旧版的back.gif在点击时,被“归位、拖动”遮挡住了,如forum.php?mod=redirect&goto=findpost& … tid=399&pid=2923
建议图片很小时不加拖动

Screenshot 2024-03-11 190528.png

Comment

嗯,是个问题,等我想想怎么改😣  posted 2024-3-12 15:50

673

Threads

110K

Posts

218

Reputation

Show all posts

original poster kuing posted 2024-4-1 18:16
hbghlyj 发表于 2024-3-12 03:07
我来反映一个问题:
旧版的back.gif在点击时,被“归位、拖动”遮挡住了,如http://kuing.infinityfreeapp. ...
现在不要文字了,只用底色来表示。
并且高度有限制,现在小图已经不会挡到。

Quick Reply

Advanced Mode
B Color Image Link Quote Code Smilies
You have to log in before you can reply Login | Register account

$\LaTeX$ formula tutorial

Mobile version

2025-7-20 06:15 GMT+8

Powered by Discuz!

Processed in 0.013624 seconds, 31 queries