# Thumbnails Tutorial AS Adjustment for Thumb Width

**URL:** <https://forum.kirupa.com/t/thumbnails-tutorial-as-adjustment-for-thumb-width/247140>\
**Category:** flash\
**Created:** [December 18, 2007, 9:34pm UTC](https://forum.kirupa.com/t/thumbnails-tutorial-as-adjustment-for-thumb-width/247140 "2007-12-18T21:34:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![frontlines](https://avatars.discourse-cdn.com/v4/letter/f/d6d6ee/32.png) [@frontlines](https://forum.kirupa.com/u/frontlines)\
**Post date:** [December 18, 2007, 9:34pm UTC](https://forum.kirupa.com/t/thumbnails-tutorial-as-adjustment-for-thumb-width/247140/1 "2007-12-18T21:34:03Z")

</div>

I’m wondering if there is a way to tweak the tutorial for the thumbnails slider (link below) to allow for thumbnails of various widths:

[http://www.kirupa.com/developer/mx2004/thumbnails.htm](http://www.kirupa.com/developer/mx2004/thumbnails5.htm)

Currently the script creates the spacing between the thumbs by taking the width of the first thumbnail loaded and adding a value of 5 to it. However, in my instance the first thumb is the widest, so this creates odd spacing (This is for a product selector that runs from largest thumb to smallest).

Any help would be greatly appreciated…
