Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts

    expression() - the good, the bad and the ugly

    The good - expression() can, contrary to what I've said before, be used to simulate position:fixed in IE - http://www.svendtofte.com/code/max_w..._fixed_ie.html - still doesn't work for complex groups of elements, like a list, but appears to work for single elements.

    The bad - it is of course IE proprietary junk, and highly dubious to have scripting element inside CSS. But not such a biggy if you can still turn off scripting to be safe .. except ...

    The ugly - expression() still works when Javascript is disabled in IE I'm horrifed quite frankly - this is an expliot which could be used to nefarious ends. And if SysAdmins start filtering out CSS as well ... well what, are we going to go back to using tables for layout?

    The only good thing I can see coming from that is that people stop using in IE in droves; we can be sure MS won't fix it. And no way am I going back to tag soup - if Admins filter out CSS then I start treating IE like Netscape 4.
    Last edited by brothercake; 12-17-2003 at 10:29 PM.
    "Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark

  • #2
    Master Coder
    Join Date
    Feb 2003
    Location
    Umeå, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    That's not the only way to include scripts that gets parsed in HTML with scripting turned off, neither in iew nor in moz. Have you tried setting a javascript background-image url in moz, or a behavior/binding that includes global scripts? There's other ways as well, you can use the link tag to include scripts that ie executes despite scripts being dissabled, for instance.
    liorean <[lio@wg]>
    Articles: RegEx evolt wsabstract , Named Arguments
    Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
    Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards

  • #3
    Regular Coder
    Join Date
    Mar 2003
    Posts
    241
    Thanks
    0
    Thanked 0 Times in 0 Posts
    you can use the link tag to include scripts that ie executes despite scripts being dissabled, for instance.
    Could you give an example of this, if it's still true.

    I've googled but came up with nothing!

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    No offense mate, but this is not something I want to propagate. I'm sure your interest is innocent, but all the same.
    "Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •