ossy — 2011-10-19T10:10:33-04:00 — #1
I've created a horizontal scrolling site using the following:
var target = $(this).attr("href");
which is working fine, however, some of the external links on my page are now not working.
What have I done wrong? Please help!!!!!
sdleihssirhc — 2011-10-19T13:12:01-04:00 — #2
Do you have any external links in your #nav element? Because you do "event.preventDefault()" on every single "#nav a," and if you have external links in there, it wouldn't follow them.
If that's not it, we might need a link to the actual site.
ossy — 2011-10-19T14:13:18-04:00 — #3
Yes, I do have the external link in one of my #nav elements and your explanation makes perfect sense.
THANK YOU SO MUCH!!!!!