最近搜索


没有最近搜索

Joshua Tallent's Avatar

Joshua Tallent

已加入2021年4月15日

·

最后活动2025年2月19日

关注

0

关注者

0

活动总数

19

投票

0

订阅

1

活动概览

的最新活动 Joshua Tallent

Joshua Tallent 进行了评论,

社区评论 Discussion - Tips and best practices from the community

Yeah, unfortunately ZenDesk does not do a lot of updates to Guide…

查看评论 · 已于 2025年2月19日 发布 · Joshua Tallent

0

关注者

0

投票

0

评论


Joshua Tallent 进行了评论,

社区评论 Discussion - Tips and best practices from the community

Can you load a screenshot of what you did?

查看评论 · 已于 2020年2月06日 发布 · Joshua Tallent

0

关注者

0

投票

0

评论


Joshua Tallent 进行了评论,

社区评论 Discussion - Tips and best practices from the community

Eric,

After you load the image with the uploader in the article, click on the Source Code button on the right side of the editor.

In the Code pop-up, add the class name to the image tag, as you see above. You don't need to do anything else. 

Good luck!

Joshua

查看评论 · 已于 2020年2月06日 发布 · Joshua Tallent

0

关注者

0

投票

0

评论


Joshua Tallent 进行了评论,

社区评论 Discussion - Tips and best practices from the community

Eric,

Do you have the class name on the image you want to expand?

class="fancybox" src="image.png" alt="alt text">

查看评论 · 已于 2020年2月06日 发布 · Joshua Tallent

0

关注者

0

投票

0

评论


Joshua Tallent 进行了评论,

社区评论 Discussion - Tips and best practices from the community

You have to have some sort of delineation on the images to assign the styling. If you don't have something specific to define which images are which then there's no way to do what you want. Sorry!

查看评论 · 已于 2019年3月19日 发布 · Joshua Tallent

0

关注者

0

投票

0

评论


Joshua Tallent 进行了评论,

社区评论 Discussion - Tips and best practices from the community

Chris, you can make all images zoomable by changing this line in the JS:

$('.article-body img.fancybox').on('click', function() {

to this

$('.article-body img').on('click', function() {

(remove the ".fancybox").

Just realize that this will apply to every image, including small ones.

查看评论 · 已于 2019年3月19日 发布 · Joshua Tallent

0

关注者

0

投票

0

评论


Joshua Tallent 进行了评论,

社区评论 Discussion - Tips and best practices from the community

Chris, just follow the directions above to set up the JS and use the class name you define in the images.

查看评论 · 已于 2019年3月12日 发布 · Joshua Tallent

0

关注者

0

投票

0

评论


Joshua Tallent 进行了评论,

社区评论 Discussion - Tips and best practices from the community

Chris, if you set it up to only apply to titles that have the class name, then it will not be applied to anything else. I'm sure you could figure out a way in the JS to set exclusions, but using the class name inclusion would be easier.

查看评论 · 已于 2019年3月08日 发布 · Joshua Tallent

0

关注者

0

投票

0

评论


Joshua Tallent 进行了评论,

社区评论 Discussion - Tips and best practices from the community

I am not sure that the Help Classes Hidden function you have there at the end is written properly. Try moving the Images function above that and seeing if that helps. If so, then the Help Classes function needs to be fixed. 


Otherwise there is something else going on in that code. You might try using a JavaScript validator to check it for issues: http://esprima.org/demo/validate.html

查看评论 · 已于 2018年11月12日 发布 · Joshua Tallent

0

关注者

0

投票

0

评论


Joshua Tallent 进行了评论,

社区评论 Discussion - Tips and best practices from the community

Marco, be sure to place the script addition to the bottom of the file BEFORE the closing "});"

查看评论 · 已于 2018年11月12日 发布 · Joshua Tallent

0

关注者

0

投票

0

评论