Problem description:
I have a character setup window with a custom theme and some events trigger a change to the html/css.
My issue is that anchor hrefs cause the whole window to refresh, losing changed html/css. For example, if a user loads profile 1, the button changes colour and is highlighted. But then if the user edits their character name (which uses a href Topic) the highlighted element gets reset (along with the rest of the window).
Is there any way to stop an anchor href from refreshing a browser window?
If not, is there a workaround?
Mar 16 2019, 4:26 pm
Best response
|
|
You'll want to use javascript to make changes to document.location as needed.
|