dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Can this code/button be created???

  1. #1
    Join Date
    Dec 2012
    Posts
    1

    Can this code/button be created???

    Code that you can put on your site that knows what url its on, no matter what page its on, on your site. It would show as a button that relays to a site that it was pressed. It has to recognize what page it is on. I just need a point in the right direction. thanks.

  2. #2
    Join Date
    Mar 2007
    Location
    U.K.
    Posts
    1,127
    Quote Originally Posted by Kikkrr View Post
    It would show as a button that relays to a site that it was pressed.
    Do you mean it navigates to another site passing its current URL presumably as a querystring?
    If not, how?

  3. #3
    Join Date
    Aug 2008
    Location
    Sweden
    Posts
    227
    You can use location.href to see what page you're on.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles