logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Spry
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 12-16-2010, 08:26 PM   #1
king stone
 
Join Date: Dec 2010
Posts: 3
Exclamation i can't change spray menu

i can't change color of a:visited in menu , and everything is ok but this is the problem i assigned it from CSS file but it doesn't work
king stone is offline   Reply With Quote
Old 12-16-2010, 10:25 PM   #2
DWcourse
DWcourse's Avatar
 
Join Date: Apr 2009
Posts: 3,276
Default

did you create a ul.MenuBarHorizontal a:visited stye rule?
__________________
If my answer helped, check out DWcourse.com for Dreamweaver tips and tutorials.
DWcourse is offline   Reply With Quote
Old 12-17-2010, 01:54 AM   #3
king stone
 
Join Date: Dec 2010
Posts: 3
Default thanks for replaying :)

PHP Code:
@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
{
    
margin0;
    
padding0;
    list-
style-typenone;
    
font-size100%;
    
cursor: default;
    
widthauto;
    
border-right-width1px;
    
border-left-width1px;
    
border-right-stylesolid;
    
border-left-stylesolid;
    
border-right-color#666;
    
border-left-color#666;
}
/* 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-index1000;
    
color#00C;
}
/* Menu item containers, position children relative to this container and are a fixed width */
ul.MenuBarHorizontal li
{
    
margin0;
    
padding0;
    list-
style-typenone;
    
font-size100%;
    
positionrelative;
    
text-alignleft;
    
cursorpointer;
    
width7.109em;
    
floatleft;
}
/* 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
{
    
margin0;
    
padding0;
    list-
style-typenone;
    
font-size100%;
    
z-index1020;
    
cursor: default;
    
width8.2em;
    
positionabsolute;
    
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
{
    
leftauto;
    
heightauto;
}
/* Menu item containers are same fixed width as parent */
ul.MenuBarHorizontal ul li
{
    
width8.2em;
}
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
ul.MenuBarHorizontal ul ul
{
    
positionabsolute;
    
margin: -50 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
{
    
leftauto;
    
top0;
}

/*******************************************************************************

 DESIGN INFORMATION: describes color scheme, borders, fonts

 *******************************************************************************/

/* Submenu containers have borders on all sides */
ul.MenuBarHorizontal ul
{
    
border1px solid #CCC;
}
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarHorizontal a
{
    
displayblock;
    
cursorpointer;
    
padding0.5em 0.75em;
    
color#333;
    
text-decorationnone;
    
background-imageurl(../site/2%20copy.JPG);
    
text-aligncenter;
}
/* Menu items that have mouse over or focus have a blue background and white text */
ul.MenuBarHorizontal a:hoverul.MenuBarHorizontal a:focus
{
    
color#06F;
    
background-imageurl(../site/2%20copy.JPG);
    
vertical-alignmiddle;
    
text-aligncenter;
}
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
ul.MenuBarHorizontal a.MenuBarItemHoverul.MenuBarHorizontal a.MenuBarItemSubmenuHoverul.MenuBarHorizontal a.MenuBarSubmenuVisible
{
    
color#FFF;
    
background-imageurl(../site/2%20copy.JPG);
    
border-right-width1px;
    
border-left-width1px;
    
border-right-stylesolid;
    
border-left-stylesolid;
    
border-right-color#003;
    
border-left-color#003;
}

/*******************************************************************************

 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-imageurl(../site/2%20copy.JPG);
    
background-repeatno-repeat;
}
/* 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-imageurl(../site/2%20copy.JPG);
    
background-repeatno-repeat;
}
/* 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-imageurl(../site/2%20copy.JPG);
    
background-repeatno-repeat;
}
/* 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-imageurl(../site/2%20copy.JPG);
    
background-repeatno-repeat;
}
ul.MenuBarHorizontal a.MenuBarItemHoverul.MenuBarHorizontal a.MenuBarItemSubmenuHoverul.MenuBarHorizontal a.MenuBarSubmenuVisible{
    
color#FFF;
    
background-imageurl(../site/2%20copy.JPG);


/*******************************************************************************

 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
{
    
positionabsolute;
    
z-index1010;
    
filter:alpha(opacity:0.1);
}


ul.MenuBarHorizontal a:visited
{
    
background-color#C6C;
    
border-top-width1px;
    
border-right-width1px;
    
border-bottom-width1px;
    
border-left-width1px;
    
border-top-styledotted;
    
border-right-styledotted;
    
border-bottom-styledotted;
    
border-left-styledotted;    
    
    }



/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screenprojection
{
    
ul.MenuBarHorizontal li.MenuBarItemIE
    
{
    
displayinline;
    
f\loatleft;
    
background-color#E6742B;
    
}

this is CSS file
king stone is offline   Reply With Quote
Old 12-17-2010, 07:03 PM   #4
DWcourse
DWcourse's Avatar
 
Join Date: Apr 2009
Posts: 3,276
Default

What do you want to do with the a:visited style (which BTW I don't see in your style sheet.

You'll need to create the style rule ul.MenuBarHorizontal a:visited for editing the visited appearance of links in the menu.
__________________
If my answer helped, check out DWcourse.com for Dreamweaver tips and tutorials.
DWcourse is offline   Reply With Quote
Old 12-17-2010, 07:43 PM   #5
king stone
 
Join Date: Dec 2010
Posts: 3
Default

it is exist in css
ul.MenuBarHorizontal a:visited
{
background-color: #C6C;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: dotted;
border-right-style: dotted;
border-bottom-style: dotted;
border-left-style: dotted;

}
king stone is offline   Reply With Quote
Old 12-17-2010, 07:56 PM   #6
DWcourse
DWcourse's Avatar
 
Join Date: Apr 2009
Posts: 3,276
Default

So have you posted this anywhere and tried it out? You won't see the results of changing the visited style just previewing from Dreamweaver. And if you have posted it, could you share the link?
__________________
If my answer helped, check out DWcourse.com for Dreamweaver tips and tutorials.
DWcourse is offline   Reply With Quote
Old 03-17-2011, 07:07 PM   #7
Dangermouse
 
Join Date: Mar 2011
Posts: 1
Cool i can't change spray menu

To the person who is having trouble with SprayMenu's and can't change the colour of it , read carefully I will only say this once;

1st - insert the menu where ever you wish

2nd - you'll notice a seperate bar that shows, .jss +.css along the top in that you change the desired.

3rd - in the html coding insert the curse in either the label ul horizontal and only in the horizontal what should produce is a sperate class for the user to see what he or she sees and then the second class represents the roll over javascripting.

<Note> when producing the class select the menu so that it reviels the option to add and delete add ons.

<Note2> the second part you select the ul horizontal to create a javascripting.

anyways kick off there and soon you'll gather it.....

Dagermouse singing out, guiding you the right direction.
Dangermouse is offline   Reply With Quote
Old 03-17-2011, 07:16 PM   #8
gentleone
gentleone's Avatar
 
Join Date: Nov 2009
Location: Rhodes, Greece
Posts: 2,837
Default

@dangermouse: If you say it once... don't post it twice!
__________________
www.gentlemedia.nl
gentleone is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:34 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com