Thread: IE6

  1. #46
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Oh sure, that's cool. Myself, I couldn't live without Javascript, so I require it for all pages I create

  2. #47
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    Several corporate standards require disabling JavaScript on all browsers. This practice may get less common with Ajax being so popular, but I don't see it going away.

    Also, many mobile devices have no or very limited JS support.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #48
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    That's pretty much another thing that I'm against. The web and webpages weren't designed for mobile devices, so why must every darn little thing have a web browser nowadays?
    And I don't really consider a web browser a web browser without JS support. But shrug, I disgress... it's not like I can change it.

  4. #49
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    I have it off most of the time because all those kiddy clocks that follow the mouse, or some stupid countdown (or pop-up windows). 99% of sites should be able to function without JS (unless it's for a calculator or something). Most of the time JS hinders the user more than it helps. Why would you need a clock that follows the mouse if most people have one in the task-bar?

    > The web and webpages weren't designed for mobile devices
    Nor was it originally designed for civilians, now look at today -- how many civilians do you think use the web? Technology changes on a daily basis, adapt or get left behind.

  5. #50
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    Quote Originally Posted by Elysia View Post
    The web and webpages weren't designed for mobile devices, so why must every darn little thing have a web browser nowadays?
    Because it's useful.

    You'd be surprised to know all the things the web wasn't designed for. But if the principle holds true, then we shouldn't have any JavaScript, any styling options, or any proper way to maintain a session - so, effectively, no web applications. Sounds good?
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  6. #51
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Meh, I don't see why that's so bad. It may not be necessary, but it's not dangerous either.
    Popup windows are annoying, yes, but I tend to use a popup blocker than blocks all popups. Sometimes I don't enable it and have FF do its own popup blocking instead.

    Quote Originally Posted by CornedBee View Post
    Because it's useful.

    You'd be surprised to know all the things the web wasn't designed for. But if the principle holds true, then we shouldn't have any JavaScript, any styling options, or any proper way to maintain a session - so, effectively, no web applications. Sounds good?
    Yes, some tend to find it useful. I don't. But if other people find it well, then who am I to complain?
    The main problem I have is that webpages were designed for resolution 1024x768+, and that's far too high for mobile devices.
    Last edited by Elysia; 11-27-2007 at 04:51 PM.

  7. #52
    Registered User IdioticCreation's Avatar
    Join Date
    Nov 2006
    Location
    Lurking about
    Posts
    229
    Quote Originally Posted by zacs7 View Post
    I have it off most of the time because all those kiddy clocks that follow the mouse, or some stupid countdown (or pop-up windows). 99% of sites should be able to function without JS (unless it's for a calculator or something)
    I don't completely agree with you. A lot of big sites use AJAX (As made popular by Google) and I love it. It's very convenient. It would be cool if you could turn off certain JS functions, like ones that mess with the mouse, or open pop up windows.

  8. #53
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Quote Originally Posted by IdioticCreation View Post
    I don't completely agree with you. A lot of big sites use AJAX (As made popular by Google) and I love it. It's very convenient. It would be cool if you could turn off certain JS functions, like ones that mess with the mouse, or open pop up windows.
    You can and it is really easy: Don't visit those sites.

    The biggest abuse of javascript (IMO) are the sites that open links up in new windows by using javascript:foo() as the href. If you are going to do it do it right and have a valid href and add something like an onclick event to the tag.

  9. #54
    Meow Pendragon's Avatar
    Join Date
    Sep 2001
    Location
    Swindon, UK
    Posts
    723
    The main problem I have is that webpages were designed for resolution 1024x768+, and that's far too high for mobile devices.
    It's fairly easy to implement a style based on the device type. You have to design another UI but it's always going to be much simpler than the desktop version. Plus, if you have a Windows Mobile device*, then it's most irritating when pages are designed solely for desktop resolution as they can be difficult to navigate and although MiniMo (Mozilla's mobile browser) has Javascript capabilities, I've found it's more of a hindrance. Mobile pages have to be functional, not fussy for ease of use and small in size for quick downloading over Edge/GPRS.


    [Edit]I'm mentioning Windows Mobile because that's the only one I have experience with. I know virtually nothing about Symbian et cetera so if I should have put 'mobile device' rather than Windows Mobile if their rendering behavious is similar then I apologise... but I'm not going to change it[/Edit]
    Last edited by Pendragon; 11-28-2007 at 02:07 AM.

  10. #55
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by Thantos View Post
    The biggest abuse of javascript (IMO) are the sites that open links up in new windows by using javascript:foo() as the href. If you are going to do it do it right and have a valid href and add something like an onclick event to the tag.
    Kinda depends on what you want to do. Do you want some kind of fading effect or dynamically build an url or select an url depending on what the user has done on the page (like a quiz, calc the score and redirect depending on the score).

  11. #56
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    No. You just don't build URLs dynamically without a server submission alternative.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  12. #57
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    You may or may not. Sometimes the server doesn't even have PHP/Perl/etc, or you just don't know the language well enough and for something as simple as this, javascript is fine.
    For more complex things, I agree server-side language is the best choice.

  13. #58
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    It doesn't change my point. The proper action in that case would be to have the javascript dynamically change the href.

    When I surf I hardly ever open links directly anymore. 99% of the time I middle click it so it'll open in a background tab that I'll get to when I finish the page I'm on. With href="javascript:foo()" it doesn't work.

  14. #59
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    It doesn't always work, though. Especially not if you want effects like fading something out. And simply making one function call is easier to maintain that a dozens so. Not to mention you don't need to bother with all those events to be set up properly. Javascript isn't great, but it's acceptable.

  15. #60
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    The effects will have to go in the non-JS version, of course. That's what's known as progressive enhancement (or graceful degradation, depending on the side you're coming from).
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Where Can I DL IE6?
    By mike_g in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 06-10-2008, 12:30 PM
  2. opening php files in IE6
    By Micko in forum Tech Board
    Replies: 7
    Last Post: 03-06-2006, 01:16 PM
  3. Try upgrading IE6
    By xizor in forum Tech Board
    Replies: 1
    Last Post: 08-07-2003, 04:57 AM
  4. IE6 Favorites
    By confuted in forum Tech Board
    Replies: 4
    Last Post: 06-21-2003, 03:12 PM
  5. IE6 prob
    By dP munky in forum Tech Board
    Replies: 12
    Last Post: 04-05-2003, 11:31 PM