> > > > >[/quote] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => <#DR5yPTeDHA.3072@tk2msftngp13.phx.gbl> [htmlstate] => on_nl2br [postusername] => Ray at home [ip] => [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 1 [islastshown] => [isfirstshown] => 1 [attachments] => [allattachments] => ) --> > > > > >[/quote] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => <#DR5yPTeDHA.3072@tk2msftngp13.phx.gbl> [htmlstate] => on_nl2br [postusername] => Ray at home [ip] => [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 2 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => <#DR5yPTeDHA.3072@tk2msftngp13.phx.gbl> [ref] => [htmlstate] => on_nl2br [postusername] => Need_help [ip] => nospam@nospam.h [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 8 [islastshown] => 1 [isfirstshown] => [attachments] => [allattachments] => ) --> Passing coordinates - ASP

Passing coordinates - ASP

You'd have to use your client side code to post a form, load a url, or something like that with your data. At what point would you want to send the coordinates? You certainly won't want to do it each time the coordinate change. doent.location.href='page2.asp?x='+tempX+'&y='+ tempY Then just grab the values from the querystring. Ray at home "Need_help" <nospamnospam.hr> wrote in message news:#DR5yPTeDHA.3072tk2msftngp13.phx.gbl... > I have script that fetches the coordinates from mouse. I would like to pass > this mouse coordinates to page2.asp How can I do that? > > > <script language="JavaScript1.2"> > <!-- > > // Detect ...

  1. #1

    Default Re: Passing coordinates

    You'd have to use your client side code to post a form, load a url, or
    something like that with your data. At what point would you want to send
    the coordinates? You certainly won't want to do it each time the coordinate
    change.

    doent.location.href='page2.asp?x='+tempX+'&y='+ tempY

    Then just grab the values from the querystring.

    Ray at home



    "Need_help" <nospamnospam.hr> wrote in message
    news:#DR5yPTeDHA.3072tk2msftngp13.phx.gbl...
    > I have script that fetches the coordinates from mouse. I would like to
    pass
    > this mouse coordinates to page2.asp How can I do that?
    >
    >
    > <script language="JavaScript1.2">
    > <!--
    >
    > // Detect if the browser is IE or not.
    > // If it is not IE, we assume that the browser is NS.
    > var IE = doent.all?true:false
    >
    > // If NS -- that is, !IE -- then set up for mouse capture
    > if (!IE) doent.captureEvents(Event.MOUSEMOVE)
    >
    > // Set-up to use getMouY function onMouseMove
    > doent.onmousemove = getMouY;
    >
    > // Temporary variables to hold mouse x-y pos.s
    > var tempX = 0
    > var tempY = 0
    >
    > // Main function to retrieve mouse x-y pos.s
    >
    > function getMouY(e) {
    > if (IE) { // grab the x-y pos.s if browser is IE
    > tempX = event.clientX + doent.body.scrollLeft
    > tempY = event.clientY + doent.body.scrollTop
    > } else { // grab the x-y pos.s if browser is NS
    > tempX = e.pageX
    > tempY = e.pageY
    > }
    > // catch possible negative values in NS4
    > if (tempX < 0){tempX = 0}
    > if (tempY < 0){tempY = 0}
    > // show the position values in the form named Show
    > // in the text fields named Mou and MouseY
    > doent.href
    > doent.Show.Mou.value = tempX
    > doent.Show.MouseY.value = tempY
    > return true
    > }
    >
    > //-->
    > </script>
    > </body>
    > </html>
    >
    >

    Ray at home Guest

  2. #2

    Default Re: Passing coordinates

    I take back my other post. Damn!
    [url]http://www.aspfaq.com/5005[/url]

    Ray at home

    "Need_help" <nospamnospam.hr> wrote in message
    news:#DR5yPTeDHA.3072tk2msftngp13.phx.gbl...
    > I have script that fetches the coordinates from mouse. I would like to
    pass
    > this mouse coordinates to page2.asp How can I do that?
    >
    >
    > <script language="JavaScript1.2">
    > <!--
    >
    > // Detect if the browser is IE or not.
    > // If it is not IE, we assume that the browser is NS.
    > var IE = doent.all?true:false
    >
    > // If NS -- that is, !IE -- then set up for mouse capture
    > if (!IE) doent.captureEvents(Event.MOUSEMOVE)
    >
    > // Set-up to use getMouY function onMouseMove
    > doent.onmousemove = getMouY;
    >
    > // Temporary variables to hold mouse x-y pos.s
    > var tempX = 0
    > var tempY = 0
    >
    > // Main function to retrieve mouse x-y pos.s
    >
    > function getMouY(e) {
    > if (IE) { // grab the x-y pos.s if browser is IE
    > tempX = event.clientX + doent.body.scrollLeft
    > tempY = event.clientY + doent.body.scrollTop
    > } else { // grab the x-y pos.s if browser is NS
    > tempX = e.pageX
    > tempY = e.pageY
    > }
    > // catch possible negative values in NS4
    > if (tempX < 0){tempX = 0}
    > if (tempY < 0){tempY = 0}
    > // show the position values in the form named Show
    > // in the text fields named Mou and MouseY
    > doent.href
    > doent.Show.Mou.value = tempX
    > doent.Show.MouseY.value = tempY
    > return true
    > }
    >
    > //-->
    > </script>
    > </body>
    > </html>
    >
    >

    Ray at home Guest

  3. #3

    Default Passing coordinates

    Bump?


    Chris Hohmann Guest

  4. #4

    Default Passing Coordinates

    If this doesn't fix the post-date issue, I'm at a loss. Anyone care to
    enlighten me?


    Chris Hohmann Guest

  5. #5

    Default Re: Passing Coordinates

    Did you reply to another message and just change the subject line? I think
    you have to actually create a new message.

    Ray at home

    "Chris Hohmann" <hohmannATyahooDOTcom> wrote in message
    news:OVhkYJXeDHA.2212TK2MSFTNGP12.phx.gbl...
    > If this doesn't fix the post-date issue, I'm at a loss. Anyone care to
    > enlighten me?
    >
    >

    Ray at home Guest

  6. #6

    Default Re: Passing Coordinates

    "Ray at home" <myfirstname at lane 34 . komm> wrote in message
    news:%234qfVdYeDHA.2172TK2MSFTNGP09.phx.gbl...
    > Did you reply to another message and just change the subject line? I
    think
    > you have to actually create a new message.
    >
    > Ray at home
    >
    > "Chris Hohmann" <hohmannATyahooDOTcom> wrote in message
    > news:OVhkYJXeDHA.2212TK2MSFTNGP12.phx.gbl...
    > > If this doesn't fix the post-date issue, I'm at a loss. Anyone care
    to
    > > enlighten me?
    I did create a new message. But I capitalized the word "Coordinates". I
    think it would have worked had I used the right subject line but at this
    point the cure is causing more problems than the disease. :) It will be
    a moot point in about an hour.


    Chris Hohmann Guest

  7. #7

    Default Passing coordinates



    Tom B Guest

  8. #8

    Default Passing coordinates

    I have script that fetches the coordinates from mouse. I would like to pass
    this mouse coordinates to page2.asp How can I do that?


    <script language="JavaScript1.2">
    <!--

    // Detect if the browser is IE or not.
    // If it is not IE, we assume that the browser is NS.
    var IE = doent.all?true:false

    // If NS -- that is, !IE -- then set up for mouse capture
    if (!IE) doent.captureEvents(Event.MOUSEMOVE)

    // Set-up to use getMouY function onMouseMove
    doent.onmousemove = getMouY;

    // Temporary variables to hold mouse x-y pos.s
    var tempX = 0
    var tempY = 0

    // Main function to retrieve mouse x-y pos.s

    function getMouY(e) {
    if (IE) { // grab the x-y pos.s if browser is IE
    tempX = event.clientX + doent.body.scrollLeft
    tempY = event.clientY + doent.body.scrollTop
    } else { // grab the x-y pos.s if browser is NS
    tempX = e.pageX
    tempY = e.pageY
    }
    // catch possible negative values in NS4
    if (tempX < 0){tempX = 0}
    if (tempY < 0){tempY = 0}
    // show the position values in the form named Show
    // in the text fields named Mou and MouseY
    doent.href
    doent.Show.Mou.value = tempX
    doent.Show.MouseY.value = tempY
    return true
    }

    //-->
    </script>
    </body>
    </html>


    Need_help Guest

Similar Threads

  1. Convert user space coordinates to device coordinates
    By Florin_O@adobeforums.com in forum Adobe Acrobat SDK
    Replies: 2
    Last Post: January 27th, 07:16 AM
  2. x and y coordinates
    By Stephen_Field@adobeforums.com in forum Adobe Illustrator Windows
    Replies: 4
    Last Post: March 8th, 02:33 AM
  3. Mouse Coordinates -- off .swf
    By eljefeloco101 webforumsuser@macromedia.com in forum Macromedia Flash Actionscript
    Replies: 3
    Last Post: February 4th, 06:23 PM
  4. Limitations on x, y coordinates???
    By Amy G in forum Macromedia Flash
    Replies: 0
    Last Post: January 23rd, 10:18 PM
  5. Some help with coordinates please!
    By happyblimp webforumsuser@macromedia.com in forum Macromedia Flash Actionscript
    Replies: 2
    Last Post: January 19th, 03:04 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •