Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Fuji Kusaka 2203 posts 4220 karma points
    Jun 05, 2012 @ 09:58
    Fuji Kusaka
    0

    Displaying the first Image Url

    Hi Guys,

    Am stuck here while trying to make a slideshow to trigger. I have  items in my media section and what i would like to do here is to display only the first Url of the image to trigger the slideshow. The other  items needs to be hidden somehow and thus making the slideshow work as expected without repeating the images or url twice.

    Any suggestions to this...

  • Nigel Wilson 945 posts 2077 karma points
    Jun 05, 2012 @ 21:58
    Nigel Wilson
    0

    Hi Fuji

    How are you coding your slideshow ?

    In a loop you can get th eposition so if the position equals 1 assign a specific class to the image, otherwise assign another class to the remaining images and then using css do a "display:none"

    Is this what you are after ? If not you may need to provide a bit more of an explanation / sample code ?

    Cheers

    Nigel

  • Fuji Kusaka 2203 posts 4220 karma points
    Jun 06, 2012 @ 07:37
    Fuji Kusaka
    0

    Hi Nigel,

    Weird i did delete this threat yesterday, since i solved it myself and realized waht i was doing was completely wrong!!! But anyways thanks for the reply.

    However i didnt use any css tags such as display none, doing so will not make all the images visible in the slideshow. 

    //fuji

Please Sign in or register to post replies

Write your reply to:

Draft