Javascript slider breaks in Firefox when using XHTML doctype
Hi all it's been a while but I'm back in town and looking for some advice with a Javascript issue. I hope you can help me out or point me in the direction of someone who can.
I have a scrollable div script downloaded from blueshoes.org. Lovely script when applied to a page, it makes a really pretty slider - I haven't found a comparable one anywhere. My problem is that when using an XHTML doctype (which I have to use for the site I am currently working on), the scrollable div breaks in Firefox.
I'm not much good with Javascript so I'm looking for assistance. I have put together a working example at http://www.laughingbuddhadesign.com/slider/ (open in IE or Firefox to see how it's supposed to work). The relevant .js files are found in the head tag in the source.
Many thanks,
Blue
JeevesBond posted this at 09:59 — 1st April 2008.
He has: 3,956 posts
Joined: Jun 2002
I don't think this will affect your problem, but if you're using XHTML you should remove the HTML comments from your Javascript declaration. The:
<!-- -->
should be removed.Unfortunately I can't get that script to generate an error, but it just doesn't work. It'll take a lot of time to debug, so it would probably be easier for you to raise a bug with whomever wrote the thing in the first place. Is there somewhere you can leave feedback on the script? A bugtracker would be best.
a Padded Cell our articles site!
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.