This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes cross-browser coding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "cross-browser coding" Watch "cross-browser coding" New topic
Author

cross-browser coding

kalpana black
Greenhorn

Joined: Oct 12, 2007
Posts: 13
Need of reference(ebook or link) for Cross-browser(Internet Explorer 7 - firefox 2.0) coding standards, tips and problem fixes for javascript and html.

if anyone have crossed and found out remedy in this regard pls help me out.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

Originally posted by kalpana black:
pls help me out.

Please use real words when posting to the forums. Abbreviations such as "pls" in place of "please" only serve to make your posts more difficult to read and less likely to generate useful responses.

Please read this for more information.

thanks,
bear
JavaRanch sheriff


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

These days, the best approach is to adopt a library such as Prototype or jQuery that's already solved these problems for you. Though very different in approach, each of these libraries already takes care of cross-browser differences, especially in the most problematic areas of event handling and Ajax requests.
kalpana black
Greenhorn

Joined: Oct 12, 2007
Posts: 13
Can you give more explanation about Jquery
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

jQuery is a general purpose JavaScript library. It supports and adheres to the principle of Unobtrusive Javascript. It has core support for DOM manipulation, event handling, effects and animation, Ajax and more. It is designed to be easily extended via plugins.

jQuery has very prolific user community that produce lots and lots of useful plugins.

jQuery uses the Wrapper pattern to select one or more DOM elements (using CSS selector syntax). The wrapper possesses the methods used to manipulate the wrapped elements. For example, to hide all <img> elements:


Find out more about jQuery here. If you are interested in my book on jQuery, click on the "Books by Bear" link in my sig.
[ April 14, 2008: Message edited by: Bear Bibeault ]
 
Consider Paul's rocket mass heater.
 
subject: cross-browser coding
 
Similar Threads
Javascript Excel Sheet API
Swings HTML URL problem
Trouble with getElementById() in Firefox
How to launch a menu commend from a button
jQuery in Action - is jQuery an abstraction