partitioning the program depending upon browser

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View


I am developing a site, and here whats the problem is: how to
partition the code, i.e. if I  developed 1000 lines of code, in that I
want to show first 200 lines only if the user opens my website using
IE, and next 200 lines in Firefox, and remaining lines in another

Here am asking that how to compatible the total code depending upon
the browsers used by users.

if you know any thing please mail me to

thanking you,

Best Regards,

Re: partitioning the program depending upon browser

Quoted text here. Click to load it

You're most likely asking the wrong question.  If your site's code
actually requires completely different chunks of code for each of
several browsers, with some sort of "sniffing" to select between them,
then you're almost certainly using much too much proprietary, browser-
specific stuff, and your site could benefit greatly from being
rewritten in a standards-compliant, platform-neutral way.


Site Timeline