Concrete5 links not working
- Started
- Last post
- 3 Responses
- Continuity
Hey fellas,
I'm running into an infuriating problem with C5, and it seems there's no one on their message boards right now.
Anyway, here's the mark-up:
http://jsfiddle.net/P7NJ9/The problem is the Page List block (lines 80 to 91). The link, when clicked, simply won't work. The mouse pointer changes, the hover effects trigger, and the link itself is good. But clicking it produces exactly nothing. Right-clicking and clicking any of the 'Open Link in ...' options works though.
Any ideas on what's going wrong?
- BabySnakes0
line 144:
links.click(function (e) {
e.preventDefault();
dataslide = $(this).attr('data-slide');
goToByScroll(dataslide);
});e.preventDefualt(); is blocking the link from working...why do you have that?
- nvm i see that is not affecting it...or at least shouldn't beBabySnakes
- Continuity0
Actually, it is affecting it, I've discovered. That's the function to make the main nav do to scrolly bit. When I delete it, my PageList link works, but the scroll-to in the main nav doesn't.
I'm at a loss.
- BabySnakes0
Instead of setting links as:
var links = $('.nav').find('li');Do something like:
var links = $('.uniqueNavClass');
and add that class specific links.