Jump to content

Anyone do easy web programming?


Recommended Posts

I'm messing with integrating a wordpress blog into my site, by taking a basic theme and modifying the header and footer php files with the code from my html home page.

This works except i can't seem to get my javascript menu to work on it...is there anything special i have to do w/ javascript in a php page?

http://www.headamp.com/blog/

test blog

http://www.headamp.com/

regular site

Link to comment
Share on other sites

the javascript script files are being imported slightly differently on each page. this shouldn't make a difference, since both ways should work, but they are different nonetheless.

i didn't go through the javascript code, just looked it over, but needless to say, it isn't encapsulated very well, so there may be a namespace/variable clash somewhere with the new site... i.e. some functionality on your page(s) outside of the menu is using the same variable/function name that the menu is using and/or is it refering to DOM elements whose names have changed in the new section.

but, it works for me in ff 2.0.0.9 and i do not get any errors in my javascript console...

mjb

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

Guest
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...

Important Information

By using this site, you agree to our Terms of Use.