Well I have the MacgicLine (http://css-tricks.com/jquery-magicline-navigation/) setup on a site and it works great. Currently I'm using the default permalinks and recently wanted to change it to a custom. The new permalinks would be '/%postname' and for some reason when I change it to that MagicLine only works on the main front page. Any other pages the MagicLine has disappeared. I've tried looking at the .js file and nothing is making any sense to me.
Any ideas why it would break after changing the permalinks?
For some reason I've looked over the code a 100 times and can't figure out what is wrong. However Firebug is show this error but I'm not sure what it means.
$mainNav is null $mainNav.append(\"<li id='magic-line'></li>\"); example.js(line 6)
Here is the site, its not a 100% finished but the Magic Line should be under the menu bar in the top left. Still need to style a few things but here it is.
You said that the MagicLine was working on your home page, however it doesn't seem to be (I checked in Firefox and Chrome).
I'm not exactly sure what the problem is, but there are a few things that it could be: - I would say the first problem is that you are loading 2 separate version of jQuery - You are loading up 3 different javascript libraries (jQuery, Prototype and Scriptalicious) - Your html isn't validating (Visit http://validator.w3.org/)
These might be the causes, and they might not. But it's a good idea to fix this up and then check if there is still a problem.
has anyone figured out how to get this working in wordpress? Seems pretty straightforward. Im having trouble converting the $ to jQuery in a way wordpress likes. Ive tried every example out there. nada. any tips?
Any ideas why it would break after changing the permalinks?
Thanks,
Jake
Any ideas why the magic line isnt showing?
http://www.ccimotorsport.com/
Also I would like any feedback about things to add/change... any design help would be great.
Thanks,
Jake
I'm not exactly sure what the problem is, but there are a few things that it could be:
- I would say the first problem is that you are loading 2 separate version of jQuery
- You are loading up 3 different javascript libraries (jQuery, Prototype and Scriptalicious)
- Your html isn't validating (Visit http://validator.w3.org/)
These might be the causes, and they might not. But it's a good idea to fix this up and then check if there is still a problem.
has anyone figured out how to get this working in wordpress? Seems pretty straightforward. Im having trouble converting the $ to jQuery in a way wordpress likes. Ive tried every example out there. nada. any tips?