Abder-Rahman Ali wrote: > Pale Horse wrote: >> Abder-Rahman Ali wrote: >>> Thanks Pale, cannot I use CSS for that. I'm actually not aware of >>> Javascript. >> >> Do no not use CSS for this; CSS is for styling your page. If you're not >> familiar with JavaScript, can I suggest you start here: >> http://w3schools.com/js/default.asp > > Got you Pale. > > So, you mean that even I have the result, I cannot display it using CSS > since it is for styling?
Right. Basically, if you want dynamic behavior on the client side, you need JavaScript. Remember to provide an alternative for those without JavaScript! (Look up "progressive enhancement" for a good way to do this.) > > I'll check Javascript then. > Your first stop should be Doug Crockford's website ( http://www.crockford.com ). In particular, note and follow his recommendation to put JavaScript in separate files rather than mixing it in with HTML. If you want a book, I recommend David Flanagan's JavaScript: The Definitive Guide; Doug Crockford's JavaScript: The Good Parts seems good also. http://www.javascriptkit.com is a good basic language reference. > Thanks a lot. Best, -- Marnen Laibow-Koser http://www.marnen.org mar...@marnen.org -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.