Hi everyone, I am coding an internet page where I want to scroll images with "prev" and "next" buttons. I use Javascript there and the scrolling functions well on PC but not on Mac. Can anyone help me to find out what is wrong with the code? Thanks. Here is the code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
Please edit that to use [code] tags around your code like this [/code] which will make it much easier to read.
And your problem is that your code doesn't work with any valid browser, use document.getElementById('ID') to select an element based on it's ID, not the IE only not even close to standardised document.ID
And do you really need that many non-breaking spaces? Couldn't you just add some margins, or float an element, or(and I hate myself for suggesting it) use more than one table cell(Tables shouldn't be used for layouts BTW).
If you are using PHP please use the [PHP] and [/PHP] forum tags for highlighting...
The same applies to HTML and the forums [HTML][/HTML] tags.
Bookmarks