Help with HALO & menu
How do I get this menu to show up in the Page Name section of
the Halo Left Nav template?
menu files:
menuscript.css
menustyle.css
That just means that the host has not disabled directory
browsing. You can
fix that by -
a) asking them to disable it, or
b) adding a default filename file to the root folder
But - I gotta tell you, if you are not very comfortable with
HTML and
javascript and CSS, you might be better off not using these
HALO templates.
There are lots of gotchas lurking in there.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"NetZed" <[email protected]> wrote in
message
news:e86rm7$6ep$[email protected]..
> Is your website url
http://www.slimmingclub.ca/?
It is displayed like a
> ftp at the moment if it is.
Similar Messages
-
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 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!
Asyavar: 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> -
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
GreggEach 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 -
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); -
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!
JeffThanks, 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 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 -
Halo
If someone could help, please!
I'm having a bit of trouble with the spryHorizontal menu. In IE (I'm using 9) the submenu's overlape the main menus. In Safari/Chrome the submenus are next to each other. And on Opera/Firefox the submenu....well do not know how to explain so here is some pics:
This is IE9
This is Chrome/Safari
And this is FireFox/Opera
Here is my SpryCss:
@charset "UTF-8";
LAYOUT INFORMATION: describes box model, positioning, z-order
ul.MenuBarHorizontal
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
cursor: default;
width: auto;
ul.MenuBarActive
z-index: 1000;
ul.MenuBarHorizontal li
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
position: relative;
text-align: left;
cursor: pointer;
float: left;
width: auto;
ul.MenuBarHorizontal ul
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
z-index: 1020;
cursor: default;
position: absolute;
left: -1000em;
width: auto;
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
left: auto;
opacity: 0.75;
width: auto;
white-space: nowrap;
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 5) inset, 0 1px 0 rgba(255, 255, 255, 1);
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 5) inset, 0 1px 0 rgba(255, 255, 255, 1);
box-shadow: 0 1px 3px rgba(0, 0, 0, 5) inset, 0 1px 0 rgba(255, 255, 255, 1);
ul.MenuBarHorizontal ul li
width: auto;
white-space: nowrap;
ul.MenuBarHorizontal ul ul
position: absolute;
margin: 0 0 0 100%;
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
left: auto;
top: 0;
DESIGN INFORMATION: describes color scheme, borders, fonts
ul.MenuBarHorizontal ul
-moz-border-radius: 0px 0px 10px 10px;
-webkit-border-radius: 0px 0px 10px 10px;
border-radius: 0px 0px 10px 10px;
margin: 0;
background: -moz-linear-gradient(top, #18293B, #3C5676);
background: -webkit-gradient(linear, left top, left bottom, from(#3c5670), to(#18293b));
background: -o-linear-gradient(#3c5670, #19293b);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#18293B', endColorstr='#3C5676');
ul.MenuBarHorizontal a
margin: 0;
display: block;
cursor: pointer;
padding: 10px;
color: #FFF;
text-decoration: none;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#18293B', endColorstr='#3C5676');
font-family: 'Muli', sans-serif;
font-size: 10pt;
ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
margin: 0;
background-color: #18293b;
color: #FFF;
-moz-border-radius: 0px 0px 10px 10px;
-webkit-border-radius: 0px 0px 10px 10px;
border-radius: 0px 0px 10px 10px;
ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
background-color: #18293B;
color: #FFF;
-moz-border-radius: 0px 0px 10px 10px;
-webkit-border-radius: 0px 0px 10px 10px;
border-radius: 0px 0px 10px 10px;
SUBMENU INDICATION: styles if there is a submenu under a given menu item
ul.MenuBarHorizontal a.MenuBarItemSubmenu
{ font: 14pt small-caps;
font-family: 'Podkova', sans-serif;
background-image: url(SpryMenuBarDown.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
BROWSER HACKS: the hacks below should not be changed unless you are an expert
ul.MenuBarHorizontal iframe
position: absolute;
z-index: 1010;
filter:alpha(opacity:0.1);
@media screen, projection
ul.MenuBarHorizontal li.MenuBarItemIE
display: inline;
f\loat: left;
background: #FFF;
And here is my HTML:
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Incidentia</title>
<link href="css/reset.css" rel="stylesheet" type="text/css" />
<link href="css/CSS.css" rel="stylesheet" type="text/css" />
<link href="css/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<link href='http://fonts.googleapis.com/css?family=Muli:300,400,300italic,400italic|Podkova|Rokkitt&v2' rel='stylesheet' type='text/css'>
</head>
<script src="jsp/SpryMenuBar.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
var time = 3000;
var numofitems = 7;
//menu constructor
function menu(allitems,thisitem,startstate){
callname= "gl"+thisitem;
divname="subglobal"+thisitem;
this.numberofmenuitems = 7;
this.caller = document.getElementById(callname);
this.thediv = document.getElementById(divname);
this.thediv.style.visibility = startstate;
//menu methods
function ehandler(event,theobj){
for (var i=1; i<= theobj.numberofmenuitems; i++){
var shutdiv =eval( "menuitem"+i+".thediv");
shutdiv.style.visibility="hidden";
theobj.thediv.style.visibility="visible";
function closesubnav(event){
if ((event.clientY <48)||(event.clientY > 107)){
for (var i=1; i<= numofitems; i++){
var shutdiv =eval('menuitem'+i+'.thediv');
shutdiv.style.visibility='hidden';
// -->
</script>
<body>
<!----------------------------------------------------------------WRAPPER-------------------------------------------------------->
<div id="wrapper">
<!----------------------------------------------------------------HEADER---------------------------------------------------------->
<div id="header">
<div id= "logo">
</div>
<div id="searchbox">
<form id="searchbox" action="">
<input id="search" type="text" placeholder="Search">
<input id="submit" type="submit" value="Submit">
</form>
</div>
</div>
<!---------------------------------------------------------------MENUBAR-------------------------------------------------------->
<div id="MenuBar">
<ul class="MenuBarHorizontal">
<li><a class="MenuBarItemSubmenu" href="#">Diary</a>
<ul>
<li><a href="#" class="MenuBarItemSubmenu">this is long menu item</a>
<ul>
<li><a href="#">this a longer longer sub menu item</a></li>
<li><a href="#">this a longer longer</a></li>
<li><a href="#">this a longer</a></li>
</ul>
</li>
<li><a href="#">this is</a></li>
<li><a href="#">this</a></li>
</ul>
</li>
<li><a class="MenuBarItemSubmenu" href="#">Profile</a>
<ul>
<li><a href="#">A very short story</a></li>
<li><a href="#">Item 1.2</a></li>
<li><a href="#">Item 1.3</a></li>
</ul>
</li>
<li><a class="MenuBarItemSubmenu" href="#">Reports</a>
<ul>
<li><a href="#">Item 1.1</a></li>
<li><a href="#">Item 1.2</a></li>
<li><a href="#">Item 1.3</a></li>
</ul>
</li>
<li><a class="MenuBarItemSubmenu" href="#">Role</a>
<ul>
<li><a href="#">Item 1.1</a></li>
<li><a href="#">Item 1.2</a></li>
<li><a href="#">Item 1.3</a></li>
</ul>
</li>
<li><a class="MenuBarItemSubmenu" href="#">Preformance</a>
<ul>
<li><a href="#">Item 1.1</a></li>
<li><a href="#">Item 1.2</a></li>
<li><a href="#">Item 1.3</a></li>
</ul>
</li>
<li><a class="MenuBarItemSubmenu" href="#">Timesheet</a>
<ul>
<li><a href="#">Item 1.1</a></li>
<li><a href="#">Item 1.2</a></li>
<li><a href="#">Item 1.3</a></li>
</ul>
</li>
<li><a class="MenuBarItemSubmenu" href="#">Promo</a>
<ul>
<li><a href="#">Item 1.1</a></li>
<li><a href="#">Item 1.2</a></li>
<li><a href="#">Item 1.3</a></li>
</ul>
</li>
</ul> </div>
<!---------------------------------------------------------------CONTENT-------------------------------------------------------->
<div id="content">
</div>
<!---------------------------------------------------------------FOOTER----------------------------------------------------------->
<div id="footer">
<div class="footer_col">
<h1> View Demo</h1>
<p> "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."</p>
<p> "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."</p>
<p> "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."</p>
</div>
<div class="footer_col">
<h1>Our Clients</h1>
<p> "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."</p>
<p> "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."</p>
<p> "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."</p>
</div>
<div class="footer_col">
<h1> Recent News</h1>
<p> "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."</p>
<p> "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."</p>
<p> "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."</p>
</div>
</div>
<script type="text/javascript">
<!--
var MenuBar = new Spry.Widget.MenuBar("MenuBar", {imgDown:"img/SpryMenuBarDownHover.gif", imgRight:"img/SpryMenuBarRightHover.gif"});
//-->
</script>
</div>
</body>
</html>
Here is my css:
@charset "utf-8";
/* CSS Document */
/* font-family: 'Muli', sans-serif;
font-family: 'Podkova', sans-serif;
font-family: 'Rokkitt', serif;*/
/*===========================PARAGRAPH & HEADINGS====================*/
h1 {
font-family: 'Podkova', sans-serif;
font-size: 24px;
float: left;
color:#FFF;
text-align: center;
p {
font-family: 'Muli', sans-serif;
font-size: 10px;
text-align: left;
float: left;
color: #FFF;
/*===========================BODY====================================*/
body {
/* fallback */
background-color: #FCF7E8;
/* -----------------------------------------css3 code -------------------------------------------------*/
/*--------------------------------gradient background--------------------------------*/
background: -moz-radial-gradient(50% 50%, circle, #FCF7E8, #D0B580);
/*---mozilla-- background: -moz-linear-gradient(#FCF7E8, #D0B580);*/
background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 1204, from(#FCF7E8), to(#D0B580));
/*---safari/chrome-- background: -webkit-gradient(linear, left top, left bottom, from(#FCF7E8), to(#D0B580));*/
/*---opera--*/ background: -o-linear-gradient(#FCF7E8, #D0B580);
/*--ie6-7--*/ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FCF7E8', endColorstr='#D0B580');
/*===========================WRAPPER=================================*/
#wrapper {
margin: auto;
width: 960px;
min-height: 100%;
height: auto;
padding-top: 10px 10px 0px 10px;
/*===========================CONTENT=================================*/
#content {
min-height: 600px;
width: 100%;
/*===========================HEADER==================================*/
#header {
position: relative;
padding: 10px;
/*===========================LOGO====================================*/
#logo {
background-image: url(img/logo.png);
background-repeat: no-repeat;
height: 51px;
width: 330px;
position: relative;
margin-bottom: 20px;
float: left;
/*===========================SEARCH STYLES===========================*/
#searchbox
float: right;
position: relative;
#search, #submit
float: left;
#search
border: 0.5px solid #D0B580;
font-size: 10pt;
background-color: #FCF7E8;
font-family: 'Muli', sans-serif;
color: #18293B;
height: 20px;
width: 225px;
padding: 1px 1px 1px 5px;
/* -----------------------------------------css3 code -------------------------------------------------*/
/*---------------------------------round corners----------------------------------------*/
/*---mozilla--*/ -moz-border-radius: 10px 0px 0px 10px;
/*--opera+ie--*/ border-radius: 10px 0px 0px 10px;
/*----------------------------------------inner shadow----------------------------------*/
/*---mozilla--*/ -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) inset, 0 1px 0 rgba(255, 255, 255, 1);
/*---safari/chrome--*/ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) inset, 0 1px 0 rgba(255, 255, 255, 1);
/*--ie+opera--*/ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) inset, 0 1px 0 rgba(255, 255, 255, 1);
#submit
color: #FFF;
border: solid 0.75px #18293B;
background: #18293B;
height: 23px;
width: 50px;
padding: 3px;
/* -----------------------------------------css3 code -------------------------------------------------*/
/*---------------------------------round corners----------------------------------------*/
/*---mozilla--*/ -moz-border-radius: 0px 10px 10px 0px;
/*--ie+opera*/ border-radius: 0px 10px 10px 0px;
/*---safari/chrome--*/ -webkit-border-radius: 10px;
/*--------------------------------gradient background--------------------------------*/
/*---opera--*/ background: -o-linear-gradient(#18293B, #3C5676);
/*---safari/chrome--*/ background: -webkit-gradient(linear, left top, left bottom, from(#18293B), to(#3C5676));
/*---mozilla--*/ background: -moz-linear-gradient(top, #18293B, #3C5676);
/*--ie6-7--*/ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#18293B', endColorstr='#3C5676');
/*---ie8-9--*/ -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#18293B, endColorstr='#3C5676)";
#submit:hover
background: #18293B;
#submit:active
color: #FFF;
#submit::-moz-focus-inner
border: 0;
/* Small centering fix for Firefox */
/*===========================MENUBAR=================================*/
#MenuBar{
height: 40px;
position: relative;
clear: both;
padding-left: 10px;
/* -----------------------------------------css3 code -------------------------------------------------*/
/*---------------------------------round corners----------------------------------------*/
/*---mozilla--*/ -moz-border-radius: 10px;
/*--ie+opera*/ border-radius: 10px ;
/*---safari/chrome--*/ -webkit-border-radius: 10px;
/*--------------------------------gradient background--------------------------------*/
/*---mozilla--*/ background: -moz-linear-gradient(top, #18293B, #3C5676);
/*---safari/chrome--*/ background: -webkit-gradient(linear, left top, left bottom, from(#3c5670), to(#18293b));
/*---opera--*/ background: -o-linear-gradient(#3c5670, #19293b);
/*---ie6-7--*/ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#18293B', endColorstr='#3C5676');
/*---ie8-9--*/ -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#18293B, endColorstr='#3C5676)";
/*----------------------------------------inner shadow----------------------------------*/
/*---mozilla--*/ -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 5) inset, 0 1px 0 rgba(255, 255, 255, 1);
/*---safari/chrome--*/ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 5) inset, 0 1px 0 rgba(255, 255, 255, 1);
/*---opera+ie--*/ box-shadow: 0 1px 3px rgba(0, 0, 0, 5) inset, 0 1px 0 rgba(255, 255, 255, 1);
/*===========================FOOTER===================================*/
#footer {
background-color: #18293B;
position: relative;
height: auto;
padding: 10px;
/* -----------------------------------------css3 code -------------------------------------------------*/
/*--------------------------------gradient background--------------------------------*/
/*---mozilla--*/ background: -moz-linear-gradient(top, #3C5676, #18293B);
/*---safari/chrome--*/ background: -webkit-gradient(linear, left top, left bottom, from(#3C5676), to(#18293B));
/*---opera--*/ background: -o-linear-gradient(#3C5670, #19293B);
/*---ie6-7--*/ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#18293B', endColorstr='#3C5676');
/*---ie8-9--*/ -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#18293B, endColorstr='#3C5676)";
.footer_col {
position:relative;
float: left;
padding: 10px 10px 0px 10px;
width: 290px;
I've been pulling my hair out on this one. Any help would be great apprciated.
(I also have some problems with my footer, but will open a new post for that later)
Thank You
LizeHi Gramps
Thank you for replying.
I did try that solution previously, but gave it another go. It did not work, so I thought maybe I should try it on a dummy page. It works on FireFox/Opera/Chrome/Safari but not in IE.
Here is the screen shots:
And here is the Spry 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: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
cursor: default;
width: auto;
/* 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: auto;
float: left;
/* 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
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
z-index: 1020;
cursor: default;
width: auto;
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: auto;
/* Menu item containers are same fixed width as parent */
ul.MenuBarHorizontal ul li
display: block;
float: none;
width: auto;
white-space: nowrap;
border-bottom: solid 1px #EEE;
/* 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: #EEE;
padding: 0.5em 0.75em;
color: #333;
text-decoration: none;
/* 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: #33C;
color: #FFF;
/* 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: #33C;
color: #FFF;
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%;
padding: 0.5em 2em 0.5em 0.75em;
/* 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%;
/* 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%;
/* 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;
Am I missing something?
Thanks Lize -
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 & 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 & 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 "D"</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">©</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 -
Hello, I have two templates that I am using. Both have a horizontal menu bar across the top of the page and then two Vertical Spry Menu Bars down the left hand side of the page - one above the other. On one template, all menu bars are working correctly. On the other template, 2 out of three are working correctly. Not sure what's happening here. The spry menu bar that is not working correctly is under "Books & Materials" heading. The menu bar is supposed to turn green when you mouse over it, but instead everything turns white and looks like it "disappears". I have no idea why it would work on one template and not the other. Or for that matter, why it is working on one vertical spry menu bar, but not the other on the same page. Can anyone help me? www.springerlejoy.com/proanimals4.html This is a page that shows where it is not working. Basically, all of the products pages are having this problem. If you go to the home page: www.springerlejoy.com you will see that this page is working - using a different template. Can anyone help me? I'm at a loss! Thanks!
Debbie
Here is the code for the template that is NOT working:
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<link href="../thrColFixHdr.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 */
.thrColFixHdr #sidebar1 { width: 180px; }
.thrColFixHdr #sidebar2 { width: 190px; }
</style>
<![endif]--><!--[if IE]>
<style type="text/css">
/* place css fixes for all versions of IE in this conditional comment */
.thrColFixHdr #sidebar2, .thrColFixHdr #sidebar1 { padding-top: 30px; }
.thrColFixHdr #mainContent { zoom: 1; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]-->
<!--[if IE]>
<style type="text/css">
.thrColFixHdr #container { zoom: 1; }
</style>
<![endif]-->
<style type="text/css">
<!--
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
document.write(unescape("%3Cscript
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-11559638-1");
pageTracker._trackPageview();
} catch(err) {}</script>
body {
background-color: #CCEA86;
.maincontenthdr {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 24px;
font-style: italic;
font-weight: bold;
color: #530000;
text-align: center;
height: 29px;
.maincontenthdr1 {
font-family: Verdana, Geneva, sans-serif;
font-size: 16px;
font-style: normal;
font-weight: bold;
color: #600;
.maincontenttxt {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
font-style: normal;
font-weight: normal;
color: #000;
/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */
.thumbnail{
position: relative;
z-index: 0;
.thumbnail:hover{
background-color: transparent;
z-index: 50;
.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 5px;
left: -800px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: 0;
left: 60px; /*position where enlarged image should offset horizontally */
-->
</style>
<script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
//-->
</script>
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
background-color: #CCEA86;
-->
</style>
<link href="../SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
</head>
<body class="thrColFixHdr" onload="MM_preloadImages('../history2.gif')">
<div id="container">
<div id="header">
<table width="810" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><div class="hdrtxt">
<p>2104 Clairmont Drive<br />
Pittsburgh, PA 15241<br />
T 412-616-9066<br />
F 412-220-2074 </p>
</div></td>
<td align="center"><a href="../index.html"><img src="../logo3.jpg" width="313" height="149" border="0" /></a></td>
<td><div class="rthdrtxt">Cookie Molds from <br />
the Old World for <br />
Baking and Crafts</div>
</td>
</tr>
<tr>
<td width="189" background="../lines.gif"></td>
<td width="409" align="center" background="../lines.gif"> </td>
<td width="182" background="../lines.gif"></td>
</tr>
<tr bgcolor="#BB7C4E">
<td colspan="3" align="left"><ul id="MenuBar1" class="MenuBarHorizontal">
<li><a href="../index.html">Home</a></li>
<li><a href="../aboutus4.html">About Us</a></li>
<li><a href="../howtoorder4.html">How To Order</a> </li>
<li><a href="../information4.html">Information</a></li>
<li><a href="../contactus4.html">Contact Us</a></li>
<li><a href="../recipeshome.html">Recipes</a></li>
<li><a href="../events4.htm">Events</a></li>
<li><a href="../gallery4.html">Photo Gallery</a></li>
</ul></td>
</tr>
</table>
<div class="divmenubar"> </div>
</div>
<div id="sidebar1">
<div class="FeatureItem">
<div align="center"><span class="FeatureItemHead"> </span>
<div>
<div class="Products">Products
<br />
<br />
</div>
<div class="proHeaders">Molds</div>
</div>
</div>
<ul id="MenuBar2" class="MenuBarVertical">
<li><a href="../proangels4.html">Angels</a> </li>
<li><a href="../proanimals4.html">Animals</a></li>
<li><a href="../probaby4.html">Baby</a> </li>
<li><a href="../probiblical4.html">Biblical</a></li>
<li><a href="../probirds41.html">Birds</a></li>
<li><a href="../prochildren4.html">Children</a></li>
<li><a href="../prochristgen4.html">Christmas, General</a></li>
<li><a href="../prochristrel41.html">Christmas, Religious</a></li>
<li><a href="../procornucopia4.html">Cornucopia</a></li>
<li><a href="../procultfig4.html">Cultural Figures</a></li>
<li><a href="../profishing4.html">Fish</a></li>
<li><a href="../proflowers4.html">Flowers & Plants</a></li>
<li><a href="../profruits4.html">Fruit</a></li>
<li><a href="../progeometric4.html">Geometric</a></li>
<li><a href="../progermany4.html">Germany</a></li>
<li><a href="../prohearts4.html">Hearts</a></li>
<li><a href="../proinsects4.html">Insects</a></li>
<li><a href="../proluck4.html">Luck</a></li>
<li><a href="../promarriage4.html">Marriage</a></li>
<li><a href="../promultiple4.html">Multiple Images</a></li>
<li><a href="../promusic4.html">Music</a></li>
<li><a href="../pronautical4.html">Nautical</a></li>
<li><a href="../proscenes4.html">Old Time Scenes</a></li>
<li><a href="../propeople4.html">People in Old Times</a></li>
<li><a href="../prosayings4.html">Sayings</a></li>
<li><a href="../proschool4.html">School</a></li>
<li><a href="../proseasons4.html">Seasons</a></li>
<li><a href="../prostar4.html">Star</a></li>
<li><a href="../prostory4.html">Story / Legend Characters</a></li>
<li><a href="../prosunmoon4.html">Sun & Moon</a></li>
<li><a href="../proswitzerland4.html">Switzerland</a></li>
<li><a href="../prosymbols4.html">Symbols</a></li>
<li><a href="../protransportation4.html">Transportation</a></li>
<li><a href="../prozodiac4.html">Zodiac</a> </li>
</ul>
<div class="proHeaders"><br />
Books & Materials</div>
<ul id="MenuBar3" class="MenuBarVertical">
<li><a href="../probooks4.html">Books</a> </li>
<li><a href="../procookies4.html">Cookies</a></li>
<li><a href="../procutters4.html">Cutters</a> </li>
<li><a href="../proflavoring4.html">Flavoring</a></li>
<li><a href="../profoodcolor4.html">Food Coloring</a></li>
<li><a href="../promaterials4.html">Materials</a></li>
<li><a href="../protools4.html">Tools</a><br /></li>
</ul>
</div>
</div>
<div></div>
<div id="sidebar2">
<div class="nxtevents">
<div class="MenuBarActive">
<div><a href="http://order.store.yahoo.net/cgi-bin/wg-order?yhst-40727766898036 "><img src="../cart1.gif" name="imgfloatright" width="87" height="26" border="0" id="imgfloatright" /></a></div>
<p><br />
<br />
</p>
</div>
<div class="nxtevents">
<div class="maincontenttxt">
<div class="moldscenter"><span class="maincontenthdr1">Featured Item<br />
</span>
<p class="thumbnail"><a class="thumbnail" href="#thumb"><span><img src="1142.jpg" /></span></a> <a class="thumbnail" href="#thumb"><a class="thumbnail" href="#thumb"><img src="1142-1.jpg" width="93px" height="100px" border="0" /></a></p>
<br />
<table width="130" cellpadding="0" cellspacing="0">
<tr>
<td width="61" align="right" class="maincontenttxt">1142</td>
<td width="67" align="right" class="maincontenttxt"><div align="right">$31.00</div></td>
</tr>
</table>
<br />
<a href="../proanimals4.html">The Three Rabbits springerle mold, dia. 3.5" (90mm)</a><br />
<br />
<form method="post" action="<!--#ystore_order id=1142 -->">
<p align="left" class="buttoncenter">
<input type="submit" value="Order Now" />
</p>
</form><br />
</div>
<p class="nxteventshdr">News... </p>
</div>
<p>2/8: Just Arrived from Switzerland today<br />
<strong><U><br />
<a href="../prohearts4.html">11 New Heart Molds</a></U></strong><a href="../prohearts4.html"><U>!</U></a><U><br />
</U></p>
</div>
<div id="moreevents">
<p>2/7: See our new photos in the <a href="../gallery4.html">Photo Gallery</a>!</p>
</div>
</div>
<div>
<p class="nxteventshdr">Newsletter</p>
<p class="nxtevents">To automatically receive our e-mail newsletter with new mold information, tips and tricks, photos of cookies and art, and historical profiles of featured molds, please fill in the form below and press <Submit></p>
<form method=post action="http://us.1.p6.webhosting.yahoo.com/forms?login=springerlejoy" id="form1" name="form1">
<p class="maincontenttxt">First Name
<input name="formFirstName" type="text" class="maincontenttxt" id="formFirstName" />
</p>
<p class="maincontenttxt">Last Name
<input name="FormLast" type="text" class="maincontenttxt" id="FormLast" />
</p>
<p><span class="maincontenttxt">Email Address
<input name="FormEmail" type="text" class="maincontenttxt" id="FormEmail" />
</span></p>
<div id="button">
<input type="submit" name="SubmitButton" id="SubmitButton" value="Submit" />
</div>
<p> </p>
</form>
<p> </p>
<p><a href="http://smallbusiness.yahoo.com/ecommerce/" target="_blank"><img src="http://us.i1.yimg.com/us.yimg.com/i/us/smallbiz/gr/ecomby_128bit.gif" alt="ecommerce provided by Yahoo! Small Business" width="118" height="55" border="0" align="middle"/></a> <br />
<br />
<a href="http://www.facebook.com/pages/Springerle-Joy/243604195833?ref=search&sid=1000000928365 99.173275996..1&v=wall#!/pages/Springerle-Joy/243604195833?v=wall&ref=search"><img src="../5u84f48n.gif" width="144" height="44" /></a> </p>
</div>
<!-- end #sidebar2 -->
</div>
<div id="mainContent">
<div class="maincontenthdr"> <!-- TemplateBeginEditable name="EditMainContHdr" -->
<p class="maincontenthdr">Products</p><div class="leafpic"><img src="../leaves3.jpg" width="420" height="32" /></div>
<!-- TemplateEndEditable --></div>
<div>
<div class="maincontenthdr1">
<table width="418" border="0" cellspacing="0" cellpadding="0">
<!-- TemplateBeginRepeat name="RepeatRegion1" -->
<tr>
<td width="87" rowspan="2" valign="top"><!-- TemplateBeginEditable name="EditRegion6" --> <!-- TemplateEndEditable --></td>
<td width="255" valign="bottom" class="itemno"><!-- TemplateBeginEditable name="EditRegion7" --> <!-- TemplateEndEditable --></td>
<td width="76" valign="bottom" class="price"><!-- TemplateBeginEditable name="EditRegion8" --> <!-- TemplateEndEditable --></td>
</tr>
<tr>
<td valign="top" class="maincontenttxt"><!-- TemplateBeginEditable name="EditRegion10" --> <!-- TemplateEndEditable --></td>
<td class="orderbutton"><!-- TemplateBeginEditable name="EditRegion11" --> <!-- TemplateEndEditable --></td>
</tr>
<!-- TemplateEndRepeat -->
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
<p> </p>
<div class="maincontenttxt"></div>
<p> </p>
<div class="maincontenttxt"></div>
</div>
</div>
</div>
<p>
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats -->
</p>
<p><br class="clearfloat" />
</p>
<div id="footer">
<div id="copyrighttxt">
<p>Copyright© by Springerle Joy, LLC 2010</p>
</div>
<!-- end #footer --></div>
<!-- end #container --></div>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
var MenuBar2 = new Spry.Widget.MenuBar("MenuBar2", {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
</html><script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
File cannot be found. Try
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
File cannot be found. Try
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<link href="file:///Macintosh HD/Users/julesmazur/Desktop/widgets/menubar/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
This link points to a local file on your local harddrive and can therefore not be found. However, this file is not needed because the file will be linked as above.
Gramps -
HELP WITH SPRY MENU BAR!!!
I there,
I'm a newbbie and I'm just learning DW with tutorials and try/error while I make my Cinematographer website. I've been fighting all aspects of DW that are relevant to my site, and I'm having serious trouble formatting the Spry Horizontal Menu Bar.
My last "f***up" has been the following: I already had a pretty decent Menu Bar, but the submenus where a little too low under the parent button. I was trying to lower the space between them items, and I've f***ed up. Not only I haven't been able to make it happen, but now the submenus show all the time, instead of being hidden. This is my MAIN thing here.
Now, if you feel liek helping all the way, I also need to place those SUBMENUs closer to the PARENT button. They seem to be in a "box" that I can't modify.
And if you REALLY want to help even more! I want to set a border to the buttons on the submenu, a thin black border without affecting the upper PARENT button.
How does it sound?? I would REALLY REALLY REALLY appreciate your help, I'm lost!!!
This is still not on-line, so I can't give the URL, but...
Here's the code:
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
background-color: #333;
-->
</style>
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
</head>
<body>
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a href="#" class="MenuBarItemSubmenu">CONTACT</a>
<ul>
<li><a href="#">Contact</a></li>
<li><a href="#">Links</a></li>
</ul>
</li>
<li><a href="#" class="MenuBarItemSubmenu">OTHER WORK</a>
<ul>
<li><a href="#">Cine Institute</a></li>
<li><a href="#">Color Grading</a></li>
<li><a href="#">Percusons</a></li>
</ul>
</li>
<li><a class="MenuBarItemSubmenu" href="#">BIOFILMOGRAPHY</a>
<ul>
<li><a href="#">Resume</a></li>
<li><a href="#">Biofilmography</a></li>
</ul>
</li>
<li><a href="#" class="MenuBarItemSubmenu">PHOTOGRAPHY</a>
<ul>
<li><a href="#">Still Photo</a></li>
<li><a href="#">On Set</a></li>
</ul>
</li>
<li><a class="MenuBarItemSubmenu" href="#">CLIPS VIDEO</a>
<ul>
<li><a href="#">Music video</a></li>
<li><a href="#">Comercial</a></li>
<li class="MenuBarItemSubmenu"><a href="#">Narrativosss</a></li>
</ul>
</li>
<p> </p>
</ul>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
</html>
THANKS VERY MUCH FOR READING!!!!
HermesHermes, the most useful thing for us to see will be the SpryMenuBarHorizontal.css file. The answers will be in your code.
Short of that, if you create a new site and a new page with an unaltered version of the menubar css stylesheet, compare that stylesheet with the one you have edited on your own page. Working carefully from top to bottom and looking at the differences, you might be able to pinpoint the problems. As you will see, the stylesheet is carefully commented, and a careful reading will reveal much to you about how the styles are applied.
One reason submenus might show all the time is if you have altered the style rule that places the submenus at a position of left: -1000em; That is a technique for 'hiding' the submenus way off to the left of the viewport until the Javascript calls them back on when you hover over the main menus. If you have altered any part of that rule, look at it carefully and replace your edits with original code.
Submenus are actually list items in unordered lists. If you can position the top of the unordered list higher, you will shift those submenus higher.
In order to style submenus but not the main menu items, you will style rules whose selectors begin like this:
ul.SpryMenuBarHorizontal ul
That means, the unordered list that is inside the unordered list whose class is "SpryMenuBarHorizontal".
To put rules around submenu items, style the borders of
ul.SpryMenuBarHorizontal ul li
Beth -
HI guys, very good forum! I am new to web design..
I am trying to build a web but i can not figure out how can get the menu button stay in diferent colour when is clicked and page changed.
I will give you examples
http://www.slugandlettuce.co.uk/
Let say i inserted a spry menu bar horizontal and designed it how i like. What rule would i need to add to get buttons to stay the diferent colour when they are clicked/selected. Could you please help me wth that?
Thank you very much.
RomanThe way to make the button for the current page a different colour is to add an ID to the link, and create a separate style rule for it. For example, the following menu uses "here" as the ID to indicate the current page:
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a class="MenuBarItemSubmenu" href="#" id="here">Item 1</a>
<ul>
<li><a href="#">Item 1.1</a></li>
<li><a href="#">Item 1.2</a></li>
<li><a href="#">Item 1.3</a></li>
</ul>
</li>
<li><a href="#">Item 2</a></li>
<li><a class="MenuBarItemSubmenu" href="#">Item 3</a>
<ul>
<li><a class="MenuBarItemSubmenu" href="#">Item 3.1</a>
<ul>
<li><a href="#">Item 3.1.1</a></li>
<li><a href="#">Item 3.1.2</a></li>
</ul>
</li>
<li><a href="#">Item 3.2</a></li>
<li><a href="#">Item 3.3</a></li>
</ul>
</li>
<li><a href="#">Item 4</a></li>
</ul>
With the following rule in the style sheet, the first item is a rusty brown:
#here {
background-color:#C60; -
Hi all,
Thank you in advance for any help.
I'm a bit of a beginner when it comes to coding but I'm trying to come up with a drop down menu bar very simliar to the one on this website:
www.fatmedia.co.uk
I've used inspect element to view the CSS and also viewed the source but i'm a bit confused by the code.
I just need to general layout code so i can add to it and customise etc.
Many thanks!
VikkiHi vikki1987,
Check out the Responsive Horizontal Drop Down Menu on this page. Not exactly the same thing but it should get you started.
http://designscrazed.net/css3-jquery-dropdown-menus/
Thanks,
Preran -
CS4 Help with spry menu bar. Want Top Centered and Subs left-justified.
Hi there, using DW8 mostly, but have the trial version of CS4
for the spry menu bar. WinXP.
Can someone help me with the spry menu bar on this page? I'd
like the main menu to be centered, as it looks better for
appearance, and the sub menus to be left-justified.
http://www.manmeetswoman.com/example4.html
But I can't seem to do that, if I make the main menu
centered, it seems to override the submenus even if I make a class
just for the submenu to be left-justified.
Am I doing something wrong or is this not possible?
And the menu bar looks horrific in IE6. I assume it looks ok
in IE7 and above. Can someone help me with a code just for IE6 for
this?audio90 wrote:
Not quite what I was looking for. I'm wanting the top menu to be grouped together and to the right and the submenu boxes to all a single square box, not just with backgrounds extending only the length of the word. Also, your menu bar doesn't display properly in IE6 either.
1) You should be able to achieve a square box for your submenu items by fixing the widths of all of your submenu items to something larger than the content of your widest submenu <li> tag. This should be achievable with a single change of setting in the following CSS rule.
ul.MenuBarHorizontal ul li {
width:???em;
Set your width using em units, so that the box shrinks and grows with the size of the text when the latter is changed by the user.
2) Getting your top menu items to group together to the right may be more difficult as the entire menu bar is built on an HTML list structure with left-floated <li> tags. If it is possible, then you should begin your experimentation with the following CSS rule
ul.MenuBarHorizontal li {
float:right;
Change the float property from left to right, as I have indicated.
My suspicion, however, is that many subsequent adjustments will have to be made. So, back up your current CSS file before you begin.
Roddy -
Help with Spry Menu Bar 2.0 customization
I am having trouble converting my original Spry menu to version 2.0.
On my website http://bucknellprimaryschool.org/ the 'old' menu system works just great but not in iPads (ie the sub menu does not pop out).
I discovered hat Spry 2.0 does work but I cannot replicate the submenu of the original - I can get the menu to pop out but configuring the different colours for each button has me beat this time. The original was modified using this piece of css to get the coloured rollover effect for the sub menus but I just cannot figure our how to replicate this.
/**LINK CLASSES**/
#rollover1 a.item1 {background: #BDDBEC; border-top-right-radius:15px; border-bottom-right-radius:15px; }
#rollover1 li a.item1:hover,
#rollover1 li a.item1:active,
#rollover1 li a.item1:focus {background: white; }
#rollover2 a.item2 {background: #B4DE8F; border-bottom-right-radius:15px; border-top-right-radius:15px; }
#rollover2 a.item2:hover,
#rollover2 a.item2:active,
#rollover2 a.item2:focus {background: white;}
#rollover3 a.item3 {background: #F8B084; border-bottom-right-radius:15px; border-top-right-radius:15px; }
#rollover3 a.item3:hover,
#rollover3 a.item3:active,
#rollover3 a.item3:focus {background: white;}
#rollover4 a.item4 {background: #CCCCCC; border-bottom-right-radius:15px; border-top-right-radius:15px;}
#rollover4 a.item4:hover,
#rollover4 a.item4:active,
#rollover4 a.item4:focus {background: white;}
#rollover5 a.item5 {background: #CC8BD2; border-bottom-right-radius:15px; border-top-right-radius:15px; }
#rollover5 a.item5:hover,
#rollover5 a.item5:active,
#rollover5 a.item5:focus {background: white;}
#rollover6 a.item6 {background: #FDD760; border-bottom-right-radius:15px; border-top-right-radius:15px; }
#rollover6 a.item6:hover,
#rollover6 a.item6:active,
#rollover6 a.item6:focus {background: white;}
#rollover7 a.item7 {background: #F2D0E9; border-bottom-right-radius:15px; border-top-right-radius:15px; }
#rollover7 a.item7:hover,
#rollover7 a.item7:active,
#rollover7 a.item7:focus {background: white; }
/**END ROLLOVER**/
Can anyone please give me a steer?
Thanks
GrahamI'm back again. I actually managed to get the rollover effect to work by creating new classes in my css so I'm thinking of staying with Spry 2.0. However I've found that using an image file for each of the top line menu items stops the menu popping out in my iPad. If I revert to a coloured box it works just great.
Can anyone please tell me how I can change the top level of the vertical menu so that I have a different colour for each item in much the same way as the old image version?
http://bucknellprimaryschool.org/spry.html is my test file and I have (sort of) fudged the Home item with a coloured 'button'.
Hope someone can step in to help me.
Thanks
Graham
Maybe you are looking for
-
I am trying to send myself pictures and simple graphics that I have created in photoshop so that I can save them in my photos app on my iPad and iPhone. I've tried a variety of file sizes and even saved them out as .png and .pdf files, but when I sen
-
What is default light? I don't add a light source but my scene is lit
Hi, I'm a newbie, here is my problem: I don't add a light source but my scene is lit. I try out demos, for example, TickTockPick, and remove light sources, scene is unlit, dark. but this doesn't happen on my application. it is as if there is a defaul
-
How to interrupt running subvi with global variation
Hi,all I want to use global variation STOP to interrupt the running VI at anytime, but the subVI must be running until executing the WHILE. I knew when one action is operated in the EVENT case, the other action will not be iperated. My question i
-
Delta load of customizing objects from R3 to CRM
I need to set up a delta load for customizing objects for ex: DNL_CUST_BNKA from R3 to CRM. Is there any documentation on this subject? Please advise. Thanks.
-
Download music from iMac to iPad via iTunes
I just want to move a few albums from my iMac iTunes library onto my iPad 3. My music was ripped from my own CDs and was not purchased from the iTunes store. I am not using iTunes Match. I am using OS X 10.8.2, iTunes 11.0.1, and iOS 6.0.1. I plugged