Cold Fusion Needs Background Applet Keyword, e.g. background-applet: url(applet.html);

TXH-1138
TXH-1138 used Ask the Experts™
on
To display a background image using Cold Fusion:
      background-image: url(image.jpg);
Though it does not yet exist, the logical generalization of this capability would be something like:
      background-applet: url(applet.html);
That way one could have an interactive or autonomous applet in the background of a web page rather than just an image.
background-applet: url(applet.html);
 
Add to this background applet support in Cold Fusion and the next dimension in internet content will have been opened.  I would expect it to be only a matter of time before something like this gets implemented.
 
In the meantime if someone knows how to implement this using current technology, that would be truly impressive.

Open in new window

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
this has nothing to do with CF whatsoever. CF is server-side technology. it DOES NOT process or render HTML - that's what a browser does. what you are talking about is purely HTML and is governed by HTML and CSS standards.  the new ones (HTML5 and CSS3) have this ability, though not exactly this way.

HTML5 and CSS3 is not yet widely supported by browsers, though parts of both are implemented in the newest versions of FF, Safari and Chrome.

a currently available alternative is various javascript frameworks like jQuery, Prototype and others. for example, jQuery has numerous amazing plug-ins that allow you to manipulate pretty much any DOM element in various ways.

Azadi

Author

Commented:
Although a brief survey of jQuery capabilities suggests potential paths to a solution (e.g. those at http://docs.jquery.com/Category:Effects), none of the live examples looks like they could be made to work in the background of a web page.

The specific goal I have in mind is to launch an applet associated with a background image that responds to mouse movements while the user is interacting with the foreground elements - the usual links, buttons, tabs, etc one would normally find on a web page.  For example, how would I make the attached HTML snippet operate in the background in association with the background image?
<HTML>
<HEAD>
<TITLE>MyImageEffects</TITLE>
</HEAD>
<BODY>
<APPLET archive="Effects.jar" code="Effects" width=1280 height=848>
	<PARAM NAME="image"       VALUE="Images/MyImage.jpeg">
	<PARAM NAME="fps"         VALUE="100">
	<PARAM NAME="boxborder"   VALUE="false">
	<PARAM NAME="centerimage" VALUE="true">
</APPLET>
</BODY>
</HTML>

Open in new window

Commented:
This nice-to-have feature needs to find its way into an internet standard so that infrastructure providers can implement and support it.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial