Link to home
Start Free TrialLog in
Avatar of TXH-1138
TXH-1138

asked on

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

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

Avatar of azadisaryev
azadisaryev
Flag of Hong Kong image

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
Avatar of TXH-1138
TXH-1138

ASKER

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

ASKER CERTIFIED SOLUTION
Avatar of TXH-1138
TXH-1138

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial