Page 1 of 1

More a tweak than a mod

PostPosted: Thu Mar 08, 2012 9:29 pm
by siGh
Elsewhere on this forum, I saw a weather gadget mod. For me personally, I had no need of such a thing, even if it is a jolly nifty device :)
I adapted it's code? and added a clock instead (see 'colour changes' in this section) Ok, It's not state of the art but, I do like to personalize stuff, even if it makes no sense to others :roll: I'm sure you experts out there, will be thinking 'what is this n00b waffling on about' it's only a clock! Yes, it IS only a clock :lol:

For anyone who might like a clock too, here's is what I added to 'top.jsp'


Code: Select all
<td>
<table><tr align="middle"><td style="min-width:4em;padding-right:2.5em"><embed src="http://www.adamdorman.com/flash/flip_clock_black_24_w-secs.swf" width="100" height="32" type="application/x-shockwave-flash"  wmode="opaque" quality="high"></embed></td>
<td style="min-width:4em;padding-right:1.5em">




Immediately before:

Code: Select all
<a href="home.view?" target="main"><img src="<spring:theme code="homeImage"/>" title="${home}" alt="${home}"></a><br>
<a href="home.view?" target="main">${home}</a>
</td>


There are a number of clocks available, if you're not into retro 'flip' clocks. You will almost definitely have to resize your clock, in order for it to fit in correctly. Stop SS, stick the swf file into the flash folder in your SS directory, add the code, restart SS, and you're done.

MOD: Fixed the paste error and deleted the second post...

Re: More a tweak than a mod

PostPosted: Tue Apr 17, 2012 9:00 pm
by dazbobaby
Nice little addition, thanks siGh
Image1.jpg