473,396 Members | 1,929 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 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 5337
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.