The House of Carpe
https://forums.houseofcarpe.com/

Website Special Effects
https://forums.houseofcarpe.com/viewtopic.php?f=84&t=1794
Page 1 of 1

Author:  dad [ Sat Nov 14, 2009 11:43 am ]
Post subject:  Website Special Effects

added another mod to the forums.

Loeg asked for snow. its all set. but not snowing yet.

Its a very very easy mod. I uploaded the javascript file and the snow images.
All that is left is to do this:
Quote:
Open: styles/prosilver/template/overall_header.html
Find
Tip: This may be a partial find and not the whole line.

Code:Select All
</head>
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.

Code:Select All
<script type="text/javascript" src="snowstorm.js"></script>


then reset the cache. easy ;-)

Just let me know when you want it to snow and when it should stop ...

Author:  Moog [ Sat Nov 14, 2009 1:39 pm ]
Post subject:  Re: Captain's Log

It's currently snowing here, this mod is AMAZING.

Author:  dad [ Sat Nov 14, 2009 5:25 pm ]
Post subject:  Re: Captain's Log

DOH - I must have messed up and installed the Moog's world mod instead of the HOC-Forum mod...


LOL

Author:  dad [ Sat Nov 28, 2009 12:53 pm ]
Post subject:  Re: Captain's Log

dad wrote:
added another mod to the forums.

Loeg asked for snow. its all set. but not snowing yet.

Its a very very easy mod. I uploaded the javascript file and the snow images.
All that is left is to do this:
Quote:
Open: styles/prosilver/template/overall_header.html
Find
Tip: This may be a partial find and not the whole line.

Code:Select All
</head>
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.

Code:Select All
<script type="text/javascript" src="snowstorm.js"></script>


then reset the cache. easy ;-)

Just let me know when you want it to snow and when it should stop ...



Added the snow.

Author:  TrueTrojan [ Sat Nov 28, 2009 1:21 pm ]
Post subject:  Re: Captain's Log

The damned script is bogging FF. Affecting my key handler speed most... I'm typing too fast for it. Yuck.

Might I suggest
var flakesMax = 48; (was 128)
var flakesMaxActive = 24; (was 64)
instead?

Maybe higher... dunno. Just know it's not very efficient right now... likely bogging slower computers even more?

Author:  Carpe Diem [ Sat Nov 28, 2009 1:28 pm ]
Post subject:  Re: Captain's Log

Continually pulling up my horizontal movement bar at bottom of FF window.

Author:  dad [ Sat Nov 28, 2009 3:29 pm ]
Post subject:  Re: Captain's Log

Get Google's chrome!! ;-)

I set it way lower for a snow drizzle effect rather than a snow storm.

Any better for you?

Author:  TrueTrojan [ Sat Nov 28, 2009 3:53 pm ]
Post subject:  Re: Captain's Log

A little better, but gets slower as more appear. It's not the most efficient thing, but it's cute.

Author:  Carpe Diem [ Sat Nov 28, 2009 4:23 pm ]
Post subject:  Re: Captain's Log

ok, now the horizontal slider bar is coming up slower.

Author:  dad [ Sat Nov 28, 2009 5:12 pm ]
Post subject:  Re: Captain's Log

set it to a trickle '2' and '1'.

not sure its worth it.

looking for suggestions - like remove it (?)

might be more functional to set the background images to a snowflake...

Author:  TrueTrojan [ Sat Nov 28, 2009 6:01 pm ]
Post subject:  Re: Captain's Log

FYI
Sounds like the scrollbar issue has to do with the objects (divs) that hold the snowflakes running off the right edge and triggering the browser window to think there's "more" to be shown... thus it pops up a scrollbar to get to this imaginary content.

It's not related to how many snowflakes, dad. Just the chances that one triggers that confusion.
Don't let this drive you nuts. Not your fault.
I don't get this happening, by the way.

If I get a chance I will program another script for us.

Or, as daddio suggests, we could just put a snowflake as a backdrop, and I could put a santa hat on the shark, if you want...

