Jump to content

Add
in pop-up translation panel

Edited by author.
Last edit: 21:43, 18 October 2010

It could have a a standard size of e.g. 3em, and of 99% of the screen width while it has the focus.

Purodha Blissenbach15:16, 18 October 2010

Good idea :)

Waldir (talk)18:11, 18 October 2010

That seems to be doable with JavaScript. Can someone make a prototype I could integrate in the extension?

Nike12:59, 28 October 2010
Edited by another user.
Last edit: 10:14, 26 January 2011

It can be done with CSS, here is a sample that works with my system/browsers:

<head>
	<style type="text/css">
		.dynwidth {
			width:3em;
		}
		.dynwidth:focus, .dynwidth:hover {
			width:99%;
		}
	</style>
</head>
<body>
	<form>
		|<input class="dynwidth" />|
	</form>
</body>
Purodha Blissenbach12:42, 24 January 2011

Done and live.

Nike09:08, 4 April 2011