Hi Folks
I realized that it would take a major rewrite to load the audio with javascript
as I
use considerable server side coldfusion to move the files from private secure
non
root based directories to temp directories to get it to play.
A simpler solution it seems would be to create adynamic anchor using the mouse
location so I have.
<script>
function show_coords(event)
{
var verticalPosition=event.clientY;
}
</script>
I need verticalPosition appended to the url in the link but the following is
not
working. I think it is a scope or syntax issue for the verticalPosition variable
<a href="testplayer.cfm?play=ai-session3.mp3"
onclick="show_coords(event);
location.href=this.href+'&position='+verticalPosition;return false;">
link</a>
The vertical position is not being appended to the url. Says position is
not defined
Any ideas on the correc t syntax
Thanks
Rob
Robert J. Voyle, Psy.D.
Director, Clergy Leadership Institute
For Coaching and Training in Appreciative Inquiry
Author: Restoring Hope: Appreciative Strategies
to Resolve Grief and Resentment
http://www.appreciativeway.com/
503-647-2378 or 503-647-2382
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:6096
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm