Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Need help with a simple PHP code , please help.

Featured Replies

I want to update a class on a seperate navigation system.

can you help me?

the code is :

<ul class="mainmenu">
<li class="level1 item2 parent active" style="background: url('images/menu_item1_bg.png') no-repeat;"><a class="slider" href="index.html">Home</a></li>
<li class="level1 item4 parent" style="background: url('images/menu_item2_bg.png') no-repeat;"><a class="slider" href="/soft.html">Softwares</a></li>
<li class="level1 item6 parent" style="background: url('images/menu_item3_bg.png') no-repeat;"><a class="slider" href="/stats/downloads.php">CS Tools</a></li>
<li class="level1 item7 parent" style="background: url('images/menu_item4_bg.png') no-repeat;"><a class="slider" href="/forum/index.php">Forum</a></li>
<li class="level1 item8 parent" style="background: url('images/menu_item5_bg.png') no-repeat;"><a class="slider" href="">Contact Us</a></li>
</ul>

Now as you can see there is a class called active on home's tab.

I want this class to be added on soft's tab when clicked , and to be removed from home's tab.

can you help me?

remember just updating of "active" is needed , everything remains same.

First of all, this isn't PHP, it's HTML.

Second, "active" should be defined in a CSS and probably just defines the appearance of the active menu item.

For more help we need to know what generates this HTML, what script it is and so on.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.