The :active option in CSS is actually for an active link on the "calling" page, not the destination.. stupid, but true...
Heres a quick way to determine and change the class of current page.... it only works if the current url matches the menus url...
<script>
linkcount=document.links.length;
for (i=0;i<linkcount;i++) {
if (document.links[i].href == document.URL)
document.links[i].className = 'menu-active';
}
</script>
and in your CSS you would need to have something like
A.menu-active, A.menu-active:visited { color: black; }
More From This Section
FAQ Topics
Building your site
Advanced Page Types
E-Commerce
- Shopping Basics
- Category Management
- Products
- Product Options
- Layout and Formatting
- Payment Options
- Processing Orders
- Advanced Ecommerce
- Product Pricing, Currencies
- Plugins
- Wholesale
- Bookings Management System
- Freight - Couriers
- Stock & Quantities
- Vouchers, Discounts, Loyalty Points
- Selling Photos / Prints
- Shopping Cart Add-on Page types
- Advanced APIs / Add ons
- Point of Sale (POS)
- Reports
- Orders / Invoices
Email & Membership
Promoting your site
Advanced
- Power User Options
- Form Spam Filtering
- Wordpress
- PHP Setup
- [TAGS]
- jQuery snippets
- Search External Links / Import external content
- HTML / CSS Snippets
- Embedding Web Fonts
- Loading additional Material Symbols styles
- FAQ Help Map
- Uploading local font files
- Advanced Template Customisation, CSS, etc
- Languages and Translations
