Reply
Old August 2nd, 2010 Top | #1
 
ray_gillespie's Avatar
OSNN Veteran Addict
Joined: March 2002
Location: Birmingham, UK
Posts: 1,692
Reputation: 1420
Power: 155

Default Wordpress Child Theme - JS Help

Hi guys!

It's been a while! I hope you're all well. How's things been around here? Any interesting news?

Anyway, I've got a problem on one of my sites that uses Wordpress. I recently changed to using a parent->child theme setup rather than editing the original theme directly. This allows me to update the original theme to the latest releases without undoing all my customisations. However, I've got a small problem with the javascript that prevents my drop-down windows from loading.

The site is here: www.playstationfuture.com

As you can see, there's a couple of errors in the code that look like this:

Code:
Object expected
jscript.js
Code: 0
URI: http://www.playstationfuture.com/wp-.../js/jscript.js
Line: 1
Character: 1
'menu.dd' is null or not an object
www.playstationfuture.com/
Code: 0
URI: PlayStation News, Information and Articles at PlayStation Future
Line: 471
Char: 2
I've attached the jscript.js file in question to this message. The line in question from the CSS starts like this:

Code:
.menu .current_page_item a:hover,
 .menu .current-cat a:hover,
  .menu .current-menu-item a:hover
{ color:#83bac4; border-bottom:2px solid #83bac4; text-decoration:none; }
Thanks in advance for your help.
Attached Files
File Type: rar jscript.rar (1.1 KB, 5 views)

ray_gillespie is offline   Reply With Quote
Old August 2nd, 2010 Top | #2
 
Johnny's Avatar
Paul Reed Smith
Joined: January 2004
Location: Happy Valley
Posts: 4,869
Reputation: 2369
Power: 173

Default Re: Wordpress Child Theme - JS Help

I don't know a thing about javascript, so I can't help. I hope someone on here can ..

Paul Reed Smith.
Johnny is offline   Reply With Quote
Old August 2nd, 2010 Top | #3
 
ray_gillespie's Avatar
OSNN Veteran Addict
Joined: March 2002
Location: Birmingham, UK
Posts: 1,692
Reputation: 1420
Power: 155

Default Re: Wordpress Child Theme - JS Help

Ok, thanks anyway. Fingers crossed...

ray_gillespie is offline   Reply With Quote
Old August 3rd, 2010 Top | #4
Xie

OSNN Subscriber
OSNN Folding Team  
Xie's Avatar
- geek -
Joined: September 2003
Location: NY, USA
Posts: 5,224
Reputation: 1730
Power: 175

Default Re: Wordpress Child Theme - JS Help

Looks good w/out the drop downs. I'd personally rather click on the buttons on the top then try and mess with the drop downs.

tehgeek | tehgeek | geeking out to tech | IRC | *Parted Magic* | A+ Certified Professional

Xie is offline   Reply With Quote
Old August 3rd, 2010 Top | #5
 
ray_gillespie's Avatar
OSNN Veteran Addict
Joined: March 2002
Location: Birmingham, UK
Posts: 1,692
Reputation: 1420
Power: 155

Default Re: Wordpress Child Theme - JS Help

Ah I see where you're coming from but they actually looked really cool when I had them working previously - it'd be a shame if I can't work out how to get them back!

ray_gillespie is offline   Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Awesome paid wordpress theme LordOfLA Web Design & Coding 7 December 19th, 2007 5:01pm
Wordpress info mav88 Windows Desktop Systems 2 November 21st, 2007 12:05pm
Wordpress Help Tuffgong4 Web Design & Coding 7 June 26th, 2007 10:16pm
[Wordpress] Plugins Request kcnychief Web Design & Coding 2 December 27th, 2006 4:59pm