Color submenu Spry hover does not work
HelloI did spry vertical menubar, (I had several on my page, because I want to manage the colors on all of them). so for now, I'm working on the first (if I can do the first I do the other).
My problem is the submenu have color when I go on the parent of the menu, but when I go into the submenu of the color to significate that the link is active do not work, I try many a trick (found in forum) but does not work.
So if someone had an idea for help, please? I think that I don't have the proper syntax for the action of pointing on the submenu (sorry for English)
Kind regards
OK, sorry, I m quite starting on spry
I don't have enough, research I find the solution... http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=12&catid=189&threadid = 1264732 & highlight_key = y & keyword1 = spry % 20submenu
Tags: Dreamweaver
Similar Questions
-
Sampling of colors with the eyedropper does not work.
In Lightroom CC, I create a graduated filter. I want to give it a color, if I click in the gray box, which shows the colorpicker. I understand that you can pitch a color of the picture by clicking the box with the colors, then hold and go to the photo and release the mouse button, LR will choose this color. This does not work with me. If I click on the mouse button and let the color box, the slider in the color box drops to zero saturation and does not move with the colors of my photo I'm going with my pipette. It does not pick up the color.
Same problem here! Selector is not looking for colors on the image window (it does outside of the Lightroom window!)
I found that the problem occurs when the preferences are set to use the graphics processor.
Disable the GPU and the color eyedropper tool returns to work on the image window.
-
Spry menu does not work in full I.e.
I know that there are 5,000 on this subject, but most are confusing and hard to understand... That is, my Spry Menu is perfect in all browsers except? any type, it goes transparent overview and does not allow clicking on?
Here is the site that it is... thenorthgate.org
Any help would be greatly appreciated... Here is the head of my doc...Nevermind, I figured it... I had the right to spry z-index, but I had the div it is in without a z-index... done as well the spry and the div z-index 1020 and hop! It works...
-
Spry menu does not work in IE7
The page in question is http://www.mayland.edu/test/index.html .
I'm at my wits end to solve a problem of menu drop-down submenu in IE7. I used Horizontal Spry menu creation in Dreamweaver CS3, put it in a < div > tag and use it to fill the bar in the design of the page and Center it in the window. I changed the background colors and font sizes. Page looks fine in Firefox and Safari, but when the submenu appears in IE7, menu items appear inline horizontally to each other instead of vertically one below the other. I don't know there is a setting in the CSS that I have messed up or is not configured properly to make the menu appear correctly, but I can't find the problem. Could someone take a look and give my an idea of what I could do to make this work?Open your spry script file and find this line:
this.createIframeLayer (menu);Put 2 slashes in to to comment on him, like this:
this.createIframeLayer (menu);Then go here and deploy the setting wmode to your flash animation:
http://www.Projectseven.com/support/answers.asp?ID=127--
Al Sparber - PVII
http://www.Projectseven.com
Fully automated Menu systems | Galleries | Widgets
http://www.Projectseven.com/go/elevators"maylandmac" wrote in message
News:fvvm5k$JJ$1@forums. Macromedia.com...
> The page in question is http://www.mayland.edu/test/index.html .
>
> I am at my wits end to solve a problem of menu drop-down submenu in IE7. I used
> the
> Creating menu horizontal Spry in Dreamweaver CS3, place it in a
> and
> to help fill the bar through the design of the page and Center it in
> the
> window. I changed the background colors and font sizes. Page
> looks like
> fine in Firefox and Safari, but when the submenu appears in IE7, menu
> Articles
> appear inline horizontally to each other instead of vertically a sub
> another. I don't know there is a setting in the CSS I have is dirty
> upward or
> is not configured properly to make the menu appear correctly, but I can't find
> the
> problem. Could someone take a look and give an idea of what I could do to my
> to
> do this work?
> -
Color and CC-Sync does not work...
Hello
I just wanted to try the new service of "Color" with the CC-libraries-function.
I have some older themes (again from the time of Kuler) available and only tried to synchronize the new library in Photoshop (latest Version). But he said the current version of the libraries available.
Do I have to move the themes on the website of color somehow in a section "libraries" or something like that to see in PS?
IM see forward for your response.
Thank you
Nadine
For the moment, there is no way to spend your color.adobe.com themes in CC libraries via the website (not sure if that's actually what you asked to do?).
You can only do the iPhone/iPad app.
- Access your color.adobe.com themes in the iOS app.
- Then tap them for the details. From there, you will see a copy icon (two places with a sign). Tap on this icon.
- Select the CC library you want to save a copy of your theme.
I hope this helps.
-
Photoshop CS6 auto tone, Auto color, auto contrast just does not work.
Mac OS file 10.9.4 regardless of the JPG or DNG, 8-bit, RGB. Click on one of the features three automatic and the whole image is a degree of washed out. See before and after. Help, please.
It could be the Correction Options automatic color > target colors are out of wack.
Make a layer and levels adjustment in photoshop, select Options from the car.
The default colors are
(click on color chips to change)
Shadows RGB 0,0,0
RGB 128,128,128 midtones
RGB 255,255,255 highlights
-
Tried to download off kuler colors in Illustrator CC, does not work
Why he keep doing this?
You will find the solution to your concern on this thread
-
Color search and replace does not work on cs6
IM using Mac OS X 10.8.2 with Flash CS6 version 12.0.2.529.
When you use find and replace to change the color of the forms I get the message "no element is found."
Someone knows how to fix this?
that, I don't know. but copy the hexadecimal color of your rectangle and stick in the color picker hexagonal textfield and search for a match.
-
Active AF:commandLink: hover &; CSS does not work
Hello
I use JDeveloper 11.1.1.6
My script is required to change the color in < af:commandLink > at this time active. I tried CSS styles below,
+ af | commandLink: active {+
background-color: #7FFFD4.
+}+
+ af | commandLink: hover {+
background-color: #FFCCFF;
+}+
But it does not work. I followed this URL http://jdevadf.oracle.com/adf-richclient-demo/faces/components/skinningKeys/commandLink.jspx .Hi David,
Looking for probably
af|commandLink:link:active { color: Aqua; }
Here are the other selectors
af|commandLink:active af|commandLink:busy af|commandLink:disabled af|commandLink:hover af|commandLink:inline-selectable af|commandLink:inline-selected af|commandLink:link:active af|commandLink:visited
See here: http://jdevadf.oracle.com/adf-richclient-demo/docs/skin-selectors.html
Kind regards
Lalit
-
Mobile: HP Elitebook 8560p
Bios: 68SCF worm. F.6.1
Modem: AGERA Systems HDA Modem
HP hs2340 HSPA + Mobile
Network: Intel (R) (R) Centrino Advanced - N 6205
Intel (R) 82579LM Gigabit Network ConnectionOS: Windows 10.0 (build 10240)
I've updated HP Elitebook 8560p of Windows7 (64-bit) for Windows 10. The upgrade process was successful. Later, I noticed, Wifi and 3 G-internal modem does not work. Sametime, I noticed, that old HP Connection Manager has been uninstalled (or lost?).
The problem is basically this: Wifi - and connections 3G internal modem does not work. I noticed, that wifi-button has "orange" color and the button does not work? I can't change the Wifi status parameters at the level of the OS of Off to On. That's why assume that the wifi module is on "off"-"State. I found the driver SP7107 (driver Wifi for Windows 10 button) package and I tried to install it. The installion failed because InstallDriver_64, location failed. (In Finnish language. Toiminto InstallDriver_64, may c:\...\WirelessbuttonDriver.inf' / installdrv/force). Is there an instruction manual to install the driver?
I'm very confused and I don't know really, what is the first cause of the wifi - 3 g-modem internal questions and. I guess, this wifi button is not about root work.
Can someone clarify why there are not more HP Connection Manager on Windows 10 and I tried to install, but install cancelled due to bad BONES. How can I manage wifi - and States of modem 3g without it?
If anyone can help?
A big thank you!
Sip2sip
Uninstall the access key and button wireless driver
Reset
Open Device Manager, run the dirver update
shouldn't this go
Download Connection Manager
FTP://ftp.HP.com/pub/SoftPaq/sp66001-66500/sp66235.exe
Install the program in Compatibility Mode in Windows 7
-
Dreamweaver CS4 errors, Spry widget does not. Help, please!
I remodel a website and downloaded the this contact page html file. I opened it in Dreamweaver and I started getting this error. I opened the html file has some JavaScripts inside and I think, the scripts had a conflict with Dreamweaver CS4. I already deleted these files, I tried to open it and I always meet these errors.
These are the errors I get:
1. when I open Dreamweaver, this pop-up message:
"While executing onLoad in RecordsetFind.htm, the following JavaScript error has occurred:
In the file "RecordsetFind".
findRs is not defined. »
2. I click OK. Then I get this message:
"While executing onLoad in design Notes_onOpen.htm, the following JavaScript error has occurred:
In the file "Notes_onOpen Design".
onOpen is undefined. »
3. I just click OK. When I open a html file to edit or create a new, this error pops up again:
"While executing onLoad in design Notes_onOpen.htm, the following JavaScript error has occurred:
In the file "Notes_onOpen Design".
onOpen is undefined. »
4. I shall yet once just click OK, then this error:
"The following translators were not loaded due to errors:
ColdFusion.htm: has configuration information that is invalid.
SpryWidget.htm: has configuration information that is invalid. »
5 then, I will just click OK again. Then, when I'm working with projects or create a new project with Spry, it does not work properly. I got the code and update the list Spry or content manually.
6. when I close Dreamweaver, I always have this error:
"While executing onLoad in TeamAdminTempDelete.html, the following JavaScript error has occurred:
In the file "TeamAdminTempDelete".
delTempFile is not defined.I tried to uninstall the Dreamweaver and install again, but it did not work.
What should I do to make the spry works again and remove all those annoying errors? Furthermore, all my Spry widgets do not work and these errors I encounter in all the Sites that I'm trying. How can I make it work again? I tried the search problems in CS4, but I couldn't see one, only in CS3.
Help, please.
See if the following can help (found in the Dreamweaver FAQ)
JavaScript and other unexpected errors
--
Mark A. Boyd
Keep-on-Learnine :-)
This message was processed and published by Jive.
It will not be considered an accurate representation of my words.
She may not even have been designed as a response to your message. -
CS4 MENU HORIZONTAL SPRY DOES NOT WORK IN IE 8
I had problems with the drop-down list of CS4 so I decided to create a clean HTML page and start from scratch. I created a new HTML page with nothing else than a horizontal menu spry, but it does not work in IE 8. Drop-down menus do not show. Nothing has been changed in all included files in DW, but I copied and pasted below.
Any help would be greatly appreciated.
HTML:
< ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "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 >
< 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 class = "MenuBarItemSubmenu" href = "#" > item 1 < /a >
< ul >
< li > < a href = "#" > 1.1 < /a > < /li >
< li > < a href = "#" > 1.2 < /a > < /li >
< li > < a href = "#" > question 1.3 < /a > < /li >
< /ul >
< /li >
< li > < a href = "#" > item 2 < /a > < /li >
< li > < a class = "MenuBarItemSubmenu" href = "#" > point 3 < /a >
< ul >
< li > < a class = "MenuBarItemSubmenu" href = "#" > point 3.1 < /a >
< ul >
< li > < a href = "#" > section 3.1.1 < /a > < /li >
< li > < a href = "#" > 3.1.2 < /a > < /li >
< /ul >
< /li >
< li > < a href = "#" > point 3.2 < /a > < /li >
< li > < a href = "#" > point 3.3 < /a > < /li >
< /ul >
< /li >
< li > < a href = "#" > point 4 < /a > < /li >
< /ul >
< script type = "text/javascript" >
<!--
var MenuBar1 = new Spry.Widget.MenuBar ("MenuBar1", {imgDown: "SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});})
->
< /script >
< / body >
< / html >@charset "UTF-8";
/ * Sections - version 0.6 - Pre - Release Spry 1.6.1 * /.
/ * Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
/*******************************************************************************
The AVAILABLE INFORMATION: Describes the box model, positioning, the order
*******************************************************************************/
/ * The outermost container for the menu bar, an area of width auto without margin or padding * /.
UL. MenuBarHorizontal
{
margin: 0;
padding: 0;
list-style-type: none;
do-size: 100%;
cursor: default;
Width: auto;
}
/ * Value of the menu bar active with this class, currently the definition of z-index to accommodate IE rendering bugs: http://therealcrisp.xs4all.nl/Meuk/IE-zindexbug.html */
UL. MenuBarActive
{
z-index: 1000;
}
/ * Menu item containers, position of children relative to this container and are a fixed width * /.
UL. MenuBarHorizontal li
{
margin: 0;
padding: 0;
list-style-type: none;
do-size: 100%;
position: relative;
text-align: left;
cursor: pointer;
Width: 8th;
float: left;
}
/ * Submenus should appear under their parent (top: 0) with a higher z-index, but they are first the left side of the screen (-1000em) * /.
UL. MenuBarHorizontal ul
{
margin: 0;
padding: 0;
list-style-type: none;
do-size: 100%;
z index: 1020;
cursor: default;
Width: 8.2em;
position: absolute;
left:-1000em;
}
/ * Submenu that shows with the designation of the class MenuBarSubmenuVisible, we put the car left so it happens on the screen below its parent menu item * /.
UL. MenuBarHorizontal ul. MenuBarSubmenuVisible
{
left: auto;
}
/ * Container of menu items are same fixed width parent * /.
UL. MenuBarHorizontal ul li
{
Width: 8.2em;
}
/ * Submenus should appear slightly overlapping to the right (95%) and upward (-5%) * /.
UL. MenuBarHorizontal ul ul
{
position: absolute;
margin:-5% 0 0 95%;
}
/ * Submenu that shows with the designation of the class MenuBarSubmenuVisible, we have left to 0, it is on the screen * /.
UL. MenuBarHorizontal ul. MenuBarSubmenuVisible ul. MenuBarSubmenuVisible
{
left: auto;
top: 0;
}/*******************************************************************************
INFORMATION DESIGN: Describes the set of colors, borders, fonts
*******************************************************************************/
/ * Submenu containers have borders on all sides * /.
UL. MenuBarHorizontal ul
{
border: 1px solid #CCC;
}
/ * Menu items are a light grey 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;
}
/ Components menu that have mouse over or focus have a blue background and white text * /.
UL. MenuBarHorizontal a: hover, ul. MenuBarHorizontal a: focus
{
background-color: # 33;
color: #FFF;
}
/ * Menu items that are opened with the submenus are on MenuBarItemHover with a blue background and white text * /.
UL. MenuBarHorizontal a.MenuBarItemHover, ul. MenuBarHorizontal a.MenuBarItemSubmenuHover, ul. MenuBarHorizontal a.MenuBarSubmenuVisible
{
background-color: # 33;
color: #FFF;
}/*******************************************************************************
Submenu INDICATION: styles if there is a submenu in a given category
*******************************************************************************/
/ * Menu items that have a submenu have the MenuBarItemSubmenu class designation and are set to use a positioned background the far left (95%) and vertically centered image (50%) * /.
UL. MenuBarHorizontal a.MenuBarItemSubmenu
{
background-image: url (SpryMenuBarDown.gif);
background-repeat: no-repeat;
background-position: 50 95%;
}
/ * Menu items that have a submenu have the MenuBarItemSubmenu class designation and are set to use a positioned background the far left (95%) and vertically centered image (50%) * /.
UL. MenuBarHorizontal ul a.MenuBarItemSubmenu
{
background-image: url (SpryMenuBarRight.gif);
background-repeat: no-repeat;
background-position: 50 95%;
}
/ * Menu items that are opened with the submenus have the designation of the MenuBarItemSubmenuHover class and are set to use a background image "hover" 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: 50 95%;
}
/ * Menu items that are opened with the submenus have the designation of the MenuBarItemSubmenuHover class and are set to use a background image "hover" 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: 50 95%;
}/*******************************************************************************
BROWSER HACKS: hacks below should not be changed, unless you are an expert
*******************************************************************************/
/ * HACK FOR IE: to ensure that sub menus show above form controls, underpin us each submenu with an iframe * /.
UL. MenuBarHorizontal iframe
{
position: absolute;
z index: 1010;
Filter:alpha(opacity:0.1);
}
/ * HACK FOR IE: to stabilize the appearance of the menu items. the slash in the float is to keep IE 5.0 analysis * /.
@media screen, projection
{
UL. MenuBarHorizontal li. MenuBarItemIE
{
display: inline;
f\loat: left;
Background: #FFF;
}
}SpryMenuBar.js - version 0.12 - Pre - Release Spry 1.6.1
//
Copyright (c) 2006. Adobe Systems Incorporated.
All rights reserved.
//
Redistribution and use in source form and binary, with or without
modification, are permitted provided that the following conditions are met:
//
* The redistributions of source code must retain the above copyright notice
This list of conditions and the following disclaimer.
* The redistributions in binary form must reproduce the above copyright notice
This list of conditions and the following disclaimer in the documentation
and/or other documents 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 written permission.
//
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS WHAT.
AND ANY EXPRESS WARRANTY OR IMPLIED, INCLUDING, BUT WITHOUT LIMITATION, THE
GUARANTEED IMPLICIT QUALITY MARKET AND ADEQUACY HAS A PARTICULAR PURPOSE
ARE EXCLUDED. IN NO CASE WILL THE OWNER OF THE COPYRIGHT OR CONTRIBUTORS BE
RESPONSIBLE FOR DIRECT, INDIRECT, INCIDENTAL, SPECIAL DAMAGES, COPIES, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PURCHASES OF)
SUBSTITUTE PRODUCTS 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)
RESULTING FROM THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES./*******************************************************************************
SpryMenuBar.js
This file manages the JavaScript for the Spry menu bar. You should have no need
to change this file. Some highlights of the object from the menu bar, is that the timers are
used to prevent the display until the user has flown over the parent of submenus
menu item for some time, but also a timer for when they leave a submenu to keep
display this submenu until that timer starts.*******************************************************************************/
var Spry; If (!.) Spry) Spry = {}; If (!.) Spry.Widget) Spry.Widget = {};
Spry.BrowserSniff = function()
{
var b = navigator.appName.toString ();
var up = navigator.platform.toString ();
au var = 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. Platform] = true;
This.v = this.version;If (this.safari & & this.mac & & this.mozilla) {}
This.Mozilla = false;
}
};Spry.is = new Spry.BrowserSniff ();
Constructor for the Menu bar
element must be an ID of an unordered list (< ul > tag)
preloadImage1 and preloadImage2 are images for the rollover a State 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 menu (under-) current, in that we operate
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'))
{
deposit on older browsers not taken in charge
return;
}Difficulty of flickering images CSS IE6
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 the overview images now
If (OPTS)
{
for (var k opts)
{
If (typeof this [k] is "undefined")
{
rollover var = new Image;
rollover. SRC = opts [k];
}
}
Spry.Widget.MenuBar.setOptions (, opts);
}Safari does not support the 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)
.tabIndex items [i]. GetElementsByTagName ('a') [0] = '-1';(Items [i], element); This.Initialize
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 ++)
{
. style.position linkitems [i] = '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).
{
Returns false;
}
Returns 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 the Menu bar
join an event a tag without creating annoying HTML code
Spry.Widget.MenuBar.prototype.addEventListener = function (element, eventType, Manager, capture)
{
Try
{
If (element.addEventListener)
{
element.addEventListener (eventType, Manager, capture);
}
Else if (element.attachEvent)
{
element.attachEvent ("on" + eventType, handler);
}
}
catch (e) {}
};menu bar createIframeLayer
creates an IFRAME under a menu that appears above the 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 ';
};menu bar removeIframeLayer
Removes an IFRAME under a menu to reveal form and ActiveX controls
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]);
}
};menu bar clearMenus
root is the unordered list of high level (< 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);
};menu bar bubbledTextEvent
identify bubbled events text in Safari, so we can ignore
Spry.Widget.MenuBar.prototype.bubbledTextEvent = function()
{
return Spry.is.safari & & (event.target == event.relatedTarget.parentNode |) (event.eventPhase == 3 & & event.target.parentNode == event.relatedTarget)) ;
};menu bar showSubmenu
set the CSS class on this menu to show
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);
};menu bar hideSubmenu
delete the CSS class on this menu to hide
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);
}
};initialization of the Menu bar
create listeners for events for the widget bar of menus so that we can properly
show and hide sub-menus
Spry.Widget.MenuBar.prototype.initialize = function (listitem, element)
{
var opentime, closetime;
link var = listitem.getElementsByTagName ('a') [0];
submenus var = 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 which comes standard in Internet Explorer to determine
If a node is in another node
ListItem.Contains = function (testNode)
{
It's the list item
if(testNode == null)
Returns false;if(testNode == This)
Returns true;
on the other
Return this.contains (testNode.parentNode);
};
}need to set this to reach lower
var self = this;
this.addEventListener (listitem, "mouseover", Function {self.mouseOver (listitem, e)}; false);
this.addEventListener (listitem, 'mouseout/mouseouthandler()', Function {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 {self.keyFocus (listitem, e)}; false);
}
};
Spry.Widget.MenuBar.prototype.keyFocus = function (listitem, e As EventArgs)
{
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 open current item
If (! this.lastOpen)
return;If (el)
{
El = el.getElementsByTagName ('a') [0];
check children
var point = this.lastOpen;
While (article! = this.element)
{
var tmp = el;
While (tmp! = this.element)
{
If (tmp is point)
return;
try {}
tmp = tmp.parentNode;
} catch (err) {break ;}
}
Item = item.parentNode;
}
}
var point = this.lastOpen;
While (article! = this.element)
{
this.hideSubmenu (item.parentNode);
link var = 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;
ListItem var = this.lastOpen.parentNode;
var this.lastOpen = link;
submenus var = listitem.getElementsByTagName ('ul');
var menu = (submenus.length > 0? submenus [0]: null);
var hasSubMenu (menu) =? true: false;opts var = [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 (opt, 'y', 1);
break;
case this.downKeyCode:
found = this.getElementForKey (opt, 'y',-1);
break;
case this.leftKeyCode:
found = this.getElementForKey (opt, 'x', 1);
break;
case this.rightKeyCode:
found = this.getElementForKey (opt, 'x',-1);
break;
case this.escKeyCode:
case 9:
this.clearSelection ();
this.hasFocus = false;
default: return;
}
switch (found)
{
case 0: return End Function
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 is opts [found] .getElementsByTagName ('a') [0];.
If (opts [found].nodeName.toLowerCase () is "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 the new management of the events by the browser
Return Spry.Widget.MenuBar.stopPropagation (e);
};
Spry.Widget.MenuBar.prototype.mouseOver = function (listitem, e As EventArgs)
{
link var = listitem.getElementsByTagName ('a') [0];
submenus var = 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 the propagated events text
return;
}If (listitem.closetime)
clearTimeout() (listitem.closetime);if(this.currMenu == ListItem)
{
this.currMenu = null;
}move the focus too
If (this.hasFocus)
Link.Focus ();the menu highlighted
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 As EventArgs)
{
link var = listitem.getElementsByTagName ('a') [0];
submenus var = listitem.getElementsByTagName ('ul');
var menu = (submenus.length > 0? submenus [0]: null);
var hasSubMenu (menu) =? true: false;
If (this.bubbledTextEvent ())
{
ignore the propagated events text
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, siblings)
{
var = element [brother] child;
While (child & & child.nodeName.toLowerCase ()! = "li")
child = child [brother];return of child;
};
Spry.Widget.MenuBar.prototype.getElementForKey = function (SLE, prop, dir)
{
var found = 0;
var Rect = Spry.Widget.MenuBar.getPosition;
Var ref = rect (els [found]);var hideSubmenu = false;
make the visible subitem to calculate the position
If (els [1] & &! this.hasClassName (els [1], this.)) MenuBarSubmenuVisible))
{
. style.visibility Els [1] = "hidden";
this.showSubmenu(els[1]);
hideSubmenu = true;
}var isVert = this.hasClassName (this.element, this.verticalClass);
hasParent var = els [0].parentNode.parentNode.nodeName.toLowerCase () == 'li '? true: false;
for (var i = 1; i < els.length; i ++) {}
When you browse the y-axis in the menus vertical, ignore the children and parents
If (prop == 'y' & & isVert & & (i == 1 | I == 2))
{
continue;
}
When navigationg on the x axis in the horizontal menu LEVEL FIRST, ignore the 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;
}
}
}
In return hide the submenu
If (els [1] & & hideSubmenu) {}
this.hideSubmenu(els[1]);
. style.visibility Els [1] = ";
}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;
}
on the other
{
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)
{
CSS var = document.defaultView.getComputedStyle (item, 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 (item, 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) {}
Returns false;
}If (el.parentNode = null |) Spry.Widget.MenuBar.getStyleProp (el, 'display') == 'none') {}
the element must be visible to have a box
Returns false;
}var ret = {x: 0, y: 0};
var parent = null;
var box;If (el.getBoundingClientRect) {/ / IE}
box = el.getBoundingClientRect ();
scrollTop var = doc.documentElement.scrollTop | doc.body.scrollTop;
scrollLeft var = 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 & (absolute safari) represent bad 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;
on the other
parent = null;
If {(parent.nodeName)
var No. case = parent.nodeName.toUpperCase ();
While (parent & & case! = "BODY" & & case! = 'HTML') {}
No case = parent.nodeName.toUpperCase ();
RET.x = parent.scrollLeft;
RET.y = parent.scrollTop;
If (parent.parentNode)
parent = parent.parentNode;
on the other
parent = null;
}
}
return ret;
};Spry.Widget.MenuBar.stopPropagation = function (ev)
{
If (ev.stopPropagation)
ev.stopPropagation ();
on the other
ev.cancelBubble = true;
If (ev.preventDefault)
ev.preventDefault ();
on the other
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];
}
};It may be an idea to enable active scripting in your browser on
-
New iPhone IS does not work with MAC Mini 10.6.8. Apple support says upgrade your iTunes. Its the wrong color icon. WHAT? iTunes is the last 11.4 for my mac. All my music is on my Mac. Help!
That is right. The requires iTunes 12.3.3 and in order to get it, you will need to update OS X to El Capitan. That's how Apple has created for better or worse, I'm sorry.
-
Having saved palettes of colors and values CMYK in the color picker, how do I add Pages 5.6.1 color picker in my MAC (OS 10.10.5) system directory, so it does not work with other programs e.g. Word? I saw way back with Tiger BONES.
What you want to replicate from El Capitan in Yosemite?
- The file containing all the samples stored color of the Apple color picker?
- The color picker itself?
- Both?
Question 1 is a simple transfer of a single file.
- From the Finder, press shift + cmd + G keys to go to the folder. Copy and paste the following in this dialog box:
~/Library/colors - The file has your stored color swatch is: NSColorPanelSwatches.plist
- On Yosemite, quit Word, Pages and other applications that use the Apple color chart
- Repeat step 1 on your machine of Yosemite
- Rename (do not remove) the Yosemite NSColorPanelSwatches.plist existing NSColorPanelSwatches.plist.old
- Copy the color swatch file El Capitan in Yosemite file location
- Launch the applications that use the color chart to see Apple El Capitan from swatches.
-
my color resolution does not work can you tell me how to fix it?
Hi my color resolution does not work its blurry can you tell me how to fix it? Ty
Hello Andrea,
First, what operating system are you using?
Second, how many time that there a problem?
Was anything changed on your system before to happen began?
Finally, you have the latest updated drivers for your video card?
Eddie B.
Maybe you are looking for
-
I get the text informing that "lost-mode device was found." citing IOS 9.3.2 and say to connect to Internet link provided - this looks terribly strange - suggestions
-
After a repair for a few hours, I don't always find a good solution. Actually, I've learned that if I create a user profile, with this command in windows Run: "C:\Program Files\Mozilla Firefox\firefox.exe" - p, I can open the profile user manually an
-
OSX 10.11.3 Hp J3600 series driver not found
Hello My macbook 12 "2015 the last updated, yet the hp officejet j3600 series, look at the picture. Serching the Web for quick response, so we got offers to download the previous version of hp drivers including 500 MB download-only. Coming, as it is
-
Why can I not acsess my WRT610N using the URL listed in the configuration page: http://WRT610N.com? I was able to use a similar with my netgear router.
-
How can I sort a list of emails in chronological order in a folder in Windows Explorer
I copied about 20 emails from my Outlook 2010 Inbox to a folder in windows Explorer. It's all in date order when it is in Outlook, but when they are copied to a folder, they acquired all the same date and time and therefore reodering by impossible da