10-17-2008, 11:06 PM
|
#4 (permalink)
|
|
La Vida es Sueño
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
|
Sorry, I didn't see that this thread was specifically in the JavaScript forum. I have amended the script and added JavaScript capabilities. However, it's always good practice to have both methods in for if the user has JavaScript disabled, or perhaps unsupported by an ancient browser.
Take a look at the code and see what you think. Although, if you're new to this way of doing things, I would stick to the PHP approach as organising JavaScript files is a whole new arena. I was that silly once, and whilst I don't regret it because I learnt well from it, it's not something I'd recommend people repeat. There are better ways to learn, and that is through organising only HTML, CSS and PHP files, at the moment, then slowly progressing to other types of files such as JavaScript. The gradual approach, I feel, is far better.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
|
|
|