Ikariam Resource Links

By PhasmaExMachina Last update Sep 9, 2009 — Installed 8,884 times. Daily Installs: 28, 66, 88, 120, 104, 80, 60, 119, 80, 85, 102, 129, 149, 108, 109, 130, 189, 175, 177, 298, 192, 117, 93, 164, 391, 141, 122, 117, 134, 103, 140

small problem

Subscribe to small problem 5 posts, 3 voices

BigBen2k Scriptwright
FirefoxWindows

This works fine, except that the workers/population numbers gets split into 2 lines for me, when I hover over it (only).

 
PhasmaExMachina Script's Author
FirefoxWindows

I'll remove the bold effect so it doesn't drop down.

Edit: Done. Thanks for the feedback.

 
BigBen2k Scriptwright
FirefoxWindows

Bold is removed, but the line still splits into two.

 
PhasmaExMachina Script's Author
FirefoxWindows

Strange ... I'll add options to modify the mouseover effects to the Ikariam Options page at some point. Bear with me.

 
E5T User
FirefoxWindows

To avoid this "two lines" problem add "display: block; width: 80px;" to styles:

tg.addEventListener('mouseover', function() {
this.setAttribute('style', 'cursor:pointer;');
$("#cityResources ." + resource + ' #value_' + translated).attr('style', 'display: block; width: 80px; text-shadow:none; text-shadow:#666 2px 2px 2px; color:#000;');
}, true);
tg.addEventListener('mouseout', function() {
$("#cityResources ." + resource + ' #value_' + translated).attr('style', 'display: block; width: 80px; text-shadow:none; text-shadow:none; color:inherit');
}, true);

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel