On Tue, 2015-06-09 at 13:13 +0200, Larsen wrote:
On Tue, 09 Jun 2015 13:02:15 +0200, Michael Tremer michael.tremer@ipfire.org wrote:
I do know that some have JS deactivated and don´t like it, but in this case there is nothing lost.
If someone disables JS they will already have issues with other parts of the web user interface and of course most of the "web 2.0".
Is there anything else wrong with using JS?
Not in general. I just find it a rather complex solution for a simple problem. The plain HTML approach would be much better and work for those who disable JS, too.
But then you loose CSS, don´t you?
What do you mean by loose? That should be changed then, yes.
The final HTML code would look something like this:
<div id="logo"> <a href="http://www.ipfire.org"> <img src="logo.png" ...> </a> </div>
The CSS properties should be changed that the background image is removed and the content is centered. The final result should like the same in the end.
And if someone has actually disabled JS, they will notice other problems as you mentioned before, so it´s unlikely they will even noticed that they cannot click on the IPFire logo to get to the homepage.
Lars