Author Topic: Drop Down Buttons  (Read 3672 times)

Offline hidden

  • Checking the place out
  • *
  • Posts: 6
    • Sharon Anne, Share Alike... Cooking!
Drop Down Buttons
« on: March 22, 2008, 02:21:01 AM »
Please, please, please! Is there a way for me to build drop down buttons for CSB?  ???
i.e.: As in Amazon's Shop All Departments, see http://www.amazon.com/

Thank you so much in advance, if you can tell me how; if not, thanks anyway for the board. :yes:

Warmly,
Sharon Anne
« Last Edit: March 22, 2008, 02:37:17 AM by Sharon Anne »

Offline hidden

  • Sami
  • Administrator
  • Senior Member
  • *****
  • Posts: 5921
  • Not a geek. Just a Nerd.
    • CSB Tutorials
Re: Drop Down Buttons
« Reply #1 on: March 22, 2008, 09:46:09 AM »
SURE!  I use them all the time!!!

Use INSERT > HTML option (on the toolbar menu) to insert a piece of script into your page.
Dynamic Drive and The JavaScript Source are great sources for things like this.


Here's a simple one I use.
Opens an 800x600 page (could be changed) that is adjustable by your visitor.
Use complete url addresses or truncated (I showed both below).



Code: [Select]
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
function formHandler(form) {
var windowprops = "width=790,height=570,directories=yes,location=yes,menubar=yes,scrollbars=yes,status=yes,toolbar=yes,resizable=yes,top=0,left=5";
var URL = form.site.options[form.site.selectedIndex].value;
popup = window.open(URL,"MenuPopup",windowprops);
}
// End -->
</script>
<center>
<form name=form>
<select name=site SIZE=1 style="background-color:#FFCC00" onChange="formHandler(this.form)">
<option value="http://www.domain.com">Open these pages in a New Window...
<option value="/id1.htm">Product Groups
<option value="/id2.htm">Contact Us
<option value="/color">Charts and Graphs
<option value="/guides">Selection Guides
<option value="/resources">Resource Center
<option value="/resource/id5.htm">--F.A.Q. - Frequently Asked Questions
<option value="/resource/catalog.pdf">--Printable catalog
</select>
</form>
</center>


Lots of versions of scripts that do similar things!

Here's one with a description under the name:
h**p://www.dynamicdrive.com/dynamicindex1/combodescribe.htm

(moved this thread to GENERAL CSB QUESTIONS for better organization  :))
« Last Edit: April 18, 2010, 11:42:27 AM by Samrc »
-Samantha
TNG: "Sometimes, you can make no mistakes, do everything right, and still lose" - Capt Picard to Data
(:turtle: In memory of Turtle: May 22, 1944 - Nov 24, 2007  GURU, mentor, and really nice guy! :turtleleft: )

Offline hidden

  • Checking the place out
  • *
  • Posts: 6
    • Sharon Anne, Share Alike... Cooking!
Re: Drop Down Buttons
« Reply #2 on: March 22, 2008, 04:24:10 PM »
Thank you. Now to make sure we are on the same page, so to speak. The type of drop down buttons I am looking for are one that are usually on the left side of the website. For example on several sites, you can see:

1) The page links are set up like in a column (or a table of buttons)
2) Then as you place your cursor over the page link, up comes a drop down box
3) This new column of drop down buttons have been linked to the previous page.

Please see Amazon's Shop All Departments, see http://www.amazon.com/  i.e.:
Books >
Movies, Music & Games >
Digital Downloads >
Electronics & Computers >

So on, and so on. If the HTML codes you shared are create this, again THANK YOU, if not I hope I was able to clarify better what I am needing.

Warmly,
Sharon Anne

Offline hidden

  • Sami
  • Administrator
  • Senior Member
  • *****
  • Posts: 5921
  • Not a geek. Just a Nerd.
    • CSB Tutorials
Re: Drop Down Buttons
« Reply #3 on: March 22, 2008, 08:06:20 PM »
AH.... not a dropdown menu in a BOX. 

You refer to Dynamic Menus.
Yes of course we can use MANY types of this script.

Dynamic Drive and other script sites offer some very light weight simplistic menus.
here's one of them... h**p://www.dynamicdrive.com/dynamicindex1/anylinkvertical.htm

Most CSB folks that make those menus use XARA products (Menu Maker or webstyle 4 -has menus and other things). or AllWebMenus from Likno.com  3 samples with AWM are shown here.  Some of us actually use more than one program, depending on the need.
Etienne has tpacc.com that has a current AWM menu.  tuckerkirby.com has an xara menu.
« Last Edit: March 22, 2008, 08:56:03 PM by Samrc »
-Samantha
TNG: "Sometimes, you can make no mistakes, do everything right, and still lose" - Capt Picard to Data
(:turtle: In memory of Turtle: May 22, 1944 - Nov 24, 2007  GURU, mentor, and really nice guy! :turtleleft: )