Tabs, JQuery, href tag

Viewed 180

I'm new to building website, so I'm sorry if this is a stupid question. I'm trying to build a page whereby i have two links which refer to the same page (Login and Signup):

<li><a href="login.php">Login</a></li>
<li><a href="login.php" class="button special">Sign Up</a></li>

The login.php page has a tabbed form (similar to this https://www.hackerrank.com/signup) and I would like a particular tab to be the current one, depending on the link clicked (signup or login).

Is this possible? How?

Thanks!

1 Answers
Related