Help with dropdown menu in JCombo box,Pleaseeeeeee

Hi,
I posted earlier but I`II try again. Someone must know how to do this. I have a JComboBox and I want the drop down menu to be a bit wider then the comboBox.
I tried using this method
public void setPreferredSize()
          Dimension d = jcbo.getPreferredSize(d);
          jcbo.setPreferredSize(new Dimension(20, d.height));
          jcbo.setPopupWidth(d.width);
but I recieved a couldn`t resolve symbol error for the last line.
I imported these into the program]
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
Is there something else I should of imported as well to make this work, or is it another problem all together.Any help would be greatly appreciated.

Hi , What I want to do is have the dropmenu a bit wider then the comboBox. Here is my code.Please excuse any odd ball mistakes, At this point I have been trying anything.This is an exercise that I have to do fo a java assignment, Hence the weird GUI. In the example pic they gave me.It shows the dropmenu a bit wider than the comboBox, I am sure they through this in to screw with my brain, I have put comment tags Around the stuff I tried to use. Any help with this would be greatly appreciated.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
//import javax.swing.plaf.basic.*;
public class Exercise9_3 extends JFrame implements ActionListener
     private JTextField nameField;
     private JTextArea nameArea;
     private JButton storeButton;
     private JComboBox jcbo;
     private JPopupMenu popup;
     protected int popupWidth;
     String newline = "\n";
     public Exercise9_3()
          createComponets();
          addComponets();
          setTitle("Exercise9_3");
     private void createComponets ()
          nameField = new JTextField(19);
          nameArea = new JTextArea(10, 15);
          storeButton = new JButton("Store");
          storeButton.addActionListener(this);
          jcbo = new JComboBox();
          jcbo.addActionListener(this);
     /*8public void setPreferredSize()
          Dimension d = jcbo.getPreferredSize(d);
          //jcbo.setPreferredSize(new Dimension(20, d.height));
          //jcbo.setPopupWidth(d.width);
     private void addComponets()
          JPanel p1 = new JPanel();
          p1.setLayout (new FlowLayout());
          p1.add(nameField);
          p1.add(nameArea);
          p1.add(jcbo);
          JPanel p2 = new JPanel();
          p2.setLayout (new FlowLayout());
          p2.add (storeButton);
          getContentPane().setLayout(new BorderLayout());
          getContentPane().add(p1, BorderLayout.CENTER);
          getContentPane().add(p2, BorderLayout.SOUTH);
     public void actionPerformed(ActionEvent e)
          if(e.getSource() == storeButton)
               String s = nameField.getText();
               jcbo.addItem(s);
               jcbo.setSelectedItem(s);
               String textArea = s ;
               String text = nameField.getText();
               nameArea.append(text + newline);
     nameField.selectAll();
     nameField.setText("");
     nameField.requestFocus();
          if (e.getSource() == jcbo)
/**retrieve the input as a string*/
String selectedName = (String)jcbo.getSelectedItem();
/**set the name that was selected from the ComboBox and add it to textfield*/
nameField.setText(selectedName);
     public static void main(String [] args)
          Exercise9_3 frame = new Exercise9_3();
          frame.setDefaultCloseOperation(EXIT_ON_CLOSE);
          frame.pack();
          frame.setVisible(true);
          Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
          int screenWidth = screenSize.width;
          int screenHeight = screenSize.height;
          // Get dimension of the frame
          Dimension frameSize = frame.getSize();
          int x = (screenWidth - frameSize.width)/2;
          int y = (screenHeight- frameSize.height)/2;
     frame.setLocation(x,y);

