mail Posted July 13, 2007 Share Posted July 13, 2007 I've downloaded this script ... http://www.dyn-web.com/dhtml/scroll/ part of the script is this page http://www.dyn-web.com/dhtml/scroll/scrollbar-h.html the script stores images in tables and I was trying to replace it with a list or div based layout, i failed. Can anyone help me out ? I replaced <table id="t1" border="0" cellpadding="0" cellspacing="6"> <tr> <td><img src="/images/btns/dwc-w-btn.gif" width="175" height="40" alt="" /></td> <td><img src="/images/btns/dot-com-btn.gif" width="176" height="30" alt="" /></td> <td><img src="/images/btns/slogan-btn.gif" width="132" height="32" alt="" /></td> <td><img src="/images/btns/dwc-w-btn.gif" width="175" height="40" alt="" /></td> <td><img src="/images/btns/dot-com-btn.gif" width="176" height="30" alt="" /></td> <td><img src="/images/btns/slogan-btn.gif" width="132" height="32" alt="" /></td> </tr> </table> with <ul id="slide"> <li> <img class="floatimg" src="images/dwc-w-btn.gif" width="175" height="40" alt="" /> </li> <li> <img class="floatimg" src="images/dot-com-btn.gif" width="176" height="30" alt="" /> </li> <li> <img class="floatimg" src="images/slogan-btn.gif" width="132" height="32" alt="" /> </li> </ul> #slide { margin: 0; padding: 0; list-style: none; display: inline; overflow: hidden; } #slide li { margin: 0; padding: 0; list-style: none; display: inline; } #slide img { float:left; } Link to comment https://www.neowin.net/forum/topic/573866-sliding-menu/ Share on other sites More sharing options...
0 Mathachew Veteran Posted July 13, 2007 Veteran Share Posted July 13, 2007 How exactly did you fail? Got a link we can see this at? Try floating your <li> to the left as well. Link to comment https://www.neowin.net/forum/topic/573866-sliding-menu/#findComment-588702502 Share on other sites More sharing options...
0 mail Posted July 13, 2007 Author Share Posted July 13, 2007 (edited) images didn't float left, it would just wrap, and the slider didn't work. If i can find a server i will upload it. http://www.larney.co.uk/mail/ Hmm apparently he doesn't like it being used on a server ... great. I didn't want to use flash to do this, but guess i have to. Edited July 13, 2007 by mail Link to comment https://www.neowin.net/forum/topic/573866-sliding-menu/#findComment-588702534 Share on other sites More sharing options...
0 Mathachew Veteran Posted July 14, 2007 Veteran Share Posted July 14, 2007 What's wrong with just using tables? Have you tried just using images with them lined next to each other like so: <img /><img /> etc. Link to comment https://www.neowin.net/forum/topic/573866-sliding-menu/#findComment-588703114 Share on other sites More sharing options...
0 Smokin-Joe Posted July 16, 2007 Share Posted July 16, 2007 Or you could use something like this. Link to comment https://www.neowin.net/forum/topic/573866-sliding-menu/#findComment-588707833 Share on other sites More sharing options...
Question
mail
I've downloaded this script ... http://www.dyn-web.com/dhtml/scroll/
part of the script is this page
http://www.dyn-web.com/dhtml/scroll/scrollbar-h.html
the script stores images in tables and I was trying to replace it with a list or div based layout, i failed. Can anyone help me out ?
I replaced
with
Link to comment
https://www.neowin.net/forum/topic/573866-sliding-menu/Share on other sites
4 answers to this question
Recommended Posts