Jump to content

Panel Problems


Jayteez

Recommended Posts

I am using the W3 schools code to make a panel that slides open at the bottom of my webpage for a uni assignment due tonight and I keep getting error messages in the Javascript saying "ERROR document is not defined "window is not defined " "$ is not defined". can any one help with this?

panel.png

Screenshot errors.png

Link to comment
Share on other sites

If window and document are not defined, either you're not running this code in a browser or you've overwritten the window and document objects. "$" not defined would usually be caused by not including jQuery, or by having loaded jQuery further down the document than your code.

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
×
×
  • Create New...