简体   繁体   English

如何使用jCarousel放大滑块?

[英]How to use jCarousel to enlarge a slider?

I have implemented jcarousel. 我已经实现了jcarousel。

My website looks like this: what my website looks like now 我的网站看起来像这样: 我的网站现在看起来像什么

What I want to do, is that when the user clicks on enlarge, I want the picture to open in a new tab and have it be a slider as well. 我想做的是,当用户单击“放大”时,我希望图片在新选项卡中打开并使其也成为滑块。 Basically I want to open the slider in a new tab when the enlarge image is clicked. 基本上,我想在单击放大图像时在新选项卡中打开滑块。

Im new to this, I'm not sure what to do or where to start. 这是我的新手,我不确定该怎么做或从哪里开始。 All i have done is place the code below on the enlarge image. 我所做的只是将下面的代码放在放大图像上。 Please advise me on what to do? 请告诉我该怎么办?

<a href="javascript:enlarge()" class="enlarge">
<img src="/theme/images/magnify.gif" border="0" title="enlarge" alt="enlarge" style="margin:;">
</a>

尝试使用一些“ js模式库”,它具有放大效果,不需要打开新选项卡

in short adding target to an anchor will open it in a new tab, 简而言之,将目标添加到锚点将在新标签页中将其打开,

<a href="#" target="blank"></a>

The long answer is I have no idea what you're needing to execute when the new page is loaded, that is something that is going to be beyond this initial question. 长答案是我不知道加载新页面时需要执行什么操作,这超出了最初的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM