caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* developing apps with ocaml exercices web pages
@ 2005-01-29 11:25 Radu Grigore
  2005-01-29 22:35 ` [Caml-list] " Robert Roessler
  2005-01-31  8:26 ` Stefano Zacchiroli
  0 siblings, 2 replies; 4+ messages in thread
From: Radu Grigore @ 2005-01-29 11:25 UTC (permalink / raw)
  To: caml-list

The web pages with exercises in "Developing applications with OCaml"
are unreadable with mozilla/firefox (i guess that the "layer"
attribute "visibility" is ignored). Maybe there is a quick fix? I'd
rather have the solutions always visible (i.e. remove all related
javascript).

-- 
regards,
 radu
http://rgrig.idilis.ro/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Caml-list] developing apps with ocaml exercices web pages
  2005-01-29 11:25 developing apps with ocaml exercices web pages Radu Grigore
@ 2005-01-29 22:35 ` Robert Roessler
  2005-01-29 23:34   ` Matt Gushee
  2005-01-31  8:26 ` Stefano Zacchiroli
  1 sibling, 1 reply; 4+ messages in thread
From: Robert Roessler @ 2005-01-29 22:35 UTC (permalink / raw)
  To: Radu Grigore; +Cc: caml-list

Radu Grigore wrote:

> The web pages with exercises in "Developing applications with OCaml"
> are unreadable with mozilla/firefox (i guess that the "layer"
> attribute "visibility" is ignored). Maybe there is a quick fix? I'd
> rather have the solutions always visible (i.e. remove all related
> javascript).

Actually, according to the W3C markup and CSS validators, the Exercise 
pages (and stylesheets) are... compliance-challenged. :)

And it isn't all about the "layer" element, although the problems 
using caused by using this Netscape-only NON-standard element do 
figure prominently into the list of [W3C] sins.

Quick-fix-wise, forcing the rendering into "quirks" mode didn't really 
help... unfortunately, this is yet one more example of pages for which 
one keeps IE around - IE6 handles the pages fine, although I don't 
know if that is an option for you or not...

Regards,
-- 
Robert Roessler
roessler@rftp.com
http://www.rftp.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Caml-list] developing apps with ocaml exercices web pages
  2005-01-29 22:35 ` [Caml-list] " Robert Roessler
@ 2005-01-29 23:34   ` Matt Gushee
  0 siblings, 0 replies; 4+ messages in thread
From: Matt Gushee @ 2005-01-29 23:34 UTC (permalink / raw)
  To: caml-list

Robert Roessler wrote:

>> The web pages with exercises in "Developing applications with OCaml"
>> are unreadable with mozilla/firefox (i guess that the "layer"
>> attribute "visibility" is ignored). Maybe there is a quick fix? I'd
>> rather have the solutions always visible (i.e. remove all related
>> javascript).
> 
> Actually, according to the W3C markup and CSS validators, the Exercise 
> pages (and stylesheets) are... compliance-challenged. :)
> 
> And it isn't all about the "layer" element,

I don't doubt you're right. Nonetheless, I did get the pages to display 
fine in Gecko-based browsers by simply removing all the <layer> tags.

--
Matt Gushee
Englewood, CO, USA


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Caml-list] developing apps with ocaml exercices web pages
  2005-01-29 11:25 developing apps with ocaml exercices web pages Radu Grigore
  2005-01-29 22:35 ` [Caml-list] " Robert Roessler
@ 2005-01-31  8:26 ` Stefano Zacchiroli
  1 sibling, 0 replies; 4+ messages in thread
From: Stefano Zacchiroli @ 2005-01-31  8:26 UTC (permalink / raw)
  To: Inria Ocaml Mailing List

On Sat, Jan 29, 2005 at 01:25:17PM +0200, Radu Grigore wrote:
> The web pages with exercises in "Developing applications with OCaml"
> are unreadable with mozilla/firefox (i guess that the "layer"
> attribute "visibility" is ignored). Maybe there is a quick fix? I'd
> rather have the solutions always visible (i.e. remove all related
> javascript).

I while ago I patched the debian package of the o'reilly book to avoid
exercises texts and solution be layered one on top of the other (which
made both exercises and solutions unreadeable).

This is the relevant part of the package changelog:

  ocaml-book (1.0-3) unstable; urgency=low
  ...
  * {fr,en}/html/videoc.js
    - hacked JavaScript's {open,close}PopUp so that they output <div>
      and </div> tags around exercises' solutions. This avoid pop up
      mass on mozilla-like browsers. Solutions aren't popped up on
      request but at least they are available and exercises aren't
      hidden behind them (Closes: Bug#180799, Bug#185266)
  ...

You may have a look at the debian package and see if it fixes your
problem.

Cheers.

-- 
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-01-31  8:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-29 11:25 developing apps with ocaml exercices web pages Radu Grigore
2005-01-29 22:35 ` [Caml-list] " Robert Roessler
2005-01-29 23:34   ` Matt Gushee
2005-01-31  8:26 ` Stefano Zacchiroli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).