SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2001
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    current document file name

    Is it possible to read the current document file name into a variable, and then use this variable in a link?

    Thanks a lot.
    CPanel based Scalable Reselling
    Being our reseller, you can have your own multiple resellers
    And each one of them can have his own resellers...
    Free support for our resellers customers at Royal Web Hosting

  2. #2
    SitePoint Guru
    Join Date
    Sep 1999
    Location
    Singapore
    Posts
    854
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I really don't think this is available in Javascript, but should be a trivial thing if you had access to any server side scripting languages.

  3. #3
    You talkin to me? Anarchos's Avatar
    Join Date
    Oct 2000
    Location
    Austin, TX
    Posts
    1,438
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can parse it from location.href

  4. #4
    SitePoint Guru
    Join Date
    Sep 1999
    Location
    Singapore
    Posts
    854
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ahh...how did that slip my mind...

  5. #5
    SitePoint Enthusiast
    Join Date
    Jul 2001
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by Anarchos
    You can parse it from location.href
    Can you please give an example?

    Thanks a lot.
    CPanel based Scalable Reselling
    Being our reseller, you can have your own multiple resellers
    And each one of them can have his own resellers...
    Free support for our resellers customers at Royal Web Hosting


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
  •