46 users online (0 members and 46 guests)  


  Results 1 to 3 of 3

Related

  1. Icondoit.exe update or replacement    Forum: Graphics Forum
    Replies: 1
  2. Address Replacement?    Forum: HTML Forum
    Replies: 6
  1. #1
    ShareInfo's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Oct 2001
    Location
    Charleston, SC
    Posts
    40

    Question SiteID Replacement?

    Hi friends at AHFB2000..

    Must been a while since I been here...
    Nice new look on the forum..

    I think I once found or got a code here for a simple way that I could allow users to replace My SiteId with their Own SiteID..

    I'll try to give an example here so I don't confuse more then myself.. lol..

    Lets say my URL look some thing like this;

    http://www.myurl.com?mysiteid

    What I want is to use a simple form where the user could put in their id, and click on submit and then the new url will look like;

    http://www.myurl.com?usersiteid

    Any ideas or suggestions that will guide me in the right direction is appreciated..

    Greetings.. ShareInfo

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Hi Share, been too long! welcome back.

    JavaScript could do this easily.

    Code:
    <form name="iamaform">
    <input type="text" name="siteID">
    <input type="button" onClick="window.location='http://www.myurl.com?' + iamaform.siteID.value;" value="Go">
    </form>
    That will do it.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  3. #3
    ShareInfo's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Oct 2001
    Location
    Charleston, SC
    Posts
    40

    Thumbs up TXS!!

    QuietDean , as always you are on top of it..

    Txs a lot..

    Just what I was looking for...

    Greetings.. ShareInfo



Tags for this Thread