HTML - How To...create A Drop Down Menu For Page Jump Links
not sure if i need a js for this but I have a web page using page jump links to navigate a FAQ page.
However, I would rather have a drop down menu/form with the links instead of a list of text links. Anybody have a clue? thanks in advance. This is what I have so far as an example... <form name="jump"><select id="select" name="select"> <option value="" selected="selected">Select</option> <option value="#1">Category 1</option> </select></form> <a id="1" name="1"></a> Category 1 Similar TutorialsHey folks! I guess since I'm new, I can only post in certain catagories. So this is probably not the right place for this thread. (Thats pretty.,uh.....annoying since htmlforums.com is suppose to be a place where people come for help with website construction.) Anyway.,I want to create a drop-down-menu on my pages since I eventually will end up with many. I have a navigation link named 'Archives' on my current pages. I would like to see a drop-down-menu appear when you hover over this link. Can someone please point me to a tutorial on how to do this, or look at my source code/style sheet and show me what to add, and where to add it? (style sheet= http://www.flyfamilyguy.my2gig.com/style.css Thanks! Hello How can I create the below drop menu in Front Page I find the drop menu in this page http://www.flynas.com/eng/index.html I want create same the drop menu and same the color on it how can i do this in Front Page thank you I want to sell some stuff over the internet like cloths.... And I use Pagseguro (Its a brazilain thing, like paypal). So, I have this wordpress site, with pagseguro plugin installed on it. To add products on my posts I use the following code to get the Add to cart button. HTML Code: <object><form method="post" action="" style="display:inline"> <input type="submit" value="Adicionar ao Carrinho" /> <input type="hidden" name="product" value="[b]PRODUCTNAME[/b]" /><input type="hidden" name="price" value="PRODUCTPRICE" /><input type="hidden" name="addcart" value="1" /><input type="hidden" name="cartLink" value="<?php the_permalink() ?>" /> </form></object> The thing is, the plugin is really simple. All it does is: show "add to cart" button and the "pay" button. And like I said, I want to sell cloths. To sell cloths there got to be the Sizes: "S""M""L" and color. And what I wanted to do is: Create a form like this: HTML Code: <form name="jump"> <p align="center"> <select name="menu"> <option value="URL">Text that will appear in the choices</option> <option value="URL">Text that will appear in the choices</option> <option value="URL">Text that will appear in the choices</option> </select> <input type="button" onClick="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" value="GO"> </p> </form> (I found that on http://personal-computer-tutor.com/dropdownlist.htm) On the options there would be the sizes for my clients to choose. And on the "ADD TO CART CODE" (the first code on the top) on the "PRODUCTNAME" part would be a PHP or something that would gather the clients choice and add it there. So when he press the button the product he chose would show on the cart with the size in parentesis. Like this: HTML Code: <object><form method="post" action="" style="display:inline"> <input type="submit" value="Adicionar ao Carrinho" /> <input type="hidden" name="product" value="Alpinestars (<?php GET FORM VALUE ?>)" /><input type="hidden" name="price" value="PRODUCTPRICE" /><input type="hidden" name="addcart" value="1" /><input type="hidden" name="cartLink" value="<?php the_permalink() ?>" /> </form></object> (for the button) and if he chooses small it be like this on the shopping cart: Alpinestars (Small) I know its really difficult to understand My english is really bad. But im really sad because I cant do this by any way. Could yall please help me with my problem? Thank You. Hi, I've been searching around for some help on how to create a quick links drop down menu. I've not been able to find anything to help me. I am looking for my quick links drop down menu to be similar to the one on www.streamline.net Im not sure if this can be acheived by using an HTML form or php? If you have any advice or know of any tutorials please post here. Thank you in advance Where I have a flash drop down nav bar on top of html it is disabling the links that are underneath the flash nav bar. In firefox even the links in the nav bar do not work where they overlap. HELP!!!! Much appreciative ...Cory Here is the link... http://209.40.102.3/cory/PSBrokerage.asp I think there is a simple fix for this...but I can't think of it. My client has an existing site (not very well designed and no templates) with hundreds of static pages. She wants me to create a new home (index.htm) page that is just a simple landing page where people can choose to enter her website OR visit the store to purchase products. Simple enough...but, now all of the 100's of static pages have the link Home=index.htm on them. I want people to type in the URL: www.mysite.com (for example) and land on the new page to choose to go to the site to learn about her and her music OR go to the store to shop. Once they are in the site, however, and hit the home link, I don't want them to go 'all the way back out' to the new landing page. I want them to go back to the 'old' index.htm page (or her current home page), without having to change the index.htm links on those 100's of pages. Is there an easy fix for this, using a naming convention for the home page? Any help would be greatly appreciated. I am a bit stumped on this one. Hi, I'm trying to create a horizontal-scrolling website. I set it up in two frames: the top frame is the navigation, and the bottom frame is the main frame where all of the content is. The content is formed in iframes/div layers. I want, however, the links in the top frame to scroll to the content in the main frame. Help? I've been trying all sorts of things. here's what i have now TOP FRAME: <a href="#news"><img src="mockupnews.jpg" width="101" height="37" border="0"></a> <a href="#issuesmockupindex.html"><img src="mockupissues.jpg" width="118" height="39"></a> <a href="#supportorscontact"><img src="mockupsupportors.jpg" width="219" height="35" border="0"></a> <a href="#supportorscontact"><img src="mockupcontact.jpg" width="142" height="38"></a> MAIN FRAME: <div id="Layer1"><img src="mockup1.jpg" width="2032" height="600" /><img src="mockup2.jpg" width="1628" height="600" /><img src="mockup3.jpg" width="1380" height="600" /></div> <a name="news"><div id="Layer2"><iframe src ="/newsfeed.html" name="news" width="100%" height="550"></a></iframe></div> <a name="issues"><div id="Layer3"><iframe src ="/issues.html" name="issues" width="100%" height="550"></a></iframe></div> <div id="Layer4"><iframe src ="/supportcontact.html" name="supportcontact" width="100%" height="550"></a></iframe></div> Hi i am trying to put this page in an normal IFRAME: http://www.krishnamedia.org/ebooks/1.1.htm But everytime i open the pages with the jump menu it opens in a new page NOT the iframe, whys it doing that!?? This is the Iframe urls:: http://www.krishnamedia.org/ebooks/widget.htm Hey guys, I was wondering if anyone could help me? I wish to produce a website which works in the following way: The header and footer remain the same, and do not reload on page refresh. Then, links on a menu bar stimulate loading a new page, however only the content below the header changes. An example of this, is the CushyCMS website (http://www.cushycms.com). When you click the menu links, the header doesn't reload, only the page content does. How would I do this? My reason for wanting this method, is because I wish to have an image slider present within the header of all of my pages, and I don't wish to have to update every page each time I wish to add an image. Please help? Many thanks, Luke Hello HTML Forum, I've been looking everywhere for some solution to making a normal jump menu, like the one below: HTML Code: <form name="form1"> <select name="menu1" onChange="MM_jumpMenu('parent',this,0)"> <option value="#">unnamed1</option> <option value="#">unnamed2</option> <option value="#">unnamed3</option> <option value="#">unnamed4</option> </select> </form> - into something more attractive, with rounded corners for example. I've seen enough Nifty Corners Cubes and the sorts. Please help me out with some CSS. I'm stumped! By the way... I might've posted this in the wrong section, but there were more readers here.. I just realised that too... Sorry. I have a table with two cells. The top cell has a jump menu created in Dreamweaver and reads as follows: Code: <form name="form" id="form"> <select name="jumpMenu" id="jumpMenu" onchange="MM_jumpMenu('parent',this,0)"> <option value="#" selected="selected">Choose</option> <option value="http://www.myURL.com" target="foo">myURL</option> </select> </form> When I choose an option I want the results to appear in the cell below which I've populated with an iframe: Code: <iframe name="foo"></iframe> When I 'change' the jump menu, it takes me to a new page rather than populating the iframe in the target cell. How do I make the change in the jump menu call the URL into the cell below without directing me to a new page? Thanks in advance - sleepydad Hello guys ! Ok, i have this website: www.global-publicity.com and, how you see, i have two jump menus there . Well i wonder how can i do to click on Choose continent and when i click on Europe automatically open in left and right frames two html pages in there BUT open my second menu also (ROMANIA) Hope you understand and sorry for my bad english... First, forgive me i'm a noob! Am attempting to rebuild our sorry website. Am kinda picking the whole html thing up, however, am building in frontpage and expressions because those are the programs i have. page i'm working on is: ygcc.org/testing i embedded a video, but would like to position it to line up w/ everything else. i like how it looks centered, but its not aligned correctly w/ the other objects on the page. also, everything else is "positioned" on the page, whereas the media is "aligned" so, it doesn't stay put if i resize my browser next problem i'm having is jump menu or tree menu. i want a drop boxes, such as are on the page, however, would like it if it was a horizontal menu, not individual boxes like they are. right now, the drop boxes are only drop boxes (for "forms") and do not hyperlink. if i "insert jumpmenu" then, i cannot put them beside each other in a row. if i attempt to put them in a row, they are like steps, not straight across. i d/led a program to help w/ menus, but i don't even understand it. when i attempted what it told me to do, i do not get a menu. i know i need to put javascript in, but apparently do not understand this enough to actually do it. in short i would truly appreciate some help. thanks in advance here's the initial page: http://www.shscorp.ca/content.aspx?f...incentives.htm If you click on "GLOBE Board of Directors" on the left hand menu, it won't jump to the section #board on the index.htm page. Why is that? I already placed the <a name="board"></a> tag on the other page. Any help is great. Hello All, I am new to this forum and this seems like a great place for information. I am having a problem with this page that I am working on for a client. The page consists of an iframe below a embedded viddler movie. The problem is that when the page loads, it jumps to the beginning of the iframe. On some browsers it jumps back to the top after it is finished loading, but in the dreaded IE it stays at the page jump. I don't have any code in the page that can be mistaken for a standard page jump. (at least I don't think that I do) Any help would be greatly appreciated. Thanks, -jsproul Here is the code for the page: Code: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>it made a difference</title> <style type="text/css"> body { padding: 0px; margin: 0px; background-image: url('images/main_bkg.jpg'); background-repeat: repeat-x; background-color: #ffea99; } .content { background-image: url('images/bkg.jpg'); background-repeat: no-repeat; background-color: #fbc617; /**padding-top: 20px; border-top: 0px; border-bottom: 0px; border-left: 3px; border-right: 3px; border-style: solid; border-color: #ffffff;**/ } #myFrame { background-color: #ffffff; padding-left: 10px; } .comments { width: 495px; height: 19px; background-color: #ff9900; font-family: helvetica; font-weight: bold; font-size: 14px; color: #ffffff; margin: 0px; padding-right: 0px; padding-top: 5px; padding-left: 5px; text-align: left; } </style> </head> <body> <center> <table width="860px" cellpadding="0" border="0" cellspacing="0"> <tr><td style="background-color: #ff9900; padding: 10px;" align="right"><img src="images/itmade.png" /></td></tr> <tr> <td width="860" align="center"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="860" height="486" id="viddler_d50deae6"><param name="movie" value="http://www.viddler.com/simple/d50deae6/" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><embed src="http://www.viddler.com/simple/d50deae6/" width="860" height="486" type="application/x-shockwave-flash" allowScriptAccess="always" allowFullScreen="true" name="viddler_d50deae6" ></embed></object></td> </tr> </table> <table class="content" width="860px" cellpadding="0" border="0" cellspacing="0"> <tr><td width="40px"> </td> <td align="center" width="250" valign="top" style="padding-top: 30px;"><img src="images/location.png" /><br /><br /><br /><a href="http://www.begousa.com" target="_blank"><img src="images/bego_logo.png" border="0" /></a><br /><br /><img src="images/preat_logo.gif" /><br /><br /><br /><!-- AddThis Button BEGIN --> <script type="text/javascript">var addthis_pub = "aardvarkri";</script> <a href="http://www.addthis.com/bookmark.php" onmouseover="return addthis_open(this, '', '[url]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-share-en.gif" width="125" height="16" border="0" alt="" /></a><script type="text/javascript" src="http://s7.addthis.com/js/152/addthis_widget.js"></script> <!-- AddThis Button END --></td> <td valign="top" align="left" style="padding-top: 20px;"> <div class="comments">Comments:</div> <iframe src="http://itmadeadifference.wordpress.com/2008/12/15/3/#respond" style="background-color: #ffffff; padding-left: 10px;" scrolling="yes" width="490px" height="600px" frameborder="0" marginwidth="0" marginheight="0"></iframe> </td><td width="40px"> </td> </tr> </table> </center> </body> </html>` Hello. =) On one of my webpages, I want to link to a specific page in a PDF file. I can't get it to work in Firefox for some reason, and I haven't found the answer online. I used this in Internet Explorer, and it worked just fine: http://www.mysite.com/doc2.pdf#page=6 Is there a way to do the same thing in Firefox? I hope someone can help; thanks in advance! Hey all. Can anyone help? I want to make a feature of my site that if you follow a broken link or navigate to a page that doesnt exist, you will get one of 3 different 404 pages. My hosting allows for one catch - all error page, but I was wondering if theres a function in html that redirects immediately to aother page. Thanks in advance Sorry, my title is unclear see if I can explain it better he ok when I click from any of the other pages to the menu page, the name and address (which is on every page in the same place) moves to the left slightly. the name and address stay in the same place when clicking to and from any of the other pages, its just the menu page with this hiccup. This happens both in IE and Firefox. Any ideas on how to correct this?? HTML of home page: Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Language" content="EN-GB"> <meta name="author" content="xxxxxxx"> <meta name="description" content="Kabasa Guest House and Restaurant - Online"> <meta name="copyright" content="2011"> <meta name="keywords" content="Kabasa Guest House and Restaurant, Places to stay in Kenya, Accomdation in Kenya"> <title>Kabasa Guest House and Restaurant</title> <link rel="stylesheet" type="text/css" href="styles6.css"> </head> <body> <ul id="navbar"> <li><a href="home.html">HOME</a></li> <li><a href="menu.html">MENU</a></li> <li><a href="room.html">ROOMS</a></li> <li><a href="rates.html">RATES</a></li> <li><a href="book.html">BOOK</a></li> </ul> <div id="header"> <h1>Kabasa Guest House and Restaurant</h1> <div id="address"> <pre> xxxxxxxx xxxxxxx xxxxxxxxx Tel: +00000000000 </pre> </div> </div> <br> <p class="center"> The Kabasa guest house and restaurant is situated just a<br> few metres from the worlds second largest fresh water<br> Lake Victoria. We welcome you to come and experience our<br> accommodation with excellent service at affordable rates.<br> </p> <br> <img src="Images/d4.jpg" class="center"/> <br> <div id="footer"> <p>Copyright 2011 © Kabasa Guest House and Restaurant. All rights reserved</p> </div> </body> </html> HTNL of the menu page: Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Language" content="EN-GB"> <meta name="author" content="xxxxxx"> <meta name="description" content="Kabasa Guest House and Restaurant - Online"> <meta name="copyright" content="2011"> <meta name="keywords" content="Kabasa Guest House and Restaurant, Places to stay in Kenya, Accomdation in Kenya"> <title>Kabasa Guest House and Restaurant</title> <link rel="stylesheet" type="text/css" href="styles6.css"> </head> <body> <ul id="navbar"> <li><a href="home.html">HOME</a></li> <li><a href="menu.html">MENU</a></li> <li><a href="room.html">ROOMS</a></li> <li><a href="rates.html">RATES</a></li> <li><a href="book.html">BOOK</a></li> </ul> <div id="header"> <h1>Kabasa Guest House and Restaurant</h1> <div id="address"> <pre> xxxxxxxxxx xxxxxxxx xxxxxxxxx Tel: +0000000000 </pre> </div> </div> <h2>Menu</h2> <div id="menucenter"><b>We offer a full continental buffet breakfast table service by order.</b> <b>We also offer room service.</b></div> <div id="menu"> <pre> <u>Full Breakfast</u> Our full breakfast gives you a choice of the following: Fruits : Pineapple, Watermelon, Sweet Banana, Pawpaw, Oranges Fresh Juice : Passion, Mango, ****tail Cereal : Weetabix or Corn flakes served with cold or warm milk Toast, sausages, eggs and bacon <u>Beverages</u> Drinking chocolate, Tea, Nescafe, Milo <u>Snacks</u> Sandwiches (by order), chips, sausages, beef rolls, samosas (chicken, beef and vegetables), meat pie, cakes. <u>Main meals/courses</u> Chicken Curry, Chicken Masala, chicken stew, butter chicken, boiled chicken, chicken biriani, chicken wet fry. All served with Rice, ugali, chapatti, pasta, spaghetti and vegetables with garnishing Beef Stroganoff, beef stew, beef curry, fried beef, boiled beef, beef masala Whole (stewed or fried) tilapia, Fish fillet in coconut source, Fresh (stewed Tilapia), Whole (masala) Tilapia All Served with rice, ugali, chapatti and vegetable garnishing <u>Soups</u> Vegetable cream, Tomato cream, French onion soup, Served with Crotons. Traditional Kenyan Vegetables served with Ugali, Rice, Mash Potatoe, Boiled Potatoes, Baked Potatoes and fried vegetable rice <u>Salads</u> Kachumbari, we also have a number of assorted fruits and vegetable salads. <u>Burgers</u> Cheese beef burgers, Egg beef burgers, Beef burgers <u>Choma Zone</u> T-bone steak (400gms), pork chops, barbeque chicken, prime fillet steak <u>Beers</u> Tusker, White Cap (Tusker Malt), Guinness, Smirnoff ice (black and red) <u>Juices</u> Soda, Alvaro, Novida, Mineral water, Passion, Avocado </pre> </div> <div id="footer"> <p>Copyright 2011 © Kabasa Guest House and Restaurant. All rights reserved</p> </div> </body> </html> CSS: Code: body { margin:2% 4%; font-family:'lucida grande',tahoma,helvetica,sans-serif; font-size:11pt; color:#006; background:#ffc; } #navbar { float:left; width:12%; margin:0; padding:0; font-size:20px; list-style-type:none; } #navbar li { margin-bottom:2px; } #navbar a { display:block; padding-left:8px; background-color:#cff; } #navbar a:hover { color:#000; background-color:#fff; } #header { margin-left:%; } h1 { text-align:center; margin-right: 10%; } #address { width:182px; padding:0 4px; margin: auto; font-family:arial,sans-serif; font-size:10pt; font-weight: bold; background-color:#fff; filter:alpha(opacity=75); opacity: 0.75; } h2 { clear:both; margin-top:3%; margin-left:%; text-align:center; } h3 { clear:both; margin-top:3%; margin-left:%; text-align:center; } h6 { margin: auto; left:0; right:0; width: 655px; font-weight: bold; font-size: 10pt; font-family: arial, sans-serif; } #rates { padding:8px; background-color:#fff; filter:alpha(opacity=75); opacity: 0.75; } #rates span { text-decoration:underline; font-weight:bolder; } #menu { margin: auto; left:0; right:0; width: 675px; background-color:#fff; filter:alpha(opacity=75); opacity: 0.75; } #menucenter { text-align: center; } p.center { text-align: center; } img.center { margin-left: auto; margin-right: auto; display: block; } #footer { clear: both; width: 100%; font-family: Arial Unicode MS; font-size: 8pt; text-align: center; } Many thanks Jackie Hi, here is my problem... I need to know how to make a link to a specal section of another page. For example: "Browse by artist - A B C D E F G ect..." I want to have all of the letters be a link to the "list of artists" page but I need them to lead the user to that section whether it be the "A", "M" or "Z" section. Hope you can help, until then i be answering as many of your questions as I can. Thanks! |