timeglider / jquery_widget

Timeglider's JS Widget component. See README for details.
193 stars 41 forks source link

tool button images assume '/js' root #13

Closed mlooney closed 12 years ago

mlooney commented 13 years ago

the tool buttons at the bottom can't load their images unless timeglider is installed in exactly the right directory structure

timeglider commented 13 years ago

Ah! With other buttons I've been changing them to be purely CSS driven (sized divs with background images) so that the image directory can be relative to the CSS file. Would that make sense to you?

mlooney commented 13 years ago

that's what i was going to suggest, but didn't presume to know enough about how things are done in javascript land.

mgarciabermejo commented 12 years ago

You could fix this changing line 50 of timegrlider.timeline.widget.js

    icon_folder:'js/timeglider/icons/',
timeglider commented 12 years ago

Actually, @marcos128, we're talking about the buttons that go along with the filter, timeline list, and wrench buttons. This is all CSS-driven now