/    Sign up×
Community /Pin to ProfileBookmark

Slider of thumbnails

How do i put these div’s into a jqery slider? I have only put <li> into a slider and these are div. They are the thumbnails.
This is the code for the thumbnails, they pull from

[CODE] <td valign=”top” id=”item_drill<%=getCurrentAttribute(“item”,”internalid”)%>”>
<div id=”TT-basePDPtemplate3″ class=”middle”>
<div class=”centered-middle”>
<div class=”itemdrill-mainInfo”>
<div class=”itemdrill-left”>
<div id=”itemdrill-zoomGallery”>
<div id=”itemdrill-zoomGallery-content”>
<div id=”large-image-field99″ class=”large-image”> <a href=”<%=getCurrentAttribute(‘item’,’custitem_gallery_1′)%>” class=”cloud-zoom” id=”zoom” rel=”adjustX: 10, adjustY:-4, zoomWidth: 300, zoomHeight:300″ title=” ” onMouseOver=”textz(1);” onMouseOut=”textz(2);” style=”display:block; height:305px; overflow:hidden; position:relative;”> <img id=”XX” src=”<%=getCurrentAttribute(‘item’,’custitem_gallery_1′)%>” class=”xx” onMouseOver=”textz(1);” onMouseOut=”textz(2);” style=” display:block; height:auto; text-align:center; width:350px;”/> </a> </div>
<span class=’smalltext’ id=”textZoom”>Roll on to zoom in</span></div>
<div id=”thumbnails-custom”>
<div id=”custom1″></div>
<div id=”custom2″ style=”display:none”></div>
<div id=”custom3″ style=”display:none”></div>
<div id=”custom4″ style=”display:none”></div>
<div id=”custom5″ style=”display:none”></div>
<div id=”custom6″ style=”display:none”></div>
<div id=”custom7″ style=”display:none”></div>
<div id=”custom8″ style=”display:none”></div>
<div id=”custom9″ style=”display:none”></div>
<div id=”custom10″ style=”display:none”></div>
<div id=”custom11″ style=”display:none”></div>
<div id=”custom12″ style=”display:none”></div>
</div>
</div>
</div>[/CODE]

[url]http://shopping.netsuite.com/s.nl/c.560765/it.A/id.1920/.f[/url]

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@SempervivumDec 30.2015 — I encountered a similar question earlier but cannot find the code again. Set your container #thumbnails-custom to a fixed width and set the CSS property white-space:nowrap for it. Set display:inline-block instead of float:left for the thumbnail divs .custom_th1. That should be sufficient to make the thumbnail divs scrollable.

BTW: There is a deeply nested structure of tables. Are you managing your scripts correctly? Seems like a recursion.

PS: I notice only now that you ask for a jQuery slider. There are many out there, if you google you should find a suitable one like this:

http://www.idangero.us/swiper/demos/#.VoRJEPnhCUk

You will have to combine the carousel mode and the navigation buttons.
Copy linkTweet thisAlerts:
@rainbowgodJan 15.2016 — Great example thanks ?
×

Success!

Help @Designer525 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.5,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...