macromedia.coldfusion.cfml_general_discussion
[Top] [All Lists]

Re: BG sound with on off control in cfm

Subject: Re: BG sound with on off control in cfm
From: Ian Skinner
Date: Tue, 28 Aug 2007 07:50:26 -0700
Newsgroups: macromedia.coldfusion.cfml_general_discussion


Your code sample does not show but I suspect you are having a client vs. server issue. I presume that your control to turn the background sound off and on is JavaScript that only interacts with the client.

To maintain this state from request to request you will need to get the value to the server. This is going to require some kind of request/response from the client to the server. How you want to do this depends on your application and|or how comfortable you are with new technologies.

As you mentioned one can do it with frames, one can have a "preferences/configuration" type form that users submit to the server, or you can use AJAX to send the request behind the scenes.

HTH
Ian Skinner

<Prev in Thread] Current Thread [Next in Thread>