Developing a Dynamic Website 2014 - Part 45 - Dynamically Setting an Active CSS Class to HTML Links

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Hi Alan,

What a nightmare, Thanks for the link after 3 hours of checking syntax see it and fixed in 3 minutes.

Wicked channel will like etc. when I reach the end.

Cheers,
Paul

TheHashmi
Автор

You can also do this using jQuery when parameters are being passed to the URL.
{
    return this.href == location.href;
}).addClass('active');

OffFoCu
Автор

Will you not add a function to remove pages?

zdaleeuwarden
Автор

i get invalid sql syntax error when adding new pages but not updating. and it says that my update query was incorrect when i am adding pages...

ViprNZL
join shbcf.ru