Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 9 of 9
  1. #1
    Senior Member
    Join Date
    Mar 2002
    Location
    Alabama sans the damn flag
    Posts
    263
    Member #
    38
    In a straight HTML document, how do I move from the page I'm on to another page, in response to actions provided by the user?

    I know how to place a URL, but how do I just go there?
    DerFarm
    I talk to squirrels.
    Squirrels Answer.

  2.  

  3. #2
    410
    410 is offline
    Senior Member 410's Avatar
    Join Date
    Nov 2002
    Posts
    109
    Member #
    284
    i think i know what your talking about...

    if you have a page named index.html and thats ur home page then when you go to your site www.whatever.com the browser default will pick that up. Now if you have another page named user.html then you want to be directed straight to that page then www.whatever.com/user.html would be how to get there....

    I hope this is what your talking about, if not please explain alittle more.

    410

  4. #3
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    Yeah, I'm confused because I'm guessing you already know about the <a> tag...
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  5. #4
    Senior Member
    Join Date
    Mar 2002
    Location
    Alabama sans the damn flag
    Posts
    263
    Member #
    38
    Ok, here 'tis. I tried to set up IIS so that I could use ASP. I haven't the vaguest idea why, but the silly damn thing keeps telling me it cannot find my default page.

    Therefore, since I'll be fired if I don't have something by Jan 5, I'm trying to put together a flimsy excuse for a web site to demo by then.

    I've got the login and now I want to put more data on the page. I'd prefer to go to a totally separate page, since WHEN I rebuild this damn thing, I'm going to try to re-use as much as possible.

    Therefore: How do I get from the page I'm on to another page?????
    DerFarm
    I talk to squirrels.
    Squirrels Answer.

  6. #5
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    If you mean an automatic redirector, you can either write a Location header (however freaky ASP does that) or a <meta> tag for a refresh.

    But I still don't get what you're saying; what do you want the user to do that causes the page to change?
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  7. #6
    Senior Member
    Join Date
    Mar 2002
    Location
    Alabama sans the damn flag
    Posts
    263
    Member #
    38
    Put in a login and password.

    then press the submit button

    Then I want to go elsewhere. And I'm not using ASP because I can't get the IIS to work
    DerFarm
    I talk to squirrels.
    Squirrels Answer.

  8. #7
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    Just set the <form> tag's action attribute to the filename to which you want to redirect.

    Check out the tutorial here on how to set up Apache/PHP/MySQL (for now you can skip the MySQL part).
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  9. #8
    410
    410 is offline
    Senior Member 410's Avatar
    Join Date
    Nov 2002
    Posts
    109
    Member #
    284
    action= "user.html" within the form tag <form>

    in php:

    print "<FORM ACTION=\"user.php\">";
    print "Email: <INPUT NAME=\"email\" TYPE=\"text\"><BR>";
    print "<INPUT NAME=\"todo\" TYPE=\"hidden\" VALUE=\"dosignup\"><INPUT TYPE=\"submit\" VALUE=\"Sign Up\">";
    }

    Html:
    <form action="user.html">

  10. #9
    Senior Member
    Join Date
    Mar 2002
    Location
    Alabama sans the damn flag
    Posts
    263
    Member #
    38
    My apologies to all. I was absolutely freaking out because of
    personal and work stress.

    I'd decided to try to do it in asp, but couldn't get the IIS working
    properly.

    [blush]it helps to turn it on.[/blush]

    It also help to know to right-click the Default Web Site under the IIS tree.

    I know I'll be back on asking stupid questions, but for the nonce,
    I'm going back to asp. It is, after all, VBScript (or JavaScript) and
    I can make that stuff tie your shoes.

    Thank you one and all, especially 410. I'll need that.
    DerFarm
    I talk to squirrels.
    Squirrels Answer.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:01 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com