Author:  Moog [ Sat Nov 28, 2009 7:08 pm ]
Post subject:  Re: Captain's Log

TrueTrojan wrote:
FYI
Sounds like the scrollbar issue has to do with the objects (divs) that hold the snowflakes running off the right edge and triggering the browser window to think there's "more" to be shown... thus it pops up a scrollbar to get to this imaginary content.

It's not related to how many snowflakes, dad. Just the chances that one triggers that confusion.
Don't let this drive you nuts. Not your fault.
I don't get this happening, by the way.

If I get a chance I will program another script for us.

Or, as daddio suggests, we could just put a snowflake as a backdrop, and I could put a santa hat on the shark, if you want...


Screw all that work, I wanna see what's inside your avatar!

Author:  TrueTrojan [ Sat Nov 28, 2009 7:34 pm ]
Post subject:  Re: Captain's Log

Moog wrote:
I wanna see what's inside your avatar!
Big things come in big packages.

Author:  TrueTrojan [ Sun Nov 29, 2009 9:59 am ]
Post subject:  Re: Captain's Log

As mentioned:
Image

Author:  shingy [ Sun Nov 29, 2009 10:35 am ]
Post subject:  Re: Captain's Log

bowling ball?

Author:  shingy [ Sun Nov 29, 2009 12:18 pm ]
Post subject:  Re: Captain's Log

cool, nice work troj.. now one holding a menorah =]

Author:  TrueTrojan [ Mon Nov 30, 2009 10:28 am ]
Post subject:  Re: Website Special Effects

Dad, if you want to do this, cool.
If not, you can get me to do it (I will simply need access).

My SUGGESTIONS - I can be overruled, peoples, so do so at will.

a) Swap out the site_logo.gif with the one I posted. (edit: wait... are there separate logos for each style? Are these styles user-determined!? If so, I've got some more work to do on various logos... there's some tricks around the anti-aliasing that look like shite if the bground changes...)

b) The snow would perform better with these changes made to snowstorm.js:
...
var flakesMax = 20; // original was 128;
var flakesMaxActive = 10; // original was 64;
...
var targetElement = "logo-mid";

The result is a nice storm in the header of the site. It tends to be less of a bog.

I tried (and fixed) the snow piling up, which is cute, but starts to hog resources after a while. There's another effect where the snow sits but melts shortly (that's where flakesMax comes in), which I have also fixed if we want to use it, but it's not worth the extra clunkiness IMHO.

Author:  TrueTrojan [ Mon Nov 30, 2009 10:39 am ]
Post subject:  Re: Captain's Log

shingy wrote:
cool, nice work troj.. now one holding a menorah =]
I thought about that. I need some educating though.
What is the period which Hannukah entails? Has it bled forward like Christmas (we are in "Christmas season" as of Thanksgiving) ? Is there a more succinct time frame to abide by?
The 7 candles are lit/unlit over 7 days, correct? Is it bad form to display them incorrectly?

Even so...
I can only come up with one way to display it thus far: at the top left before the "H". Otherwise the shark is jumping up to bite it which is not the imagery I'm after.
I'm saving THAT effect for next year's Thanksgiving... I'll put a turkey being snapped at by Brucie the Great White. :D

Author:  dad [ Mon Jan 25, 2010 10:23 pm ]
Post subject:  Re: Website Special Effects

snow is off now...

Author:  shingy [ Mon Jan 25, 2010 10:44 pm ]
Post subject:  Re: Website Special Effects

hip hip hooray!

Author:  Carpe Diem [ Tue Jan 26, 2010 10:13 am ]
Post subject:  Re: Website Special Effects

dad wrote:
snow is off now...



OMG ! Global warming is being felt even in here...

Author:  AyEyE [ Tue Jan 26, 2010 1:37 pm ]
Post subject:  Re: Website Special Effects

That's alright. We're about to get hit with a major ice storm in Oklahoma. It should put those 2 little flakes to shame. (Pics will probably follow).

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/