Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Internet & the Web (https://www.askmehelpdesk.com/forumdisplay.php?f=177)
-   -   Small script require... Please help (https://www.askmehelpdesk.com/showthread.php?t=16334)

  • Dec 21, 2005, 04:37 PM
    spyyder
    Small script require... please help
    I have a new accounts section, where each person has his own driectory on my website (e.g. www.blank.com/thepersonname). How do I make a box (lets call it "box1") where the person enters his user name in (e.g. "yoyoyo123" - again in "box1") and a button (lets call it "button1") that makes the persons browser go to the address www.blank.com/yoyoyo123 (basically the pre-given website, followed by the text in "box1").

    I am using frontpage and dreamweaver by the way.:o
  • Dec 22, 2005, 03:18 AM
    LTheobald
    Here's a very simple way of doing it:
    Code:

    <form name="redirectForm">
    <input type="text" name="test"/><br/> <!-- This is your box for the name -->
    <input type="button" name="Go" value="Go" onclick="window.location='https://www.askmehelpdesk.com/'+ document.redirectForm.test.value"/> <!-- Clicking this button will send you to "https://www.askmehelpdesk.com/" followed by whatever was in the box -->
    </form>

  • Dec 31, 2005, 09:31 AM
    spyyder
    Thx man.. ill try it out

  • All times are GMT -7. The time now is 01:09 AM.