Jump to content

Grey background in 'onshow Event'


liemstra
 Share

Recommended Posts

Hi,

In https://www.w3schools.com/jsref/event_onshow.asp  an example is shown of the <onshow Event>. When the  yellow rectangle is right-clicked (as instructed), an alert popup is displayed while the main page (now functioning as bkgnd) is covered with a grey colored sheet (image?).

Where can I find the code section which is doing this (the grey-covering)? Purpose is to change the color/opacity of it.

Thanks!

Liemstra.

Link to comment
Share on other sites

Right! Happens that I just stumbled into a tut showing what you've pointed out: a div with an inline lightbox styling which gives me full control of it (plus some jQ control codes for the lightbox).

Initial question was due to the W3Schools tut (çause I'm an 'early-learner', looking, searching everywhere ... ;-)).

Thnx dsonesuk!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...