SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Nov 2005
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Capture URL via link

    Bit of an odd question this, so i hope it makes sense...

    I'm trying to create a simple bookmarking tool for our intranet to allow staff to add a url to a company wide bookmark list

    In laymans terms this is how I'm seeing it..

    A link on a bookmark toolbar in the browser: a pop up page would appear when the link was clicked that would pull the url the user was visiting when they clicked the toolbar link and allow the user to provide some details about the page and some environment variables - mainly %username%

    This would then be submitted into the 'intranet bookmarks' db.

    The submission of the user details and environment variable I can do, I don't know how to capture the url of the page that the user was on when they click the toolbar link

    Any ideas?

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,290
    Mentioned
    198 Post(s)
    Tagged
    3 Thread(s)
    Maybe document.location ??


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
  •