Similar Messages

  • Help with dropdown menu

    This is the code for the select menu. It all work okay. The
    problem is that I need to determine the selection value later in an
    if statement so I can change code based on the selection. No matter
    what sytax I use to reference the selection box, I get an error:
    Expected Then. Please someone help!!
    <select name="id<% = rs("ProductId")%>selectcolor"
    id="selectcolor" onChange="colorchoice">
    <%
    While (NOT rscolors.EOF)
    %>
    <% if Left(Request.Querystring("maingroup"), 1)= "A"
    then%>
    <option
    value="<%=(rscolors.Fields.Item("ColorSuffix").Value)%>"
    selected><%=(rscolors.Fields.Item("Color").Value)%></option>
    <%elseIF rscolors("ColorSuffix") < 49 Then%>
    <option
    value="<%=(rscolors.Fields.Item("ColorSuffix").Value)%>"><%=(rscolors.Fields.Item("Color" ).Value)%></option>
    <%else%>
    <%end if %>
    <% rscolors.MoveNext()%>
    <%Wend
    </select>

    With using straight code you will not be able to determine
    the selected
    value of a dropdown until the form is processed. However you
    may be able to
    get a client side javascript that will grab the values as the
    dropdown
    changes.
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "Reannon" <[email protected]> wrote in
    message
    news:et9k0d$cfg$[email protected]..
    > This is the code for the select menu. It all work okay.
    The problem is
    > that I
    > need to determine the selection value later in an if
    statement so I can
    > change
    > code based on the selection. No matter what sytax I use
    to reference the
    > selection box, I get an error: Expected Then. Please
    someone help!!
    >
    > <select name="id<% =
    rs("ProductId")%>selectcolor" id="selectcolor"
    > onChange="colorchoice">
    > <%
    > While (NOT rscolors.EOF)
    > %>
    > <% if Left(Request.Querystring("maingroup"), 1)= "A"
    then%>
    > <option
    value="<%=(rscolors.Fields.Item("ColorSuffix").Value)%>"
    >
    selected><%=(rscolors.Fields.Item("Color").Value)%></option>
    > <%elseIF rscolors("ColorSuffix") < 49 Then%>
    > <option
    >
    value="<%=(rscolors.Fields.Item("ColorSuffix").Value)%>"><%=(rscolors.Fields.Ite
    > m("Color").Value)%></option>
    > <%else%>
    > <%end if %>
    > <% rscolors.MoveNext()%>
    >
    > <%Wend
    > </select>
    >

  • Button with dropdown menu

    Hi,
    i am new at apex and i try to create a button with dropdown menu. any help? i dont want to use plugin but create a new one... i know that i need jquery and i have tha basic knowledge.
    thanks,
    Adven

    Hi,
    You could try to create a list with as template Pull Down Menu.
    Make sure that you create parent-child relations to get the pull down menu options.
    It also depends on the theme you pick up.
    Hope it works for u
    Sunil Bhatia

  • Help with date validation on input boxes.

    I need some help with date validation on input boxes.
    What I�m trying to create is a form where a user inputs dates and then the rest of the form calculates the other dates for them.
    i.e. � A user inputs 2 dates (A & B) and then a 3rd date which is 11 weeks before date B is calculated automatically.
    Is this possible and if so how do I do it ???
    Thanks

    Hi,
    to get third date try this:
    java.util.Date bDate = ...;
    Calendar yourCalendar = new GregorianCalendar();
    yourCalendar.setTime(bDate);
    yourCalendar.roll(Calendar.WEEK_OF_YEAR, -11);
    java.util.Date cDate = yourCalendar.getTime();Regards
    Ldinka

  • Help with Spry Menu - stopped working

    Dear Forum,
    I used a Spry Horizonatal Bar menu successfully in a site I
    am building. After I modified it to suit my needs it was working
    fine (changed colors, font, variable width box, modified hacks for
    IE6) until I did some code cleaning to achieve WC3 validation. I
    had to change many things in the code, but as far as I am aware
    nothing was even remotely tied to the menu. After several passages
    I realized with horror that the menu (still there) are not working
    anymore. The pull down does not work. I attach the link of the test
    site here:
    site
    Is anyone able to tell me what's not ok in it. I must point
    out that senpai.js do not exists; should i remove that lin of code
    (I am wondering if it does create a conflict - I removed it but to
    no effect, then decided to put it back so I can show you the site
    as it is).
    I would appreciate any help, I am not expert, this is my
    first site and I am sure I am doing something silly; if I just knew
    what it is! I am getting mad trying to progress with this. Now I
    have valid code, with a menu not working! Not too good as you can
    see.
    Help, ideas anyone?
    Thanks in advance!
    A

    syavar: Brilliant!
    I'm on Windows 7 64bit and this Pages panel stuff was driving me nuts: thumbnails at the far right, snapping shut panel when attempting to resize, no scroll bar, blank panel, everything poopy. I tried all the standard deviations: uninstall/reinstall, new workspace, Ctrl+Shift+Alt on startup, delete files manually, and only ocassionally did the Pages panel work as expected, then it would almost immediately revert to bad stuff.
    Your solution worked like a charm, and I thank you from the bottom of my heart...<G>

  • Interactivity with dropdown menu

    Hi,
    I need dropdown menu for my project. I know Captivate is
    giving dropdown menu if i use project>Skin but its skin is not
    matching with my project interface also it is not letting me to
    customized it.
    If i make the dropdown menu in flash and import the .swf in
    captivate, is it possible to give interactivity to flash
    dropdownmenu to the captivate slides and if yes how to do it?

    Hello pocketPc
    In most cases you would create this the same way that you
    would any other kind of interactive simulation.
    You start by capturing your screens using either the training
    simulation or assessment simulation recording mode. Captivate would
    then add click boxes to the dropdown menu and radio button when you
    click on these items in the application you are capturing your
    screens from.
    That way once you finish your screen capture session you
    would end up with a slide that shows for example the radio button
    in its default state and another slide with the radio button
    selected. Same goes for the dropdown menu.
    If this isn't what you require then please provide us with
    some more details so that you can advise you better.
    Regards,
    Mark

  • Android – html with dropdown menu not working

    hi everybody,
    I'm creating a digital pubblication fo android and I'm testing it on an Asus tablet.
    I just have a big html widget showing a local web application. Everything works except a simple dropdown menu: when I tap on the button that should open the dropdown items, the button highlights itself, but the options don't appear.
    this the HTML code:
      Size:   4
    4,5
    5
    5,5
    6
    6,5
    7
    7,5
    8
    8,5
    9
    9,5
    10
    10,5
    11
    11,5
    12
    12,5
    13
    13,5   
    I'm sure it worked on a Samsung tablet (within the DPS app), and it works on the Asus if I access to the application via browser.
    it only doesn't work when loading it within the DPS app on the Asus device. is the tablet brand the problem?
    my android version is: 4.2.2.
    anybody can help me, please?
    thank you very much.

    it works with the native android viewer!
    but with this there's another problema (that the legacy one doesn't have): I have a simple form and the last text field appears beneath the keyboard.
    with the legacy viewer each time I move the focus from a textfield to the next one, the text field moves upwards to be visible (and not hidden by the keyboard).
    this is the code for the form:
    <div data-role="fieldcontain" class="text-field">
      <label for="firstname">Nome:</label>
      <input type="text" name="firstname" value="" placeholder="" class="required" id="firstname" />
      </div>
      <div data-role="fieldcontain" class="text-field">
      <label for="surname">Cognome:</label>
      <input type="text" name="surname" value="" placeholder="" class="required" id="surname" />
      </div>
      <div data-role="fieldcontain" class="text-field">
      <label for="surname">Indirizzo:</label>
      <input type="text" name="address" value="" placeholder="" id="address" class="required"/>
      </div>
      <div data-role="fieldcontain" class="text-field">
      <label for="email">Email:</label>
      <input type="email" name="email" value="" placeholder="" class="required" id="email"  title="Your error message" />
      <div class='error_message'></div>
      </div>
      <div data-role="fieldcontain" class="text-field note">
      <label for="message">Note :</label>
      <textarea name="message" id="message" placeholder="" ></textarea>
      </div>
      <div data-role="fieldcontain" class="text-field mail">
      <label for="email_shop">Email negozio:</label>
      <input type="email" name="email_shop" value="" placeholder="" class="required" id="email_shop"  />
      </div>

  • Help with Horizontal Menu Bar in IE

    I am having trouble with my menu bar in IE.  It works fine in Opera, Firefox, and Safari.  In IE when you hover over it it opens on the left hand side and not straight down.  I have tried many things others have suggested with no luck.  I am not very good with code and this is the first website I have worked on as part of my job (wasn't hired on as a web designer! I work on a horse farm!). Here is the link to the site www.garnercreekfarms.com. 
    Here is my JS:
    // SpryMenuBar.js - version 0.12 - Spry Pre-Release 1.6.1
    // Copyright (c) 2006. Adobe Systems Incorporated.
    // All rights reserved.
    // Redistribution and use in source and binary forms, with or without
    // modification, are permitted provided that the following conditions are met:
    //   * Redistributions of source code must retain the above copyright notice,
    //     this list of conditions and the following disclaimer.
    //   * Redistributions in binary form must reproduce the above copyright notice,
    //     this list of conditions and the following disclaimer in the documentation
    //     and/or other materials provided with the distribution.
    //   * Neither the name of Adobe Systems Incorporated nor the names of its
    //     contributors may be used to endorse or promote products derived from this
    //     software without specific prior written permission.
    // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    // POSSIBILITY OF SUCH DAMAGE.
    SpryMenuBar.js
    This file handles the JavaScript for Spry Menu Bar.  You should have no need
    to edit this file.  Some highlights of the MenuBar object is that timers are
    used to keep submenus from showing up until the user has hovered over the parent
    menu item for some time, as well as a timer for when they leave a submenu to keep
    showing that submenu until the timer fires.
    var Spry; if (!Spry) Spry = {}; if (!Spry.Widget) Spry.Widget = {};
    Spry.BrowserSniff = function()
    var b = navigator.appName.toString();
    var up = navigator.platform.toString();
    var ua = navigator.userAgent.toString();
    this.mozilla = this.ie = this.opera = this.safari = false;
    var re_opera = /Opera.([0-9\.]*)/i;
    var re_msie = /MSIE.([0-9\.]*)/i;
    var re_gecko = /gecko/i;
    var re_safari = /(applewebkit|safari)\/([\d\.]*)/i;
    var r = false;
    if ( (r = ua.match(re_opera))) {
    this.opera = true;
    this.version = parseFloat(r[1]);
    } else if ( (r = ua.match(re_msie))) {
    this.ie = true;
    this.version = parseFloat(r[1]);
    } else if ( (r = ua.match(re_safari))) {
    this.safari = true;
    this.version = parseFloat(r[2]);
    } else if (ua.match(re_gecko)) {
    var re_gecko_version = /rv:\s*([0-9\.]+)/i;
    r = ua.match(re_gecko_version);
    this.mozilla = true;
    this.version = parseFloat(r[1]);
    this.windows = this.mac = this.linux = false;
    this.Platform = ua.match(/windows/i) ? "windows" :
    (ua.match(/linux/i) ? "linux" :
    (ua.match(/mac/i) ? "mac" :
    ua.match(/unix/i)? "unix" : "unknown"));
    this[this.Platform] = true;
    this.v = this.version;
    if (this.safari && this.mac && this.mozilla) {
    this.mozilla = false;
    Spry.is = new Spry.BrowserSniff();
    // Constructor for Menu Bar
    // element should be an ID of an unordered list (<ul> tag)
    // preloadImage1 and preloadImage2 are images for the rollover state of a menu
    Spry.Widget.MenuBar = function(element, opts)
    this.init(element, opts);
    Spry.Widget.MenuBar.prototype.init = function(element, opts)
    this.element = this.getElement(element);
    // represents the current (sub)menu we are operating on
    this.currMenu = null;
    this.showDelay = 250;
    this.hideDelay = 600;
    if(typeof document.getElementById == 'undefined' || (navigator.vendor == 'Apple Computer, Inc.' && typeof window.XMLHttpRequest == 'undefined') || (Spry.is.ie && typeof document.uniqueID == 'undefined'))
    // bail on older unsupported browsers
    return;
    // Fix IE6 CSS images flicker
    if (Spry.is.ie && Spry.is.version < 7){
    try {
    document.execCommand("BackgroundImageCache", false, true);
    } catch(err) {}
    this.upKeyCode = Spry.Widget.MenuBar.KEY_UP;
    this.downKeyCode = Spry.Widget.MenuBar.KEY_DOWN;
    this.leftKeyCode = Spry.Widget.MenuBar.KEY_LEFT;
    this.rightKeyCode = Spry.Widget.MenuBar.KEY_RIGHT;
    this.escKeyCode = Spry.Widget.MenuBar.KEY_ESC;
    this.hoverClass = 'MenuBarItemHover';
    this.subHoverClass = 'MenuBarItemSubmenuHover';
    this.subVisibleClass ='MenuBarSubmenuVisible';
    this.hasSubClass = 'MenuBarItemSubmenu';
    this.activeClass = 'MenuBarActive';
    this.isieClass = 'MenuBarItemIE';
    this.verticalClass = 'MenuBarVertical';
    this.horizontalClass = 'MenuBarHorizontal';
    this.enableKeyboardNavigation = true;
    this.hasFocus = false;
    // load hover images now
    if(opts)
    for(var k in opts)
    if (typeof this[k] == 'undefined')
    var rollover = new Image;
    rollover.src = opts[k];
    Spry.Widget.MenuBar.setOptions(this, opts);
    // safari doesn't support tabindex
    if (Spry.is.safari)
    this.enableKeyboardNavigation = false;
    if(this.element)
    this.currMenu = this.element;
    var items = this.element.getElementsByTagName('li');
    for(var i=0; i<items.length; i++)
    if (i > 0 && this.enableKeyboardNavigation)
    items[i].getElementsByTagName('a')[0].tabIndex='-1';
    this.initialize(items[i], element);
    if(Spry.is.ie)
    this.addClassName(items[i], this.isieClass);
    items[i].style.position = "static";
    if (this.enableKeyboardNavigation)
    var self = this;
    this.addEventListener(document, 'keydown', function(e){self.keyDown(e); }, false);
    if(Spry.is.ie)
    if(this.hasClassName(this.element, this.verticalClass))
    this.element.style.position = "relative";
    var linkitems = this.element.getElementsByTagName('a');
    for(var i=0; i<linkitems.length; i++)
    linkitems[i].style.position = "relative";
    Spry.Widget.MenuBar.KEY_ESC = 27;
    Spry.Widget.MenuBar.KEY_UP = 38;
    Spry.Widget.MenuBar.KEY_DOWN = 40;
    Spry.Widget.MenuBar.KEY_LEFT = 37;
    Spry.Widget.MenuBar.KEY_RIGHT = 39;
    Spry.Widget.MenuBar.prototype.getElement = function(ele)
    if (ele && typeof ele == "string")
    return document.getElementById(ele);
    return ele;
    Spry.Widget.MenuBar.prototype.hasClassName = function(ele, className)
    if (!ele || !className || !ele.className || ele.className.search(new RegExp("\\b" + className + "\\b")) == -1)
    return false;
    return true;
    Spry.Widget.MenuBar.prototype.addClassName = function(ele, className)
    if (!ele || !className || this.hasClassName(ele, className))
    return;
    ele.className += (ele.className ? " " : "") + className;
    Spry.Widget.MenuBar.prototype.removeClassName = function(ele, className)
    if (!ele || !className || !this.hasClassName(ele, className))
    return;
    ele.className = ele.className.replace(new RegExp("\\s*\\b" + className + "\\b", "g"), "");
    // addEventListener for Menu Bar
    // attach an event to a tag without creating obtrusive HTML code
    Spry.Widget.MenuBar.prototype.addEventListener = function(element, eventType, handler, capture)
    try
    if (element.addEventListener)
    element.addEventListener(eventType, handler, capture);
    else if (element.attachEvent)
    element.attachEvent('on' + eventType, handler);
    catch (e) {}
    // createIframeLayer for Menu Bar
    // creates an IFRAME underneath a menu so that it will show above form controls and ActiveX
    Spry.Widget.MenuBar.prototype.createIframeLayer = function(menu)
    var layer = document.createElement('iframe');
    layer.tabIndex = '-1';
    layer.src = 'javascript:""';
    layer.frameBorder = '0';
    layer.scrolling = 'no';
    menu.parentNode.appendChild(layer);
    layer.style.left = menu.offsetLeft + 'px';
    layer.style.top = menu.offsetTop + 'px';
    layer.style.width = menu.offsetWidth + 'px';
    layer.style.height = menu.offsetHeight + 'px';
    // removeIframeLayer for Menu Bar
    // removes an IFRAME underneath a menu to reveal any form controls and ActiveX
    Spry.Widget.MenuBar.prototype.removeIframeLayer =  function(menu)
    var layers = ((menu == this.element) ? menu : menu.parentNode).getElementsByTagName('iframe');
    while(layers.length > 0)
    layers[0].parentNode.removeChild(layers[0]);
    // clearMenus for Menu Bar
    // root is the top level unordered list (<ul> tag)
    Spry.Widget.MenuBar.prototype.clearMenus = function(root)
    var menus = root.getElementsByTagName('ul');
    for(var i=0; i<menus.length; i++)
    this.hideSubmenu(menus[i]);
    this.removeClassName(this.element, this.activeClass);
    // bubbledTextEvent for Menu Bar
    // identify bubbled up text events in Safari so we can ignore them
    Spry.Widget.MenuBar.prototype.bubbledTextEvent = function()
    return Spry.is.safari && (event.target == event.relatedTarget.parentNode || (event.eventPhase == 3 && event.target.parentNode == event.relatedTarget));
    // showSubmenu for Menu Bar
    // set the proper CSS class on this menu to show it
    Spry.Widget.MenuBar.prototype.showSubmenu = function(menu)
    if(this.currMenu)
    this.clearMenus(this.currMenu);
    this.currMenu = null;
    if(menu)
    this.addClassName(menu, this.subVisibleClass);
    if(typeof document.all != 'undefined' && !Spry.is.opera && navigator.vendor != 'KDE')
    if(!this.hasClassName(this.element, this.horizontalClass) || menu.parentNode.parentNode != this.element)
    menu.style.top = menu.parentNode.offsetTop + 'px';
    if(Spry.is.ie && Spry.is.version < 7)
    this.createIframeLayer(menu);
    this.addClassName(this.element, this.activeClass);
    // hideSubmenu for Menu Bar
    // remove the proper CSS class on this menu to hide it
    Spry.Widget.MenuBar.prototype.hideSubmenu = function(menu)
    if(menu)
    this.removeClassName(menu, this.subVisibleClass);
    if(typeof document.all != 'undefined' && !Spry.is.opera && navigator.vendor != 'KDE')
    menu.style.top = '';
    menu.style.left = '';
    if(Spry.is.ie && Spry.is.version < 7)
    this.removeIframeLayer(menu);
    // initialize for Menu Bar
    // create event listeners for the Menu Bar widget so we can properly
    // show and hide submenus
    Spry.Widget.MenuBar.prototype.initialize = function(listitem, element)
    var opentime, closetime;
    var link = listitem.getElementsByTagName('a')[0];
    var submenus = listitem.getElementsByTagName('ul');
    var menu = (submenus.length > 0 ? submenus[0] : null);
    if(menu)
    this.addClassName(link, this.hasSubClass);
    if(!Spry.is.ie)
    // define a simple function that comes standard in IE to determine
    // if a node is within another node
    listitem.contains = function(testNode)
    // this refers to the list item
    if(testNode == null)
    return false;
    if(testNode == this)
    return true;
    else
    return this.contains(testNode.parentNode);
    // need to save this for scope further down
    var self = this;
    this.addEventListener(listitem, 'mouseover', function(e){self.mouseOver(listitem, e);}, false);
    this.addEventListener(listitem, 'mouseout', function(e){if (self.enableKeyboardNavigation) self.clearSelection(); self.mouseOut(listitem, e);}, false);
    if (this.enableKeyboardNavigation)
    this.addEventListener(link, 'blur', function(e){self.onBlur(listitem);}, false);
    this.addEventListener(link, 'focus', function(e){self.keyFocus(listitem, e);}, false);
    Spry.Widget.MenuBar.prototype.keyFocus = function (listitem, e)
    this.lastOpen = listitem.getElementsByTagName('a')[0];
    this.addClassName(this.lastOpen, listitem.getElementsByTagName('ul').length > 0 ? this.subHoverClass : this.hoverClass);
    this.hasFocus = true;
    Spry.Widget.MenuBar.prototype.onBlur = function (listitem)
    this.clearSelection(listitem);
    Spry.Widget.MenuBar.prototype.clearSelection = function(el){
    //search any intersection with the current open element
    if (!this.lastOpen)
    return;
    if (el)
    el = el.getElementsByTagName('a')[0];
    // check children
    var item = this.lastOpen;
    while (item != this.element)
    var tmp = el;
    while (tmp != this.element)
    if (tmp == item)
    return;
    try{
    tmp = tmp.parentNode;
    }catch(err){break;}
    item = item.parentNode;
    var item = this.lastOpen;
    while (item != this.element)
    this.hideSubmenu(item.parentNode);
    var link = item.getElementsByTagName('a')[0];
    this.removeClassName(link, this.hoverClass);
    this.removeClassName(link, this.subHoverClass);
    item = item.parentNode;
    this.lastOpen = false;
    Spry.Widget.MenuBar.prototype.keyDown = function (e)
    if (!this.hasFocus)
    return;
    if (!this.lastOpen)
    this.hasFocus = false;
    return;
    var e = e|| event;
    var listitem = this.lastOpen.parentNode;
    var link = this.lastOpen;
    var submenus = listitem.getElementsByTagName('ul');
    var menu = (submenus.length > 0 ? submenus[0] : null);
    var hasSubMenu = (menu) ? true : false;
    var opts = [listitem, menu, null, this.getSibling(listitem, 'previousSibling'), this.getSibling(listitem, 'nextSibling')];
    if (!opts[3])
    opts[2] = (listitem.parentNode.parentNode.nodeName.toLowerCase() == 'li')?listitem.parentNode.parentNode:null;
    var found = 0;
    switch (e.keyCode){
    case this.upKeyCode:
    found = this.getElementForKey(opts, 'y', 1);
    break;
    case this.downKeyCode:
    found = this.getElementForKey(opts, 'y', -1);
    break;
    case this.leftKeyCode:
    found = this.getElementForKey(opts, 'x', 1);
    break;
    case this.rightKeyCode:
    found = this.getElementForKey(opts, 'x', -1);
    break;
    case this.escKeyCode:
    case 9:
    this.clearSelection();
    this.hasFocus = false;
    default: return;
    switch (found)
    case 0: return;
    case 1:
    //subopts
    this.mouseOver(listitem, e);
    break;
    case 2:
    //parent
    this.mouseOut(opts[2], e);
    break;
    case 3:
    case 4:
    // left - right
    this.removeClassName(link, hasSubMenu ? this.subHoverClass : this.hoverClass);
    break;
    var link = opts[found].getElementsByTagName('a')[0];
    if (opts[found].nodeName.toLowerCase() == 'ul')
    opts[found] = opts[found].getElementsByTagName('li')[0];
    this.addClassName(link, opts[found].getElementsByTagName('ul').length > 0 ? this.subHoverClass : this.hoverClass);
    this.lastOpen = link;
    opts[found].getElementsByTagName('a')[0].focus();
            //stop further event handling by the browser
    return Spry.Widget.MenuBar.stopPropagation(e);
    Spry.Widget.MenuBar.prototype.mouseOver = function (listitem, e)
    var link = listitem.getElementsByTagName('a')[0];
    var submenus = listitem.getElementsByTagName('ul');
    var menu = (submenus.length > 0 ? submenus[0] : null);
    var hasSubMenu = (menu) ? true : false;
    if (this.enableKeyboardNavigation)
    this.clearSelection(listitem);
    if(this.bubbledTextEvent())
    // ignore bubbled text events
    return;
    if (listitem.closetime)
    clearTimeout(listitem.closetime);
    if(this.currMenu == listitem)
    this.currMenu = null;
    // move the focus too
    if (this.hasFocus)
    link.focus();
    // show menu highlighting
    this.addClassName(link, hasSubMenu ? this.subHoverClass : this.hoverClass);
    this.lastOpen = link;
    if(menu && !this.hasClassName(menu, this.subHoverClass))
    var self = this;
    listitem.opentime = window.setTimeout(function(){self.showSubmenu(menu);}, this.showDelay);
    Spry.Widget.MenuBar.prototype.mouseOut = function (listitem, e)
    var link = listitem.getElementsByTagName('a')[0];
    var submenus = listitem.getElementsByTagName('ul');
    var menu = (submenus.length > 0 ? submenus[0] : null);
    var hasSubMenu = (menu) ? true : false;
    if(this.bubbledTextEvent())
    // ignore bubbled text events
    return;
    var related = (typeof e.relatedTarget != 'undefined' ? e.relatedTarget : e.toElement);
    if(!listitem.contains(related))
    if (listitem.opentime)
    clearTimeout(listitem.opentime);
    this.currMenu = listitem;
    // remove menu highlighting
    this.removeClassName(link, hasSubMenu ? this.subHoverClass : this.hoverClass);
    if(menu)
    var self = this;
    listitem.closetime = window.setTimeout(function(){self.hideSubmenu(menu);}, this.hideDelay);
    if (this.hasFocus)
    link.blur();
    Spry.Widget.MenuBar.prototype.getSibling = function(element, sibling)
    var child = element[sibling];
    while (child && child.nodeName.toLowerCase() !='li')
    child = child[sibling];
    return child;
    Spry.Widget.MenuBar.prototype.getElementForKey = function(els, prop, dir)
    var found = 0;
    var rect = Spry.Widget.MenuBar.getPosition;
    var ref = rect(els[found]);
    var hideSubmenu = false;
    //make the subelement visible to compute the position
    if (els[1] && !this.hasClassName(els[1], this.MenuBarSubmenuVisible))
    els[1].style.visibility = 'hidden';
    this.showSubmenu(els[1]);
    hideSubmenu = true;
    var isVert = this.hasClassName(this.element, this.verticalClass);
    var hasParent = els[0].parentNode.parentNode.nodeName.toLowerCase() == 'li' ? true : false;
    for (var i = 1; i < els.length; i++){
    //when navigating on the y axis in vertical menus, ignore children and parents
    if(prop=='y' && isVert && (i==1 || i==2))
    continue;
    //when navigationg on the x axis in the FIRST LEVEL of horizontal menus, ignore children and parents
    if(prop=='x' && !isVert && !hasParent && (i==1 || i==2))
    continue;
    if (els[i])
    var tmp = rect(els[i]);
    if ( (dir * tmp[prop]) < (dir * ref[prop]))
    ref = tmp;
    found = i;
    // hide back the submenu
    if (els[1] && hideSubmenu){
    this.hideSubmenu(els[1]);
    els[1].style.visibility =  '';
    return found;
    Spry.Widget.MenuBar.camelize = function(str)
    if (str.indexOf('-') == -1){
    return str;
    var oStringList = str.split('-');
    var isFirstEntry = true;
    var camelizedString = '';
    for(var i=0; i < oStringList.length; i++)
    if(oStringList[i].length>0)
    if(isFirstEntry)
    camelizedString = oStringList[i];
    isFirstEntry = false;
    else
    var s = oStringList[i];
    camelizedString += s.charAt(0).toUpperCase() + s.substring(1);
    return camelizedString;
    Spry.Widget.MenuBar.getStyleProp = function(element, prop)
    var value;
    try
    if (element.style)
    value = element.style[Spry.Widget.MenuBar.camelize(prop)];
    if (!value)
    if (document.defaultView && document.defaultView.getComputedStyle)
    var css = document.defaultView.getComputedStyle(element, null);
    value = css ? css.getPropertyValue(prop) : null;
    else if (element.currentStyle)
    value = element.currentStyle[Spry.Widget.MenuBar.camelize(prop)];
    catch (e) {}
    return value == 'auto' ? null : value;
    Spry.Widget.MenuBar.getIntProp = function(element, prop)
    var a = parseInt(Spry.Widget.MenuBar.getStyleProp(element, prop),10);
    if (isNaN(a))
    return 0;
    return a;
    Spry.Widget.MenuBar.getPosition = function(el, doc)
    doc = doc || document;
    if (typeof(el) == 'string') {
    el = doc.getElementById(el);
    if (!el) {
    return false;
    if (el.parentNode === null || Spry.Widget.MenuBar.getStyleProp(el, 'display') == 'none') {
    //element must be visible to have a box
    return false;
    var ret = {x:0, y:0};
    var parent = null;
    var box;
    if (el.getBoundingClientRect) { // IE
    box = el.getBoundingClientRect();
    var scrollTop = doc.documentElement.scrollTop || doc.body.scrollTop;
    var scrollLeft = doc.documentElement.scrollLeft || doc.body.scrollLeft;
    ret.x = box.left + scrollLeft;
    ret.y = box.top + scrollTop;
    } else if (doc.getBoxObjectFor) { // gecko
    box = doc.getBoxObjectFor(el);
    ret.x = box.x;
    ret.y = box.y;
    } else { // safari/opera
    ret.x = el.offsetLeft;
    ret.y = el.offsetTop;
    parent = el.offsetParent;
    if (parent != el) {
    while (parent) {
    ret.x += parent.offsetLeft;
    ret.y += parent.offsetTop;
    parent = parent.offsetParent;
    // opera & (safari absolute) incorrectly account for body offsetTop
    if (Spry.is.opera || Spry.is.safari && Spry.Widget.MenuBar.getStyleProp(el, 'position') == 'absolute')
    ret.y -= doc.body.offsetTop;
    if (el.parentNode)
    parent = el.parentNode;
    else
    parent = null;
    if (parent.nodeName){
    var cas = parent.nodeName.toUpperCase();
    while (parent && cas != 'BODY' && cas != 'HTML') {
    cas = parent.nodeName.toUpperCase();
    ret.x -= parent.scrollLeft;
    ret.y -= parent.scrollTop;
    if (parent.parentNode)
    parent = parent.parentNode;
    else
    parent = null;
    return ret;
    Spry.Widget.MenuBar.stopPropagation = function(ev)
    if (ev.stopPropagation)
    ev.stopPropagation();
    else
    ev.cancelBubble = true;
    if (ev.preventDefault)
    ev.preventDefault();
    else
    ev.returnValue = false;
    Spry.Widget.MenuBar.setOptions = function(obj, optionsObj, ignoreUndefinedProps)
    if (!optionsObj)
    return;
    for (var optionName in optionsObj)
    if (ignoreUndefinedProps && optionsObj[optionName] == undefined)
    continue;
    obj[optionName] = optionsObj[optionName];
    Here is my CSS:
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
    margin: auto;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    cursor: default;
    width: 70em;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
    z-index: 1000;
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    position: relative;
    text-align: left;
    cursor: pointer;
    width: 10em;
    float: left;
    color: #F59CB0;
    background-color: #FFF;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
    width: 250px;
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    z-index: 1020;
    cursor: default;
    width: 9em;
    position: absolute;
    left: -1000em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
    left: 9px;
    color: #EF9CCF;
    background-color: #FFF;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
    width: 8.2em;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
    position: absolute;
    margin: -5% 0 0 95%;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
    left: auto;
    top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
    border: 1px solid #CCC;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
    display: block;
    cursor: pointer;
    background-color: #FFF;
    padding: 0.5em 0.75em;
    color: #EB91B6;
    text-decoration: none;
    text-align: center;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
    background-color: #FFF;
    color: #EF93B0;
    text-align: center;
    font-size: 100%;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
    background-color: #FFF;
    color: #EF93B0;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
    background-image: url(SpryMenuBarDown.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    color: #EF93B0;
    background-color: #FFF;
    text-align: center;
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
    background-image: url(SpryMenuBarRight.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    color: #EF9CCF;
    background-color: #FFF;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
    background-image: url(SpryMenuBarDownHover.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    color: #EF93B0;
    background-color: #FFF;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
    background-image: url(SpryMenuBarRightHover.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
    position: absolute;
    z-index: 1010;
    filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
    ul.MenuBarHorizontal li.MenuBarItemIE
    display: inline;
    f\loat: left;
    background: #FFF;
    #table2 tr .header p {
    font-family: "Apple Chancery";
    #table2 tr .header .regular2 {
    font-family: "Times New Roman", Times, serif;

    Alyssa,
    Have you tried putting this rule back as it was originally:
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
        left: auto; /*was 9px*/
        color: #EF9CCF;
        background-color: #FFF;
    That is, changing your 9px back to auto.
    And giving  us a link (as you did) is much better than printing out the code for us! Thanks!
    Beth

  • Help With Scrolling Menu / Button Rollovers

    First thank you to anyone who can answer and help with this
    question.
    http://paragon.sortismarketing.com
    - at this link I have created a site with a simple scrolling menu.
    Now what I want to happen is when you rollOver the buttons on the
    scrolling menu they get larger and then smaller again after you
    roll off them.
    I know how to do this with tweening in a non moving
    environment, by making them a movie clip instead of button. But for
    some reason when I did this in this case it screwed the menu all up
    and made it go crazy. Is there a way to do this with action script
    that isn't going to screw up the underlying code for the
    scrolling?

    You can use the below code also. As your mouse pointer goes
    over the down, it will scroll down.
    on(rollOver){
    scrolltext.scroll -= 1;

  • HELP: Javascript dropdown menu

    Hi all,
    i am currently developing a website which is all ready to be
    uploaded but
    cant because of a javascript dropdown menu.. I have a flash
    slideshow in the
    center and on the rightside are 6 images (mainlinks) one
    below the other.
    Some of these mainlinks have sublinks which need to be
    displayed as
    dropdowns. The dropdown needs to be as Javascript for easy
    future
    changes/additions and not in flash.
    I visited many websites - javascripts.com / simplythebest /
    dynamicdrive
    /hotscripts and many other sites..but failed to find a
    suitable, easily
    editable and compatible script..
    REQUIREMENT -
    1) dropdown menu on image Mousever
    2) The script should have/allow to set the respective x,y
    (left,top) values
    which some scripts lack.
    3) Compatible for IE and Firefox
    The only 1 compatible and easy editable script i had was
    mm_menu by Andy
    Finnell. But sadly the script is missing something and giving
    errors.
    PLEEASE HELP//
    thanx

    if you're using flash 8 you can use the externalinterface
    class. otherwise, the best you can do is very much browser
    dependent.

  • Help with the open/save message box

    Hi everyone, I have a link to a PDF on my website and I need it to open in browser.  Right now it always comes up with the open/save message box.
    This is no good because I need to embed a direct page link (ie #page=9), and the open/save message box removes the page variable and opens to page one.
    It's strange because I have two PDF links on this particular page and while one works fine (and opens in browser) the other constantly prompts with open/ save.
    Suggestions?  I've already gone into the PDF preferences and set it to "Open PDF in Browser"... this does not help.
    Thanks,
    Nathan

    Well - Yes --- and No.  When I try to re-save a document or use the new Save As... implementation I am generally offered my Mac. But - If I create a New document and then use Cmd-S I am taken back to the iCloud Save window with the disclosure triangle closed. I am seeing this in TextEdit and Preview, but I have not checked all my document creator applications to see if the protocol is across the board.)
    (Note  - the "On My Mac" button is only available in the OPEN Dialog - not the SAVE Dialogs.)

  • Help with rollover menu bar on my Home page

    I would like some help with my site
    www.didgesoundtherapy.co.uk
    Please look at my menu bar on the home page.
    Roll over the buttons on the menu of the home page and they come up with the wrong message when it is rolled over. I hope this makes sense.
    I would love some help on this
    Kind regards
    Gregg

    Each button displays the same text with html tacked on as the button except for the Home page of course. What should the text be?
    OT

  • Almost there! Need a little help with CSS Menu

    Hi folks,
    I am almost there with a menu system.  The problems I discovered were mostly to do with layout.css nav elements interfering with my custom code.   http://bendannie2.businesscatalyst.com/flexi2.html 
    Here are the problems I can't seem to resolve.
    There appears a red diamond list element and I can't seem to remove it or find it in the Inspector on any css link
    the secondary menus blink and are hard to select on hover over tertiary menus (see On Sale>Cartier> )
    the tertiary menus are a little crowded towards the secondary menus.
    the css classes in inspector seem to repeat ad infinitum
    Any help most deeply appreciated...
    BTW, it works better on a smart phone!
    Jeff

    Thanks, Don't know why I didn't see that... 
    I'm stil having a problem with the hover area for selecting sub menus... The problem appears to be the js, I think!, I'm not qualified to analyze jquery. 
    The behaviors are as follows:
    The On Sale submenus stay active even when you roll off that menu and select another.
    The hover area after the first scrollover appears to be below the existing text of the top level and not on the text itself.
    there is something going on as you scroll down  through the submenus where they are blinking on and off as you pass each sub tab...   This uses jQuery 1.7.2, so if that has been fixed in a later edition, I don't know... 
    Perhaps it is the way I set the CSS but I didn't, to my knowledge, change a hover/selection area for the menus...
    TIA,
    JEff

  • Help with Dropdown box autopopulating text

    I have created a dropdown box and set-it up with scripting to populate text fields based upon selection. The problem that I am having is when you make your selection it does not automatically update the text box. I have to click on another form field once I make a selection, then click on the text in the dropdown box. This will then result in the text fields auto populating. Could you please help, so that these extra steps will not need to be taken. Below is the coding that I used.
    var f = event.target;
    if (f.value == "Blank")
    {this.getField("TestMe").value = "";
    this.getField("InsuranceCodes").value = "";}
    if (f.value == "Aetna")
    {this.getField("TestMe").value = "";
    this.getField("InsuranceCodes").value = "90791 - Diagnostic Evaluation";
    this.getField("InsuranceCodes2").value ="90832/ 90834/ 90837 - Psychotherapy";
    this.getField("InsuranceCodes3").value ="90846 - Family Psychotherapy w/o Patient";
    this.getField("InsuranceCodes4").value ="90847 - Family Psychotherapy w/ Patient";
    this.getField("InsuranceCodes5").value ="96101 - Psychological Testing";
    this.getField("InsuranceCodes6").value ="96103 - Computer Testing";
    this.getField("InsuranceCodes7").value ="";
    this.getField("InsuranceCodes8").value ="";
    this.getField("InsuranceCodes9").value ="";}
    if (f.value == "Anthem BC")
    {this.getField("TestMe").value = "";
    this.getField("InsuranceCodes").value = "90791 - Diagnostic Evaluation";
    this.getField("InsuranceCodes2").value ="90832/ 90834/ 90837 - Psychotherapy";
    this.getField("InsuranceCodes3").value ="90846 - Family Psychotherapy w/o Patient";
    this.getField("InsuranceCodes4").value ="90847 - Family Psychotherapy w/ Patient";
    this.getField("InsuranceCodes5").value ="96101 - Psychological Testing";
    this.getField("InsuranceCodes6").value ="96103 - Computer Testing";
    this.getField("InsuranceCodes7").value ="";
    this.getField("InsuranceCodes8").value ="";
    this.getField("InsuranceCodes9").value ="";}

    I did move the coding to validation script and deleted it from the actions. I clicked also to commit the selected value immediately. However, when I change "event.target" to "event.value" it no longer works. If I do all the steps but leave "event.target" it does autopopluate, but the information is incorrect.

  • DW CS4 Help with jump menu opening a new window.

    First, I can't believe that Adobe left out an easy to use behavior to do this.
    I have some jump menus, and I would like the selection to open up a new window and have the content appear there.  I saw a couple of old topics here that offered some suggestions, but they didn't work for me.  I could get it to open a new window, but the content was not there.  I saw where you need to add a "GO" button, and add a "Open New Window"behavior to it.  That is what opened the new window with new content.  I do not have the "GO" buttons on the jump menus in this code, but did try it and it didn't work.   If anyone can help and tell me how to do it, and where to place the code, I would greatly appreciate it.
    I know this is long, but here is my code for the page.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/Master_Template.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Mickey Adams Index</title>
    <!-- InstanceEndEditable -->
    <link href="../twoColFixLtHdr.css" rel="stylesheet" type="text/css" />
    <!--[if IE 5]>
    <style type="text/css">
    /* place css box model fixes for IE 5* in this conditional comment */
    .twoColFixLtHdr #sidebar1 { width: 230px; }
    </style>
    <![endif]-->
    <!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .twoColFixLtHdr #sidebar1 { padding-top: 30px; }
    .twoColFixLtHdr #mainContent { zoom: 1; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]-->
    <!-- InstanceBeginEditable name="head" -->
    <script src="../SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
    <script src="../SpryAssets/SpryAccordion.js" type="text/javascript"></script>
    <link href="../SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
    <link href="../SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css" />
    <!-- InstanceEndEditable -->
    <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="../SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/global.css" rel="stylesheet" type="text/css" />
    <!-- InstanceParam name="SecondTitle" type="boolean" value="true" -->
    <!-- InstanceParam name="SecondContent" type="boolean" value="true" -->
    <!-- InstanceParam name="OptionalRegionTitle_2" type="boolean" value="true" -->
    <!-- InstanceParam name="OptionalRegion_2" type="boolean" value="true" -->
    <!-- InstanceParam name="OptionalRegion1" type="boolean" value="true" -->
    </head>
    <body text="#000033" class="twoColFixLtHdr" title="What's New">
    <div id="container">
      <div id="header">
        <h1>Richard Sinkler</h1>
      <!-- end #header --></div>
      <div id="sidebar1">
        <ul id="MenuBar1" class="MenuBarVertical">
          <li><a href="../index.html">Home</a>      </li>
          <li><a href="../About_Me.html">About me</a></li>
          <li><a href="../Calendars/Calendar_menu.html">Calendars</a></li>
          <li><a href="../What's New.html">What's New</a></li>
          <li><a href="../Equipment.html">Equipment</a></li>
          <li><a href="../Tunings.html">Tunings</a></li>
          <li><a href="../Video_and_Sound/video_menu.html">Sound &amp; Video</a></li>
          <li><a href="../web_gallery.html">Photos</a></li>
          <li><a href="Mickey_Adams_Menus.html">Mickey Adams</a></li>
          <li><a href="../Website_Info.html">Website Info</a></li>
          <li><a href="../Contact Me.html">Contact Me</a></li>
        </ul>
        <p class="justHostReferral">If you would like to get your own website, please click the <span class="justHostItalics">JUST HOST</span> logo below and it will take you the sign up page. I am a <span class="justHostItalics">JUST HOST</span> affiliate and get credit for referring you to their service.</p>
        <p><a href="http://stats.justhost.com/track?ca5fb2154d5aabc236853ccef2513f2ec"><img src="http://affiliates.justhost.com/control/img/banners/justhost_125x125v2.gif" /></a> </p>
    <h3 class="updated">Updated 7/18/2011
          <!-- end #sidebar1 -->
        </h3>
    <p> </p>
      </div>
      <div id="mainContent">
        <h1><!-- InstanceBeginEditable name="PageTitle" -->Mickey Adams Video Index<!-- InstanceEndEditable --></h1>
        <!-- InstanceBeginEditable name="PageContent" -->
        <p class="pageContent">Click a tab to open the category. <a href="Mickey_Adams_Menus.html" class="playbackCtrlMSg">Click to go back to Menu Page</a></p>
        <div id="m_a_video_index" class="TabbedPanels">
          <ul class="TabbedPanelsTabGroup">
            <li class="TabbedPanelsTab" tabindex="0">BE</li>
            <li class="TabbedPanelsTab" tabindex="0">BEX</li>
            <li class="TabbedPanelsTab" tabindex="0">BEC</li>
            <li class="TabbedPanelsTab" tabindex="0">Beginner</li>
            <li class="TabbedPanelsTab" tabindex="0">Faux C6</li>
            <li class="TabbedPanelsTab" tabindex="0">Uncategorized</li>
          </ul>
          <div class="TabbedPanelsContentGroup">
            <div class="TabbedPanelsContent">
              <p><strong><u>BE01</u></strong><u>:Beginners: 3 Moves to  Master</u> <br />
                <strong><u>BE04</u></strong><u>: Simple E9 Passage,  Single Note</u> <br />
                <strong><u>BE06</u></strong><u>: 4-5-1 In G, Using ABC  Pedals</u> <br />
                <strong><u>BE07</u></strong><u>: 1-2-5 Single Note+ 3 <strong>Stops</strong></u><br />
                <u>BE  109a Close Intervals in C</u><br />
                <strong><u>BE11</u></strong><u>: Beginner Steel Guitar,  Cold Cold Heart</u> <br />
                <strong><u>BE12</u></strong><u>: Cold Cold Heart Part II</u> <br />
                <strong><u>BE16</u></strong><u>: Waltz Across Texas</u> <br />
                <strong><u>BE24A</u></strong><u> Big City Turnaround</u> <br />
                <strong><u>BE28</u></strong><u>: Your Man, Josh Turner</u> <br />
                <strong><u>BE31</u></strong><u>: Minor Chords-Moondance</u> <br />
                <strong><u>BE34</u></strong><u>: 3 Moves to Master, Part  II</u> <br />
                <strong><u>BE36</u></strong><u> Harmonics, Overtones</u> <br />
                <strong><u>BE40</u></strong><u> 2M-5-1 Faux C6 Moves for  Cherokee Maiden</u></p>
              <p><strong><u>BE41</u></strong><u> Second String Usage</u></p>
            </div>
            <div class="TabbedPanelsContent">
              <p><strong><u>BEX1</u></strong><u>: A+B Repetitious  Excercise, Major Key</u> <br />
                <strong><u>BEX2</u></strong><u> Pick Blocking Dexterity  Excercise II</u> <br />
                <strong><u>BEX6A</u></strong><u>-Pick Blocking Exercise  B+C, F</u> <br />
                <strong><u>BEX7</u></strong><u> Speedpicking Lesson 1  Revision 1</u> <br />
                <strong><u>BEX12</u></strong><u>: G Major, Lesson 2-Pedal  Changes, Chord Forms</u> <br />
                <strong><u>BEX14</u></strong><u>: D7, G Lever  Programming, Speed</u> <br />
                <strong><u>BEX16</u></strong><u>: G Major-Lesson 1</u> <br />
                <strong><u>BEX16a</u></strong><u> G major Descending  Exercise</u> <br />
                <strong><u>BEX17</u></strong><u>: Pick-Blocking 101,  Beginner Steel Guitar</u> <br />
                <strong><u>BEX21</u></strong><u> Faux C6, 1-4-5-1</u> <br />
                <strong><u>BEX21</u></strong><u>-2-5-1 Chord Change</u> <br />
                <strong><u>BEX21</u></strong><u> Alternating Fingering  Excercise</u> <br />
                <strong><u>BEX21</u></strong><u> Glissando Excercise 1</u> <br />
                <strong><u>BEX25</u></strong><u> Faux C6 1-5-1 in D</u> <br />
                <strong><u>BEX27</u></strong><u> C Pentatonic Scale Ex1</u> <br />
                <strong><u>BEX27a</u></strong><u> C Pentatonic Ex2</u> <br />
                <strong><u>BEX27b </u></strong><u>A Blues Pattern</u> <br />
                <strong><u>BEX28</u></strong><u> Pedal &amp; Lever  Excercises for Beginners</u> <br />
                <strong><u>BEX 92</u></strong><u> D7 Exercise</u> <br />
                <strong><u>BEX 93</u></strong><u> 2 String Exercise, Lever  I, Pedal H</u></p>
            </div>
            <div class="TabbedPanelsContent">BEC
              <div id="Accordion1" class="Accordion" tabindex="0">
                <div class="AccordionPanel">
                  <div class="AccordionPanelTab">BEC pg. 1</div>
                  <div class="AccordionPanelContent">
                    <p><u>BEC4:  Blue Eyes Elton John</u> <br />
                      <u>BEC6  Broken Wing</u> <br />
                      <u>BEC15:  Goin Through the Big &quot;D&quot;</u> <br />
                      <u>BEC25:  I Sang Dixie, Take II</u> <br />
                      <u>BEC31:  Beginner Steel-Longer, Fogelberg</u> <br />
                      <u>BEC32:  Longer, Flute Solo, Fogelberg</u> <br />
                      <u>BEC35:  Nobody In His Right Mind</u> <br />
                      <u>BEC41:  Too Cold At Home Intro, Mark Chestnutt</u> <br />
                      <u>BEC45:  Teach Your Children: Intro</u> <br />
                      <u>BEC48:  Take Your Memory With You</u> <br />
                      <u>BEC52  Thinking Thing Intro</u> <br />
                      <u>BEC54:  What A Wonderful World</u> <br />
                      <u>BEC66:  Solo, Look At Us</u> <br />
                      <u>BEC69:  Somewhere Over The Rainbow, Bridge</u> <br />
                      <u>BEC73:  Empty Glass Intro</u> <br />
                      <u>BEC77:  Set-em Up Joe Vern Gosdin</u> <br />
                      <u>BEC78-  So Much It Hurts Me Part 1</u> <br />
                      <u>BEC78a  So Much It Hurts Me Part 2</u> <br />
                      <u>BEC81,  Who Needs You Baby, Clay Walker</u> <br />
                      <u>BEC82  City Lights</u></p>
                  </div>
                </div>
                <div class="AccordionPanel">
                  <div class="AccordionPanelTab">BEC pg. 2</div>
                  <div class="AccordionPanelContent">
                    <p><u>BEC83  Save The Honky Tonks, Mark Chestnutt</u> <br />
                      <u>BEC84  Faux C6, Deep Water Intro, Beginners</u> <br />
                      <u>BEC85  There's your Trouble Intro</u> <br />
                      <u>BEC86  Panama Red Intro, Remake</u> <br />
                      <u>BEC88  Diamond Rio One More Day Intro</u> <br />
                      <u>BEC89  Turnaround In C</u> <br />
                      <u>BEC89  Oh Little Town of Bethlehem</u> <br />
                      <u>BEC90  I Had A Beautiful Time, Solo</u> <br />
                      <u>BEC91  White Christmas</u> <br />
                      <u>BEC91a  White Christmas</u> <br />
                      <u>BEC91c  White Xmas, Improvising</u> <br />
                      <u>BEC92  Farewell Party Intro Simplified</u> <br />
                      BEC  92a Farewell Party Solo, Mike Johnson<br />
      <u>BEC93-This  Ain’t My First Rodeo-Intro</u> <br />
      <u>BEC-94  Third Rate Romance Solo</u> <br />
      <u>BEC-95  Crazy Arms Intro, Patty Loveless</u> <br />
      <u>BEC-96  Bar Room Roses Intro Troy Cassar Daley</u> <br />
      <u>BEC-97  Close Up the Honky Tonks-Intro</u> <br />
      <u>BEC98-Turnaround  5-1, BC,+E-lever</u> <br />
      <u>BEC-99  Single Note Run in D</u></p>
                  </div>
                </div>
                <div class="AccordionPanel">
                  <div class="AccordionPanelTab">BEC pg. 3</div>
                  <div class="AccordionPanelContent">
                    <p><u>BEC  100 Different Light Doug Stone Intro E9</u> <br />
                      <u>BEC  100 When Love Comes Around Intro Alan</u> <br />
                      <u>BEC  100 Take It Easy</u> <br />
                      <u>BEC101  Fourteen Minutes Old Intro Doug Stone</u> <br />
                      <u>BEC101  Bars Of Steel Bridge</u> <br />
                      BEC  101 Beneath Still Waters<br />
      <u>BEC  102 Could I Have This Dance Intro</u> <br />
      <u>BEC  103 Bars of Steel, Bridge</u> <br />
      <u>BEC  106 Legend In My Time</u> <br />
      <u>BEC107  When Did You Stop Loving Me Intro</u> <br />
      <u>BEC  109 Getting Over You Again Intro Gene Watson</u> <br />
      <u>BEC  110 Baby Thats Cold Intro</u> <br />
      <u>BEC  111 Panama Red Solo Part 1</u> <br />
      <u>BEC  111a Panama Red Solo, Part II</u> <br />
      <u>BEC  111 Where Have I Been All My Life Intro</u> <br />
      <u>BEC-112  Help Me Make it Through the Night.mpg</u> <br />
      <u>BEC-118  Faux C6-1-6-2-5.mpg</u> <br />
      <u>BEC-113  Way To Survive, Lesson 1.mpg</u> <br />
      <u>BEC113a  Way to Survive Lesson 2.mpg</u></p>
                  </div>
                </div>
    </div>
            </div>
            <div class="TabbedPanelsContent">
              <p><u>Beginner  Steel Guitar, Cmajor in 3rds</u> <br />
                <u>Beginner  Pedal Steel, Cross Picking, B Pedal</u> <br />
                <u>Beginner  Steel Guitar: San Antonio Rose</u> <br />
                <u>Beginner  Steel Guitar: Wonderful Tonight</u> <br />
                <u>Beginner  Steel Guitar: Oceanfront Property</u> <br />
                <u>Beginner  Steel-When you Say Nothing At All</u> <br />
                <u>Memphis  Tennessee, Beginner Steel Guitar</u> <br />
                <u>Beginner  Steel Guitar, Major Scale Excercise</u> <br />
                <u>Beginner  Steel, Amazing Grace</u></p>
            </div>
            <div class="TabbedPanelsContent">
              <p><u>Walking  After Midnight Faux C6</u> <br />
                <u>All  My Ex's Intro Faux C6 for the E9 Neck</u> <br />
                <u>Faux  C6 Turnaround in A</u> <br />
                <u>5  1 Faux C6, Single note Passage</u></p>
            </div>
            <div class="TabbedPanelsContent">
              <div id="Accordion2" class="Accordion" tabindex="0">
                <div class="AccordionPanel">
                  <div class="AccordionPanelTab">Uncategorized pg. 1</div>
                  <div class="AccordionPanelContent">
                    <p><u>Simple  Intro in C</u> <br />
                      <u>Panama  Red Intro E9 Pedal Steel Guitar</u> <br />
                      <u>Danny  Boy, E9</u> <br />
                      <u>Highway  40 Blues Intro, E9</u> <br />
                      <u>Diatonic  Scale Movement In G</u> <br />
                      <u>1-7-4  1-2-4-5-1 Pedal Steel Guitar Intro</u> <br />
                      <u>1-4  Counterpoint Move in F, Very Effective</u> <br />
                      <u>Gene  Watson Intro-Got No Reason Now for Going</u> <br />
                      <u>BIG  CITY! Merle Haggard, Simple, Straightforward</u> <br />
                      <u>Someday  Soon!..Simple, Great Solo!</u> <br />
                      <u>Texas  Tornado, Tracy Lawrence, Intro and Solo</u> <br />
                      <u>Pick  Dragging: Technique, Short Clip</u> <br />
                      <u>Key-A  Turnaround, Blues/Diminished Walk</u> <br />
                      <u>Hello  Trouble-JayDee Maness/ Desert Rose-</u> <br />
                      <u>Memories  To Burn, Solo, Gene Watson</u> <br />
                      <u>When  I Call Your Name</u> <br />
                      <u>Cross  My Heart Solo, George Strait</u> <br />
                      <u>But  For the Grace of God, Keith Urban</u> <br />
                      <u>I  Never Go Around Mirrors, Gene</u> <br />
                      <u>Cryin  My Heart Out, Ricky Skaggs</u> <br />
                      <u>Lonesome  LA Cowboy Solo, Buddy Cage</u></p>
                  </div>
                </div>
                <div class="AccordionPanel">
                  <div class="AccordionPanelTab">Uncategorized pg. 2</div>
                  <div class="AccordionPanelContent">
                    <p><u>Teach  Your Children:Quick Solo</u> <br />
                      <u>1982  Intro:Randy Travis</u> <br />
                      <u>Check  Yes or No</u> <br />
                      <u>Fire  On The Mountain, Marshall Tucker</u> <br />
                      <u>Buds  Bounce, Simplified, Part 1</u> <br />
                      <u>Tonight  The Heartache's On Me, Solo, Dixie Chicks</u> <br />
                      <u>Heartbroke,  Steel Chords</u> <br />
                      <u>Funny  How Time Slips Away</u> <br />
                      <u>Bars  of Steel</u> <br />
                      <u>Blue,  Leann Rimes</u> <br />
                      <u>Supernaw-Wishing  Her well, Intro</u> <br />
                      <u>Look  At Us, Johny Hughey, Intro</u> <br />
                      <u>Over  The Rainbow Verse</u> <br />
                      <u>Discussion,  Right Hand</u> <br />
                      <u>Verse,  Help Me Make It Through The Night</u> <br />
                      <u>Rolling  Pick Technique 2-5-1</u> <br />
                      <u>3  Octave Descending D7 Single Note Run</u> <br />
                      <u>Descending  5-1 Turnaround in A</u> <br />
                      <u>Pick  Blocking Dexterity Excercise 1</u> <br />
                      <u>Alone  In SanAntone</u></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <script type="text/javascript">
    <!--
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("m_a_video_index", {defaultTab:2});
    var Accordion1 = new Spry.Widget.Accordion("Accordion1");
    var Accordion2 = new Spry.Widget.Accordion("Accordion2");
    //-->
        </script>
        <!-- InstanceEndEditable -->
        <h2>
          <!-- end #mainContent -->
        </h2>
      </div>
    <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
      <div id="clear"></div>
    <div id="footer">
        <p><a href="../index.html" class="footer_links">Home</a> <a href="../About_Me.html" class="footer_links">About Me</a><a href="../Calendars/Calendar_menu.html" class="footer_links">Calendars</a>  <a href="../Equipment.html" class="footer_links">Equipment</a> <a href="../Tunings.html" class="footer_links"> Tunings</a> <a href="../Video_and_Sound/video_index.html" class="footer_links">Sound & Video</a><a href="../web_gallery.html" class="footer_links">Photos</a><a href="Mickey_Adams.html" class="footer_links">Mickey Adams </a><a href="../Website_Info.html" class="footer_links">Website Info</a><a href="../Contact Me.html" class="footer_links">Contact Me</a></p>
        <p class="copyright"><span class="copyright"><span class="circleC"><span class="copyright"><span class="circleC">&copy;</span></span></span><span class="copyright"> Copyright 2011 - Richard Sinkler - All Rights Reserved</span></span></p>
        <p class="copyright"><span class="copyright"><span class="copyright">Website designed by Richard Sinkler</span></span></p>
      <!-- end #footer --></div>
    <!-- end #container --></div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    <!-- InstanceEnd --></html>

    I'm confused by your post and code.  Adobe has a function to do this.  In the Insert Toolbar under the Tab "Forms" there is an option to create a jump menu.  The only options that menu gives you is the same window or a frame on the page (a very outdated action looking at it now).  But with basic knowledge of links you insert the menu and you will get code like:
      <select name="jumpMenu" id="jumpMenu" onChange="MM_jumpMenu('parent',this,0)">
    The "parent" denotes that this will open in the same window.  If you change that to "blank" then it will open in a new window.  A "Go" button is optional and also available in the DW GUI when you set up a jump menu.
    http://www.w3schools.com/tags/att_a_target.asp

Maybe you are looking for

  • I am unable to open my Red Box account. I get the message "unknown API error."

    I switched to Fire Fox because of slowness and other issues with Internet Explorer. Fire Fox is much better, with one exception. I can't open my Red Box account. I get a message that states "unknown API error." Red Box says the problem is related to

  • Mac Doesn't want go sleep

    Hi my Mac doesn't want go sleep. This is the log: 10/13/11 1:50:38.000 AM kernel: hibernate image path: /var/vm/sleepimage 10/13/11 1:50:38.000 AM kernel: sizeof(IOHibernateImageHeader) == 512 10/13/11 1:50:38.000 AM kernel: error 0xe00002db opening

  • What are the steps in message control !

    I have a requirement When a credit memo is created an IDOC will be generated ! Can it be done by message control ? if so tell me the steps....

  • Run custom queries in Enjoy transactions

    Hi I have replaced the standard queries in the 'Document Overview' of some MM transactions (i.e. ME21N, ME22N, ME23N) using SAP enhancement 'MEQUERY1'. But, some standard queries such as 'My Purchase Orders' are able to fill automatically fields of t

  • Database Assistant is stuck

    Hello, I resolved my "database domain name" problem (bad DNS name) but now, when the Database Creation Assistant is launched, it does nothing. I let it running for 4 hours yesterday and it didn't finish. I tried again this morning (I even re-installe