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 8 of 8

Thread: Quickjump

  1. #1
    Senior Member teal's Avatar
    Join Date
    Dec 2003
    Posts
    247
    Member #
    4319
    http://www.intergalacon.com/help/quickjump.htm

    This is the type of menu I want to make, and I want it to work so that when you select something and click "jump," it goes to a targeted page. I have no clue how to do it (although I think it may be PHP), but I need it for a page I am currently making a layout for.

    Any help?
    Whoth steps forth to mock the teal? Whom couldst say a color superior!

    Proclamith me, it cannot be done.

  2.  

  3. #2
    WDF Staff Wired's Avatar
    Join Date
    Apr 2003
    Posts
    7,657
    Member #
    1234
    Liked
    138 times
    Actually, a bit of HTML and javascript will do it. Don't know the code offhand though.
    The Rules
    Was another WDF member's post helpful? Click the like button below the post.

    Admin at houseofhelp.com

  4. #3
    Senior Member teal's Avatar
    Join Date
    Dec 2003
    Posts
    247
    Member #
    4319
    I don't suppose you, or anyone out there, could get me that code. I looked everywhere, but I just can't seem to find quite what I want.
    Whoth steps forth to mock the teal? Whom couldst say a color superior!

    Proclamith me, it cannot be done.

  5. #4
    Senior Member Fallout's Avatar
    Join Date
    Aug 2003
    Location
    Richmond, Virginia
    Posts
    543
    Member #
    2748
    You can add this javascript to your page:

    Code:
    <html>
    	<select name="quickjump" class="content" id="quickjump">
              <option value="" selected>Jump to:</option>
              <option value="">-------------</option>
              <option value="" onClick="document.location='index.html'">Home</option>
            </select>
    </html>
    Notice the onClick event for the Home option... just plug in the seperate pages you need in different options and it should work.

  6. #5
    Senior Member teal's Avatar
    Join Date
    Dec 2003
    Posts
    247
    Member #
    4319
    Thanks a lot.
    Whoth steps forth to mock the teal? Whom couldst say a color superior!

    Proclamith me, it cannot be done.

  7. #6
    Senior Member tekp's Avatar
    Join Date
    Jan 2004
    Location
    A small village near a small city near a small cit
    Posts
    918
    Member #
    4667
    Liked
    1 times
    urm... you could have just right clicked on the page and clicked on "View Source"
    tekp :cheeky: tekponline.com

  8. #7
    Senior Member teal's Avatar
    Join Date
    Dec 2003
    Posts
    247
    Member #
    4319
    It isn't that easy to interperate, sometimes, and this is one of those times.

    Anyhow, the code you gave me works magics in Opera, but doesn't seem to do anything in internet explorer. Most of the target audience of the site I am building will probably be using IE, so is there any other way to do this that will work?
    Whoth steps forth to mock the teal? Whom couldst say a color superior!

    Proclamith me, it cannot be done.

  9. #8
    Senior Member teal's Avatar
    Join Date
    Dec 2003
    Posts
    247
    Member #
    4319
    Ok, I found the code I needed, using the FrontPage SDK plug-in pack. To any who may care . . .

    Code:
        <form action="">
         <select onChange="location=this.options[this.selectedIndex].value;" value="GO">
          <option value="GoNowhere" selected>Jump to:</option>
          <option>-----------</option>
    	  <option value="index.htm">Home</option>
         </select>
        </form>
    It works flawlessly, although occasionally Dreamweaver registers an error in it. Thanks for all of your help, anyhow.
    Whoth steps forth to mock the teal? Whom couldst say a color superior!

    Proclamith me, it cannot be done.


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 03:58 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com