Jump to content

Download: 3D jQuery Featured Articles Slider


Enkidu

Recommended Posts

  • Replies 214
  • Created
  • Last Reply
  • 1 month later...

Hi Enkidu,



Here it is on our site, but we have noticed that if you stay on the frontpage after a while the images still rotate but the title text becomes blank .... Any ideas ?



Also ... Is it possible to make the images clickable rather than just the title ?



http://caleythistleonline.com






(null)




I will investigate the first issue

as for the second one, the answer is yes and I think I post how to go about it in this topic long time ago :)
Link to comment

thanks - will search back on the thread ... I was using cellphone earlier so not easy to navigate thread .....


Edit - found it .... thanks

replace

<img src="{$r['image']}"  alt="{$r['title']}" title="{$r['title']}" rel="#HTMLCaption_{$SliderNo}" />[/CODE]

with

[CODE]<a href="{$r['url']}"><img src="{$r['image']}" alt="{$r['title']}" title="{$r['title']}" rel="#HTMLCaption_{$SliderNo}" /></a>



However, when I do that, the image totally disappears and instead the caption is all that is displayed .....

Link to comment

thanks - will search back on the thread ... I was using cellphone earlier so not easy to navigate thread .....




Edit - found it .... thanks



replace


<img src="{$r['image']}"  alt="{$r['title']}" title="{$r['title']}" rel="#HTMLCaption_{$SliderNo}" />[/CODE]

with

[CODE]<a href="{$r['url']}"><img src="{$r['image']}" alt="{$r['title']}" title="{$r['title']}" rel="#HTMLCaption_{$SliderNo}" /></a>



However, when I do that, the image totally disappears and instead the caption is all that is displayed .....



can you create a test page with that in it so I can see it first hand?

thanks :)
Link to comment

I'm really struggling to implement this at the moment, not sure where I'm going wrong.

So, let me tell you what I've done.

Uploaded all files and the block.

I've added {parse block="Enkidu3DImageSlider"} to my index.html page.

I've then added the code below to my to my Front Page (1x2x2 Layout) template.:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>

<script src="{parse block="ipcontent_files"}/assets/jquery.nivo.slider.pack.js"></script>

<link rel="stylesheet" href="{parse block="ipcontent_files"}/assets/themes/orman/orman.css" type="text/css" media="screen" />

<link rel="stylesheet" href="{parse block="ipcontent_files"}/assets/nivo-slider.css" type="text/css" media="screen" />

<link rel="stylesheet" href="{parse block="ipcontent_files"}/assets/style.css" type="text/css" media="screen" />



Obviously this is wrong, as it doesn't work!

At the moment, I just get this:

http://www.stdrivers...dex.php?app=ccs

Link to comment

I'm really struggling to implement this at the moment, not sure where I'm going wrong.



So, let me tell you what I've done.



Uploaded all files and the block.



I've added {parse block="Enkidu3DImageSlider"} to my index.html page.



I've then added the code below to my to my Front Page (1x2x2 Layout) template.:



<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>

<script src="{parse block="ipcontent_files"}/assets/jquery.nivo.slider.pack.js"></script>

<link rel="stylesheet" href="{parse block="ipcontent_files"}/assets/themes/orman/orman.css" type="text/css" media="screen" />

<link rel="stylesheet" href="{parse block="ipcontent_files"}/assets/nivo-slider.css" type="text/css" media="screen" />

<link rel="stylesheet" href="{parse block="ipcontent_files"}/assets/style.css" type="text/css" media="screen" />



Obviously this is wrong, as it doesn't work!

At the moment, I just get this:

http://www.stdrivers...dex.php?app=ccs



the JavaScript is not loaded (the page source has no jquery.nivo.slider.pack.js) so it's better to use the included template (with IPB wrapper) as a starting point and then customise it to the way you want
Link to comment

Hi,

I've put the code onto another test page now, but it doesn't seem to parse for some reason?

http://www.stdrivers.co.uk/forum/index.php?app=ccs&module=pages&section=pages&folder=&id=5

Is there a page setting I need to set, or does the code only work on templates, rather than pages?

Link to comment
  • 2 weeks later...

To make the image clickable, open the block from your ACP, IPC, then blocks, find:




<img src="{$r['image']}"  alt="{$r['title']}" title="{$r['title']}" rel="#HTMLCaption_{$SliderNo}" />

change to


<a href="{$r['url']}"><img src="{$r['image']}"  alt="{$r['title']}" title="{$r['title']}" rel="#HTMLCaption_{$SliderNo}" /></a>



that should do the trick :smile:



I was looking in the current code and didn't see this anywhere with in the block.
Link to comment
  • 3 weeks later...

Okay I am trying to make a simple page and I am just now trying to this to work and I am confusing myself.

Instead of sliding it just puts the images next to each other.

http://anbservers.net/NS2AmrsLab

Please excuse the images as I was just testing.

This is the entire content of my page

And I am using the wrapper.


<head>

<style>

   @import url("{parse block="ipcontent_files"}/assets/themes/orman/orman.css");

   @import url("{parse block="ipcontent_files"}/assets/nivo-slider.css");

</style>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>

<script type="text/javascript" src="{parse block="ipcontent_files"}/assets/jquery.nivo.slider.pack.js"></script>

</head>

{parse block="Enkidu3DImageSlider"}



Thanks for the help!

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...