Jesus 'n Jim

A mainly PC (some Mac) site w/Software, Computer Repair Info, How-To's on Using Computers
Technical Support 1-360-521-2060 (my business line cell)

horizontal scrolling div


demonstration of a horizontal moving div tag (if I understood the spec correctly)

peanut butter cookiem and m cookiechocolate chunk cookiemacadamia white chocolate cookieoatmeal raisin cookiechocolate chunk cookieGhirardelli chocolate chip cookie recipe cookie with extra cup of flour - yum!


It is not easy at all to make a smooth transition between the ends of the div tag, because there needs to be yet another div tag there, and where is it going to come from? you have to change the content of the outer div using .innerHTML to swap the 2 inner DIV tags around, which means taking the whole content of the div tags and storing them as strings.

This is GPL'd code. go ahead and view source.