I know it is too much but this code looks very promissing:
The only problem is how I can take the MouseX and MouseY and convert them to
CF Variables! I tried but no chance!
Thanks
Ali

*<!-- ONE STEP TO INSTALL MOUSE COORDINATES:

  1.  Copy the coding into the BODY of your HTML document  -->

<!-- STEP ONE: Paste this code into the BODY of your HTML document  -->

<BODY>

<form name="Show">
X <input type="text" name="MouseX" value="0" size="4"><br>
Y <input type="text" name="MouseY" value="0" size="4"><br>
</form>
<script language="JavaScript1.2">
<!-- Original:  CodeLifter.com ([EMAIL PROTECTED]) -->
<!-- Web Site:  http://www.codelifter.com -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
var IE = document.all?true:false;
if (!IE) document.captureEvents(Event.MOUSEMOVE)
document.onmousemove = getMouseXY;
var tempX = 0;
var tempY = 0;
function getMouseXY(e) {
if (IE) { // grab the x-y pos.s if browser is IE
tempX = event.clientX + document.body.scrollLeft;
tempY = event.clientY + document.body.scrollTop;
}
else {  // grab the x-y pos.s if browser is NS
tempX = e.pageX;
tempY = e.pageY;
}
if (tempX < 0){tempX = 0;}
if (tempY < 0){tempY = 0;}
document.Show.MouseX.value = tempX;
document.Show.MouseY.value = tempY;
return true;
}
//  End -->
</script>


<p><center>
<font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com";>The JavaScript Source</a></font>
</center><p>*





On Sat, Mar 15, 2008 at 11:18 PM, Azadi Saryev <[EMAIL PROTECTED]> wrote:

> google javascript mouse coordinates
>
> Azadi Saryev
> Sabai-dee.com
> http://www.sabai-dee.com/
>
>
>
> Ali wrote:
> > that's great just I am not a js developer. Can you please give me link
> for a
> > tutorial for such an edit?
> > Thanks
> > Ali
> >
> > On Sat, Mar 15, 2008 at 6:47 PM, Azadi Saryev <[EMAIL PROTECTED]>
> wrote:
> >
> >
> >> get your mouse coordinates with js and pass them to the function that
> >> calls your cfwindow and use hem for the x & y of cfwindow
> >>
> >> Azadi Saryev
> >> Sabai-dee.com <http://sabai-dee.com/>
> >> http://www.sabai-dee.com/
> >>
> >>
> >>
> >> Ali wrote:
> >>
> >>> Hi:
> >>> CFWINDOW is great but making it to stay where it should be is a little
> >>> tricky for me. The link for the cfwindow is down of the page but when
> I
> >>> click on the link to open the cfwindow it pops up the page where it
> >>> shouldn't go there! the whole page is dynamic and loads in different
> >>>
> >> sizes.
> >>
> >>> Sometimes down three pages and sometimes two. So giving x and y for
> the
> >>> position doesn't seem to work. Any help to keep the cfwindows over the
> >>>
> >> link
> >>
> >>> that opens it?
> >>> Thanks
> >>> Ali
> >>>
> >>>
> >>>
> >>>
> >>
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301372
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to