我可以在我的joomla网站中嵌入砌石jquery模板吗? [英] Can I embed a masonry jquery template into my joomla website?

查看:97
本文介绍了我可以在我的joomla网站中嵌入砌石jquery模板吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的网站上使用Masonry创建视频库,但是遇到了困难.

I want to create a video gallery using Masonry on my website but I'm having difficulty.

我正在使用Joomla作为CMS,并且已经有一个使用火箭主题的模板即时消息,但是在我的其中一个页面上,我想要一个可供人们观看的视频列表(我将对其进行更新).我想使其外观吸引人,并且砌筑引起了我的注意,但我不知道如何安装和运行它.

I'm using Joomla as my CMS and already have a template im using from rocket themes but on one of my pages I want to have a list of videos (which I'll update) for people to watch. I want to make it visually appealing and masonry caught my eye but I fail to understand how to get it up and running.

Jquery如何与Joomla一起使用?

How does Jquery work with Joomla, if it does at all?

推荐答案

通过砖石插件,您可以定义一个在容器内包含图像的网格.然后,它使用kd-tree算法以最有效的方式对图像进行排序.该算法是众所周知的,例如,从图形磁盘空间的使用情况来看,最大的文件在屏幕上占据了最大的矩形. kd树还可以添加一些空间信息.因此,如果您可以包括砌石js库,并从数据库中动态选择视频片段,然后将其以css格式包装到joomla模板中,则不会出现任何问题.

The masonry plugin let you define a grid with images inside a container. Then it uses a kd-tree algorithm to sort the images in the most efficient way. The algorithm is well know for example from graphical disk space usage where the biggest file gets the biggest rectangle on the screen. A kd-tree is also good to add some spatial information. Hence if you can include the masonry js library and dynamically pick a selection of your videos from the database and wrap it in a css layout into a joomla template I don't see any problem.

这篇关于我可以在我的joomla网站中嵌入砌石jquery模板吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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