472,991 Members | 2,844 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,991 software developers and data experts.

Smoke Effect

Hi, I've had a strange request for a website. The client is after a
smoke effect which will gradually fill the screen for a few moments
before clearing again. This is too be written in Javascript, has
anyone out there got any ideas on how this could be accomplished?

Many thanks for any help on this one!!!

Steve C
Jul 23 '05 #1
6 5324
Steve C wrote:
Hi, I've had a strange request for a website. The client is after a
smoke effect which will gradually fill the screen for a few moments
before clearing again. This is too be written in Javascript, has
anyone out there got any ideas on how this could be accomplished?

Many thanks for any help on this one!!!

Steve C


Hi Steve,

Have a look at CSS-positioning.
Very short version:
1) Create a bunch of DIV's or SPAN's
2) move them around over your screen, using JS.

Be sure you test for all major browsers, and also test their capabilities
before you run your routines.

Good luck,
Erwin Moller

PS: Let us know when you are finished. I am curious how it will look. :-)
Jul 23 '05 #2
Thanks Erwin, I was stuck thinking in the pixel at a time style
thoughts, but your idea could work nicely. I will have a try with that
and let you know how it comes out.

Thanks again

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 23 '05 #3
In article <41***********************@news.xs4all.nl>,
Erwin Moller
<si******************************************@spam yourself.com> wrote:
Steve C wrote:
The client is after a
smoke effect which will gradually fill the screen for a few moments
before clearing again.


Have a look at CSS-positioning.
Very short version:
1) Create a bunch of DIV's or SPAN's
2) move them around over your screen, using JS.

Did the poster mean to create several transparent images of different
densities and move them around the screen? Perhaps only one slightly
cloudy transparent image is needed, but several divs with the image
positioned a few pixels apart is needed. You could slowly expand the
size of one div then introduce another div in the middle of the screen
then expand it. Maybe vary the density of the transparency in the image
to create a cloud pattern & rotate & expand several divs of this.

I hope the poster doesn't mind me expanding or clarifying his idea.

Robert
Jul 23 '05 #4
Thanks Robert, all ideas welcome at this stage, lets just hope it looks
as good as it sounds. In the process of costing it for the client at
the moment, but will let you guys know how it turns out.

Cheers

Steve

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 23 '05 #5
Robert wrote:
In article <41***********************@news.xs4all.nl>,
Erwin Moller
<si******************************************@spam yourself.com> wrote:
Steve C wrote:
> The client is after a
> smoke effect which will gradually fill the screen for a few moments
> before clearing again.
Have a look at CSS-positioning.
Very short version:
1) Create a bunch of DIV's or SPAN's
2) move them around over your screen, using JS.

Did the poster mean to create several transparent images of different
densities and move them around the screen? Perhaps only one slightly
cloudy transparent image is needed, but several divs with the image
positioned a few pixels apart is needed. You could slowly expand the
size of one div then introduce another div in the middle of the screen
then expand it. Maybe vary the density of the transparency in the image
to create a cloud pattern & rotate & expand several divs of this.

I hope the poster doesn't mind me expanding or clarifying his idea.


Hi Robert and Steve,

Haha, of course Steve doesn't mind. He was asking for ideas, wasn't he?
Your idea (transparancy) sounds like fun.
It could actually be a lot better because my original suggestion didn't
include transparency. I was thinking just 'clouds'.
Transparence gives probably a better effect because normal smoke is also a
little transparent.
However, your solution could be a little slow (If you grow and use
transparancy) on low-end machines. Steve will figure this out.

Just play around Steve, and if you finished, don't forget to publish your
solution somewhere for others to enjoy, before M$ patents it. ;-)

I am curious what you come up with!

Regards,
Erwin Moller

Robert


Jul 23 '05 #6
*Erwin Moller* mentioned:
[viewport transparency, smoke effects for OP]

A rather lame, not for general use, tongue-in-cheek, all-body
fade-out-in effect might be:
http://www.andrewu.co.uk/temp/opacityFader.asp
[IE5.5+, Firefox (likely includes earlier Gecko versions as well), maybe
Konqueror too?]
--
Andrew Urquhart
- Contact me: http://andrewu.co.uk/contact/
- 'Staccato signals of constant information
A loose affiliation of millionaires and billionaires' - Paul Simon
Jul 23 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Susanna | last post by:
Hi all, I'm using the following slideshow script that I found on the web to display changing images with a crossfade effect. Eventually I will be adding many more images to the slideshow. The...
0
by: Pixi | last post by:
If you smoke, go to www.pixi.biz
14
by: Charles Douglas Wehner | last post by:
If you go to http://www.netscape.com and search for Wehner, you will find my site. It will say http://wehner.org You click to preview, and find that my home page is too big for the preview...
4
by: www.gerardvignes.com | last post by:
I'd like to join or start a small group of Ajax web developers who are willing to smoke test each others Ajax applications, quid pro quo. I can smoke test on W2K SP4 with IE6, FF2, SM 1 and O9. ...
16
by: eholz1 | last post by:
Hello CSS group, I saw a beautiful effect that I would like to use either by CSS or using photoshop to create the image/effect (maybe even imagemagick) the site address is:...
3
by: Beamer | last post by:
Hi I am trying to build a roating slide effect in javascript. Basically, I have a list like below <ul id="slideShowCnt"> <li id="slide0"><img .../></li> <li id="slide0"><img .../></li> <li...
3
by: Gandalf | last post by:
Sharp effect is one of the photoshop effect on letters. some one a javascript script that create the same effect? thanks
7
by: nolo contendere | last post by:
the alert message appears before the Effect.SlideUp even begins. How can I ensure that the SlideUp completes before executing the next statement? I've tried setTimeout, and I can kind of get it to...
0
by: Chocolade | last post by:
I created a new form and added split container and then on the left side a treeview and on the treeview i added nodes and on the right side of the split container i added a groupbox. Now in the...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...
3
SueHopson
by: SueHopson | last post by:
Hi All, I'm trying to create a single code (run off a button that calls the Private Sub) for our parts list report that will allow the user to filter by either/both PartVendor and PartType. On...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.