Jump to content

Panel Problems

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?


Screenshot errors.png

Share this post

Link to post
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.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...