Okay, no such thing, apparently, in the DOM....
How am I supposed to tell JavaScript "turn the whole page opaque"?
Is there a "JavaScript/CSS dictionary" and a "JavaScript/CSS grammar"
about??
I've looked at several books but so far they're not exactly
"rulebooks, " which is what I'd need...I need a rulebook that helps me
parse English into JavaScript/CSS....
A great part of my problem lies in not knowing what's even possible
("scope and depth"), and I hope the book "DOM Scripting" that's on its
way to me will soon shed light on DOM "grammar" and "vocabulary ," but
it's not a rulebook as such, either.
Any rule or lawbooks on DOM/JavaScript/CSS??
And, for now, just how am I supposed to tell JavaScript/CSS to make
the *whole* page opaque? I can see how getElementById can work for
images and such -- but how about the whole page??
And then, on top of that, I need to be able to write "on top" of
what's been veiled by the opacity...and then return to the normal
webpage again....
Basically, I'm trying to accomplish what a simple JavaScript
alert("info info info") would do, only with my own visual effect and
style.
Is such a thing even possible??? (Again, I just don't know "scope"
and "depth" of JavaScript-CSS-DOM nexus....)
Here's what I'm looking to do:
1) Make whole page opaque onClick
2) Write on top of the page (not as an "addition" at bottom, but on
top, similar to a dialog pop-up box)
3) Return to normal page status onClick
During Stage 2, the page is not accessible to the visitor, in the
manner of a simple alert() pop-up.
Any way, hope that makes sense (and again, this is a *technical*
question, concerning what's possible, not an "aesthetic" one about
what's advisable in terms of design and usability, etc. -- thanks!)....
Comment