RSS Feed/News How to make usernames dynamic in a static HTML page?

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
23,654
Points
823

Reputation:

I've created an HTML page, and I'd like to mention the names of some users on that page, but I want the usernames to become dynamic, similar to when using the @ symbol in forum posts to mention them with a link to their profile and a popup window that appears on mouse hover.

Currently, I'm using this manual approach:

HTML:

<a href="/members/username.123/" class="username" dir="auto" data-user-id="123" data-xf-init="member-tooltip"><span class="username">username</span></a>

I'm...

Read more

Continue reading...
 
Status
Not open for further replies.
Top