Forum Chat

 

 

 

It is currently Mon Nov 29, 2021 1:32 pm




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 22 posts ] 
Website Special Effects 
Author Message
Forum Frequenter
User avatar

Joined: Jan 17 '09
Posts: 1945
Location: Dallas, TX (USA)
Reply with quote
Post 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 ...

_________________
--
Mike (DAD)


Sat Nov 14, 2009 11:43 am
Profile WWW
2021 Winter Champ
User avatar

Joined: Nov 21 '08
Posts: 8183
Location: Denver, CO
Reply with quote
Post Re: Captain's Log
It's currently snowing here, this mod is AMAZING.

_________________
-- Moog

See my photos on Flickr


Sat Nov 14, 2009 1:39 pm
Profile WWW
Forum Frequenter
User avatar

Joined: Jan 17 '09
Posts: 1945
Location: Dallas, TX (USA)
Reply with quote
Post Re: Captain's Log
DOH - I must have messed up and installed the Moog's world mod instead of the HOC-Forum mod...


LOL

_________________
--
Mike (DAD)


Sat Nov 14, 2009 5:25 pm
Profile WWW
Forum Frequenter
User avatar

Joined: Jan 17 '09
Posts: 1945
Location: Dallas, TX (USA)
Reply with quote
Post 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.

_________________
--
Mike (DAD)


Sat Nov 28, 2009 12:53 pm
Profile WWW
Senior Admin
User avatar

Joined: Nov 21 '08
Posts: 2356
Reply with quote
Post 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?


Sat Nov 28, 2009 1:21 pm
Profile
PlankWalker
User avatar

Joined: Nov 24 '08
Posts: 11049
Location: Langley, British Columbia
Reply with quote
Post Re: Captain's Log
Continually pulling up my horizontal movement bar at bottom of FF window.

_________________
It's easier to fool people than to convince them that they have been fooled -Mark Twain -


Sat Nov 28, 2009 1:28 pm
Profile
Forum Frequenter
User avatar

Joined: Jan 17 '09
Posts: 1945
Location: Dallas, TX (USA)
Reply with quote
Post 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?

_________________
--
Mike (DAD)


Sat Nov 28, 2009 3:29 pm
Profile WWW
Senior Admin
User avatar

Joined: Nov 21 '08
Posts: 2356
Reply with quote
Post Re: Captain's Log
A little better, but gets slower as more appear. It's not the most efficient thing, but it's cute.


Sat Nov 28, 2009 3:53 pm
Profile
PlankWalker
User avatar

Joined: Nov 24 '08
Posts: 11049
Location: Langley, British Columbia
Reply with quote
Post Re: Captain's Log
ok, now the horizontal slider bar is coming up slower.

_________________
It's easier to fool people than to convince them that they have been fooled -Mark Twain -


Sat Nov 28, 2009 4:23 pm
Profile
Forum Frequenter
User avatar

Joined: Jan 17 '09
Posts: 1945
Location: Dallas, TX (USA)
Reply with quote
Post 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...

_________________
--
Mike (DAD)


Sat Nov 28, 2009 5:12 pm
Profile WWW
Senior Admin
User avatar

Joined: Nov 21 '08
Posts: 2356
Reply with quote
Post 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...


Sat Nov 28, 2009 6:01 pm
Profile
2021 Winter Champ
User avatar

Joined: Nov 21 '08
Posts: 8183
Location: Denver, CO
Reply with quote
Post 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!

_________________
-- Moog

See my photos on Flickr


Sat Nov 28, 2009 7:08 pm
Profile WWW
Senior Admin
User avatar

Joined: Nov 21 '08
Posts: 2356
Reply with quote
Post Re: Captain's Log
Moog wrote:
I wanna see what's inside your avatar!
Big things come in big packages.


Sat Nov 28, 2009 7:34 pm
Profile
Senior Admin
User avatar

Joined: Nov 21 '08
Posts: 2356
Reply with quote
Post Re: Captain's Log
As mentioned:
Image


Sun Nov 29, 2009 9:59 am
Profile
Senior Member
User avatar

Joined: Nov 21 '08
Posts: 3651
Location: Atlanta, GA
Reply with quote
Post Re: Captain's Log
bowling ball?


Sun Nov 29, 2009 10:35 am
Profile
Senior Member
User avatar

Joined: Nov 21 '08
Posts: 3651
Location: Atlanta, GA
Reply with quote
Post Re: Captain's Log
cool, nice work troj.. now one holding a menorah =]


Sun Nov 29, 2009 12:18 pm
Profile
Senior Admin
User avatar

Joined: Nov 21 '08
Posts: 2356
Reply with quote
Post 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.


Mon Nov 30, 2009 10:28 am
Profile
Senior Admin
User avatar

Joined: Nov 21 '08
Posts: 2356
Reply with quote
Post 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


Mon Nov 30, 2009 10:39 am
Profile
Forum Frequenter
User avatar

Joined: Jan 17 '09
Posts: 1945
Location: Dallas, TX (USA)
Reply with quote
Post Re: Website Special Effects
snow is off now...

_________________
--
Mike (DAD)


Mon Jan 25, 2010 10:23 pm
Profile WWW
Senior Member
User avatar

Joined: Nov 21 '08
Posts: 3651
Location: Atlanta, GA
Reply with quote
Post Re: Website Special Effects
hip hip hooray!


Mon Jan 25, 2010 10:44 pm
Profile
PlankWalker
User avatar

Joined: Nov 24 '08
Posts: 11049
Location: Langley, British Columbia
Reply with quote
Post Re: Website Special Effects
dad wrote:
snow is off now...



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

_________________
It's easier to fool people than to convince them that they have been fooled -Mark Twain -


Tue Jan 26, 2010 10:13 am
Profile
Forum Frequenter
User avatar

Joined: Nov 21 '08
Posts: 1311
Location: Oklahoma City
Reply with quote
Post 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).

_________________
ImageImage Check out my photos on Flickr.


Tue Jan 26, 2010 1:37 pm
Profile
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 22 posts ] 


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

cron
Powered by phpBB © phpBB Group.
Designed by Vjacheslav Trushkin for Free Forum/DivisionCore.