[Bug 282588] Re: window.parent.frames[1].trainNews.disabled=true FAILS in Javascript WHERE trainNews is linked CSS file DISABLED flagged in Moz doc as MS origin WORKS in IE NOT MOZILLA Documentation in latter does not suggest this

mikb mikb01 at blueyonder.co.uk
Mon Oct 13 19:24:11 UTC 2008


disabled (originally presumed to be non-functional as Microsoft
definition) is functional in Mozilla

Apparently window.parent.frames[n] addressing is the problem
syntactically in Mozilla.

disabled used directly functions correctly.  Not when addressed using
standard syntax from another frame.  WHY?

** Description changed:

  Binary package hint: firefox-3.0
  
  CODE:
  
    window.parent.frames[1].trainNews.disabled=true
  
- Above code in linked Javascript source file (IN frames[1] head)
+ Above code in linked Javascript source file (IN frames[1] document head)
  
  Addressing (trainNews) linked CSS file (IN frames[1] head) to allow
  toggling to different CSS file, also in header (already disabled =true
  ... next line switches latter to false)
  
  Mozilla documentation mentions "disabled" was Microsoft initially but
  also shows it is now part of HTML 4.0
  
- Why does Mozilla fail to implement this?
+ Why does Mozilla apparently fail to implement this?
  
  I've been returning to this for days and its definitely Mozilla.  My xp
  box with IE has no problems with the code.
  
- Please advise as I aim for functionality across platforms
+ It seems after trial and error that Mozilla is just not responding to
+ the correct location syntax i.e.
+ 
+ window.parent.frames[0].  windows.parent.frames[1]. etc.  When an
+ arbitrary button is inserted in one of the frames[1] documents the CSS
+ link disabled values are applied correctly without frame[n] being used.
+ 
+ Pretty odd as IE functions with addressing from window.parent.frames[0]
+ using window.parent.frames[1] syntax perfectly correctly.  What syntax
+ is correct in Mozilla or do the multiple documents loaded into frames[1]
+ need a specific header?
+ 
+ Please advise as I am aiming for functionality across platforms.
  
  
  Regards,
  
  Michael
  
  ProblemType: Bug
  Architecture: i386
  Date: Mon Oct 13 09:56:47 2008
  DistroRelease: Ubuntu 8.04
  NonfreeKernelModules: nvidia
  Package: firefox-3.0 3.0.3+build1+nobinonly-0ubuntu0.8.04.1
  PackageArchitecture: i386
  ProcEnviron:
   PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: firefox-3.0
  Uname: Linux 2.6.24-19-generic i686

** Changed in: firefox-3.0 (Ubuntu)
       Status: New => Invalid

** bug changed to question:
   https://answers.launchpad.net/ubuntu/+source/firefox-3.0/+question/47905

-- 
window.parent.frames[1].trainNews.disabled=true FAILS in Javascript WHERE trainNews is linked CSS file  DISABLED flagged in Moz doc as MS origin WORKS in IE NOT MOZILLA Documentation in latter does not suggest this
https://bugs.launchpad.net/bugs/282588
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox-3.0 in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list