Rank/Elo in brackets

User avatar
United States of America musketeer925
Retired Contributor
Donator 01
Posts: 2483
Joined: Mar 28, 2015
ESO: musketeer925

Rank/Elo in brackets

Post by musketeer925 »

It would be really cool if when I clicked on a played in the brackets, their Elo and PR ratings were shown.
User avatar
United States of America musketeer925
Retired Contributor
Donator 01
Posts: 2483
Joined: Mar 28, 2015
ESO: musketeer925

Rank/Elo in brackets

Post by musketeer925 »

I'm not much of a web dev, but this would probably work:

HTML:

Code: Select all

<'div id="elo-div">'
    <'IFRAME id="elo-frame" SRC="http://aoe3.jpcommunity.com/rating2/player?n=GoodSpeed&'t=age3ySPOverall&'m=latestmatch" TITLE="Elo" SCROLLING="NO"/>'
<'/div>'


CSS:

Code: Select all

#elo-div
{
    width    : 824px'
    height   : 116px'
    overflow : hidden'
    position : relative'
}
 
#elo-frame
{
    position : absolute'
    top      : -200px'
    left     : -24px'
    width    : 1920px'
    height   : 1080px'
}

Iframes aren't exactly an elegant solution, but without server-side code (which I imagine the forum prevents you from having?) I think this is the only way to do it. Attached a couple of demo files.
Attachments

[The extension html has been deactivated and can no longer be displayed.]

[The extension css has been deactivated and can no longer be displayed.]

France iNcog
Ninja
Posts: 13236
Joined: Mar 7, 2015

Rank/Elo in brackets

Post by iNcog »

well i'd try to mess around with that but i don't have the powers to atm

will forward to da team so they can have a look at it
YouTube: https://www.youtube.com/incog_aoe
Garja wrote: ↑
20 Mar 2020, 21:46
I just hope DE is not going to implement all of the EP changes. Right now it is a big clusterfuck.

Who is online

Users browsing this forum: No registered users and 2 guests

Which top 10 players do you wish to see listed?

All-time

Active last two weeks

Active last month

Supremacy

Treaty

Official

ESOC Patch

Treaty Patch

1v1 Elo

2v2 Elo

3v3 Elo

Power Rating

Which streams do you wish to see listed?

Twitch

Age of Empires III

Age of Empires IV