Title: Javascripts in WordPress&#8230;Please help!
Last modified: August 18, 2016

---

# Javascripts in WordPress…Please help!

 *  [mechietechie](https://wordpress.org/support/users/mechietechie/)
 * (@mechietechie)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/javascripts-in-wordpressplease-help/)
 * Hi!
    I found a javascript for a menu structure that looks perfect for my site.
   I wanted to implement this [http://simplythebest.net/scripts/DHTML_scripts/dhtml_script_83.html](http://simplythebest.net/scripts/DHTML_scripts/dhtml_script_83.html)
 * Ive tried numerous things, but i cant manage to get it to work. I can get it 
   to work fine on my html pages, but when editing the php “Theme Editor” in wordpress,
   i cant get it to work.
    Any thoughts? Thanks!

Viewing 5 replies - 16 through 20 (of 20 total)

[←](https://wordpress.org/support/topic/javascripts-in-wordpressplease-help/?output_format=md)
[1](https://wordpress.org/support/topic/javascripts-in-wordpressplease-help/?output_format=md)
2

 *  Thread Starter [mechietechie](https://wordpress.org/support/users/mechietechie/)
 * (@mechietechie)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/javascripts-in-wordpressplease-help/page/2/#post-382636)
 * hey, thanks pizdin_dim!
    I still havent gotten it to work right, but i have gotten
   a few dots to show up now. but there are still some more bugs!
 *  Thread Starter [mechietechie](https://wordpress.org/support/users/mechietechie/)
 * (@mechietechie)
 * [20 years ago](https://wordpress.org/support/topic/javascripts-in-wordpressplease-help/page/2/#post-382708)
 * Ok, more help is needed
 * The site is now at [http://www.mechietechie.com](http://www.mechietechie.com).
   
   The validator gives a whole bunch of errors in the javascript. Any ideas?
 * [http://validator.w3.org/check?uri=http%3A%2F%2Fmechietechie.com%2F&charset=%28detect+automatically%29&doctype=Inline](http://validator.w3.org/check?uri=http%3A%2F%2Fmechietechie.com%2F&charset=%28detect+automatically%29&doctype=Inline)
 * thanks
 *  [Pizdin Dim](https://wordpress.org/support/users/pizdin_dim/)
 * (@pizdin_dim)
 * [20 years ago](https://wordpress.org/support/topic/javascripts-in-wordpressplease-help/page/2/#post-382710)
 * Remove all the javascript code first and then validate. Then fix whatever the
   output errors you get. Then put the javascript code back in (in the right place).
   That way you’ll know if your page validates. If you’re still having javascript
   errors after that, have you considered contacting the author?
 *  [red-star](https://wordpress.org/support/users/red-star/)
 * (@red-star)
 * [20 years ago](https://wordpress.org/support/topic/javascripts-in-wordpressplease-help/page/2/#post-382711)
 * You could take a look at Moo.fx and prototyp to do things like that in WP.
    I
   use some javascriptfiles in my theme and they work fine. But dont put them in
   your plugin section. Make a folder in your WP root and name it js. Put there 
   the js files, and make the needed lines in your head section.
 *  Thread Starter [mechietechie](https://wordpress.org/support/users/mechietechie/)
 * (@mechietechie)
 * [20 years ago](https://wordpress.org/support/topic/javascripts-in-wordpressplease-help/page/2/#post-382712)
 * i found that the problem was the “xhtml” definition at the header. the script
   is designed for html 4.0. any chance any one here knows what id hafta do to get
   it working in xhtml?

Viewing 5 replies - 16 through 20 (of 20 total)

[←](https://wordpress.org/support/topic/javascripts-in-wordpressplease-help/?output_format=md)
[1](https://wordpress.org/support/topic/javascripts-in-wordpressplease-help/?output_format=md)
2

The topic ‘Javascripts in WordPress…Please help!’ is closed to new replies.

## Tags

 * [java](https://wordpress.org/support/topic-tag/java/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 20 replies
 * 6 participants
 * Last reply from: [mechietechie](https://wordpress.org/support/users/mechietechie/)
 * Last activity: [20 years ago](https://wordpress.org/support/topic/javascripts-in-wordpressplease-help/page/2/#post-382712)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
