Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7909509
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T12:26:57+00:00 2026-06-03T12:26:57+00:00

I am using the jQuery Supersized plugin ( http://buildinternet.com/project/supersized/ ). What I’m trying to

  • 0

I am using the jQuery Supersized plugin ( http://buildinternet.com/project/supersized/ ).

What I’m trying to achieve is taking an automatically generated list like this:

<ul>
    <li><span class="image">/images/image1.jpg</span> <span class="title">My Title</span> <span class="thumb">/images/image-thumb1.jpg</span></li>
    <li><span class="image">/images/image2.jpg</span> <span class="title">My Title</span> <span class="thumb">/images/image-thumb2.jpg</span></li>
    <li><span class="image">/images/image3.jpg</span> <span class="title">My Title</span> <span class="thumb">/images/image-thumb3.jpg</span></li>
</ul>

And taking the relevant options and adding it into the slides:

<script type="text/javascript">
jQuery(function($){
    $.supersized({
        ...
        slide_links : false,
        slides : [
            {image : '/images/image1.jpg', title : 'My title', thumb : '/images/image-thumb1.jpg'},
            {image : '/images/image2.jpg', title : 'My title', thumb : '/images/image-thumb2.jpg'},
            {image : '/images/image3.jpg', title : 'My title', thumb : '/images/image-thumb3.jpg'}
        ]
    });
});
</script>

The system being used does not allow server side code, so I have to do it all in JS.

I have successfully created a simpler way of doing this but it could only be achieved with a trailing comma, which causes pre IE8’s to break.

So this was the only solution I could come up with but haven’t been able to arrange it so far.

More or less:

Can I take the details in the lists and use them in the slides to generate the background images for supersized?

e.g

This:

`<li><span class="image">/images/image.jpg</span> <span class="title">My Title</span> <span class="thumb">/images/image-thumb.jpg</span></li>`

To this:

{image : '/images/image.jpg', title : 'My title', thumb : '/images/image-thumb.jpg'}

With the last having no trailing comma.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T12:26:58+00:00Added an answer on June 3, 2026 at 12:26 pm

    You can build that slides data structure with this jQuery:

    var slides = [];           
    $("ul .image").each(function() {
        var this$ = $(this);
        var obj = {};
        obj.image = this$.text();
        obj.title = this$.nextAll(".title").text();
        obj.thumb = this$.nextAll(".thumb").text();
        slides.push(obj);
    });​​​​​​​​​​​​​​​
    

    Working demo: http://jsfiddle.net/jfriend00/bYs4x/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I'm using the Supersized plugin (http://buildinternet.com/2011/07/supersized-3-2-fullscreen-jquery-slideshow/) to display beautiful background images behind the
I am using supersized jQuery slider plugin which change one on clicking NAV anchor
Using jQuery, what's the best way to automatically initialize a plugin on all current
Using jQuery and given this <ul> <li> <a external=http://stackoverflow.com href=home.htm>Link 1</a> </li> <li> <a
I am using the Supersized jQuery plugin which makes images fullscreen and also implements
Am using supersized jquery plugin for my site. It comes with button for next
I am using jQuery plugin supersized for full page background images (slideshow), I have
I'm using Supersized jQuery plugin . This plugin is used to make full screen
I'm using the jquery Supersized 3.1.3 plugin, which all works well, and I was
Using jQuery I am trying to set focus for (CSS purposes) to a particular

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.