Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

保证图片的title可以在fancy box中显示 #279

Merged
merged 2 commits into from Jul 13, 2015

Conversation

Ted-Zjut
Copy link
Contributor

fancybox生成链接
default
标签需要携带图片的title,这样才能保证在页面fancy box中显示title内容

js不太熟,忘了检查title内容,补上,sorry
iissnan added a commit that referenced this pull request Jul 13, 2015
保证图片的title可以在fancy box中显示
@iissnan iissnan merged commit 32800b6 into iissnan:master Jul 13, 2015
@iissnan
Copy link
Owner

iissnan commented Jul 13, 2015

👍

@quxiaofeng
Copy link

问一下,怎么加图片的 title。这个 this.title 是怎么设置的?

@iissnan
Copy link
Owner

iissnan commented Jul 14, 2015

Markdown: ![Alt text](/path/to/img.jpg "Optional title")
HTML: <img src="/path/to/img.jpg" alt="Alt text" title="Optional title" />

this.title 是 JavaScript 中引用 img 的 title 属性。

@quxiaofeng
Copy link

谢谢

mrjohannchang pushed a commit to mrjohannchang/hexo-theme-next that referenced this pull request Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants