SpryMenuBar afbeelding

Status
Niet open voor verdere reacties.

Gwenniejjj

Gebruiker
Lid geworden
22 nov 2011
Berichten
10
Hallo allemaal,

Ik heb misschien wel een hele stomme vraag (ook al is vragen nooit stom als je er zelf niet meer uit komt).

Ik ben student aan het Grafisch Lyceum Rotterdam.
Loop nu stage en moet op mijn stage een website maken.

Nu is me dat aardig gelukt
Maar loop tegen een probleem aan bij mijn SpryMenuBarHorizantal.

Ik heb een menubar van 6 met onder 2 nog een submenu.

Nu wil ik de tekst in de menubar anders hebben..
Maar blijkbaar kan niet iedereen de tekst niet zien als het font niet aanwezig is op pc of mac..
Nou is mij verteld dat je ze dan als plaatje moet importeren in het desbetreffende tabje..

Nu heb ik dat gedaan maar werkt het niet..
Ook wil ik er dan nog een rollover bij hebben..
Maar het werkt niet zoals ik dat wil..

Kan iemand mij helpen??

Alvast bedankt.

Vriendelijke Groet,

Gwen Smits
 
Ik ben net 3 dagen bezig met dreamweaver maar wss weet ik hoe je het kan fixen.

http://www.youtube.com/watch?v=-qANEM39gJY

De video hierboven heeft mij verder geholpen, ik leg het alsnog even uit.

Rechts heb ik een menu waar ik uit een paar dingen kan kiezen onder andere Spry, dan ga je naar spry menu bar en kies je horizantal of vertical.

Als het goed is verschijnt er dan rechts onder nog een menutje met ul.Menubar.... etc.
Als je op 1 van deze teksten dubbel klikt opent er een venster en daar kan je je background instellen. Je kan ook een plaatje instellen en je kan ook bij je spry menu bar instellen welke kleur/plaatje je roll-over krijgt.

Ik hoop dat ik je heb geholpen ;)
 
Ik snap wat je bedoeld..
Maar dat is me allemaal gelukt..
Maar nu wil ik dus in de sprymenubar per onderwerp een eigen plaatje..
Dus niet overal hetzelfde..

Dus in 1 komt bijvoorbeeld Welkom, dus daar wil ik een plaatje in waar het woord welkom al is verwerkt.
Als ik dat doe via die methode komt het dus ook ik 2, 3, 4, 5 & 6 te staan..
En die moeten dus allemaal ook een eigen plaatje met hun eigen menuwoord erin verwerkt.
 
Hallo Gwen Smits :thumb:

Als per onderwerp een eigen knop wil maken met een afbeelding en tekst zal je per knop minsten vier foto's moeten maken en deze dan met navigatie-balk moeten verwerken, deze staat onder het menu invoegen - algemeen - afbeeldingen en dan navigatiebalk
Hier een link naar voorbeeld
Het enige nadeel van dit gebruik is dat je geen sub-menu kan maken

Groetjes Billscot :cool:
 
Dat is het probleem nu juist..

http://www.schuimparty.net/

dat is de website die ik heb gemaakt..
Nu wil ik in de navigatie balk (enkel welkom, mogelijkheden, tarieven, F.A.Q., offerte & contact) een plaatje met daarin de tekst in het lettertype van schuimparty. zie erboven..

is dat überhaupt mogelijk?
ik heb het geprobeerd om er gewoon een plaatje in te zetten.. maar dan werkt de balk dus niet meer
 
Hallo Gwen Smits :thumb:

Je zal in je SpryMenuBarHorizontal.css je font moeten invoeren in
Code:
ul.MenuBarHorizontal
{
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-size: 100%;
        [COLOR="red"]font-family : BubbleGum;[/COLOR]
	cursor: default;
	width: auto;
}
Je zal tevens in je SpryMenuBarHorizontal.css waar er font-family:Arial;staat deze moeten verwijderen
Het zou er dan zo moeten uitzien
Code:
/* 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%;
        font-family : BubbleGum;
	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: 150px;
	float: left;
	background-image: url(../knoppen/backgrond.jpg);
}
/* 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: 16pt;
	z-index: 1020;
	cursor: default;
	width: 150px;
	position: absolute;
	left: -1000em;
	font-family: Arial;
	color: #FF0;
	background-image: url(../knoppen/backgrond.jpg);
}
/* 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;
	font-size: 16px;
	color: #FF0;
	text-align: center;
}
/* Menu item containers are same fixed width as parent */
ul.MenuBarHorizontal ul li
{
	width: 182px;
	font-size: 16px;
	color: #FF0;
}
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
ul.MenuBarHorizontal ul ul
{
	position: absolute;
	color: #FF0;
	text-align: center;
	width: 182px;
	margin-top: -5%;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 95%;
	font-size: 16px;
}
/* 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 #FFF;
	width: 182px;
}
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarHorizontal a
{
	display: block;
	cursor: pointer;
	background-color: #EEE;
	color: #FF0;
	text-decoration: none;
	font-size: 16px;
	text-align: center;
	font-weight: bold;
	background-image: url(../knoppen/backgrond.jpg);
	padding-top: 0.5em;
	padding-right: 0.75em;
	padding-bottom: 0.5em;
	padding-left: 0.75em;
}
/* 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: #999;
	background-image: url(../knoppen/backgrondROUL150.jpg);
	text-align: center;
	font-weight: bold;
}
/* 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;
	background-image: url(../knoppen/backgrondROUL182.jpg);
}

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

 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-repeat: no-repeat;
	font-size: 16px;
	color: #FF0;
	font-weight: bold;
	background-image: url(../knoppen/backgrond.jpg);
}
/* 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-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-repeat: no-repeat;
	font-weight: bold;
	color: #FFF;
	background-image: url(../knoppen/backgrondROUL150.jpg);
	text-align: center;
}
/* 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-repeat: no-repeat;
	font-weight: bold;
	color: #FFF;
	background-image: url(../knoppen/backgrondROUL182.jpg);
	text-align: center;
}

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

 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;
	}
}

Groetjes Billscot :cool:
 
Hallo Gwen Smits :thumb:

Je zal in je SpryMenuBarHorizontal.css je font moeten invoeren in
Code:
ul.MenuBarHorizontal
{
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-size: 100%;
        [COLOR="red"]font-family : BubbleGum;[/COLOR]
	cursor: default;
	width: auto;
}
Je zal tevens in je SpryMenuBarHorizontal.css waar er font-family:Arial;staat deze moeten verwijderen
Het zou er dan zo moeten uitzien
Code:
/* 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%;
        font-family : BubbleGum;
	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: 150px;
	float: left;
	background-image: url(../knoppen/backgrond.jpg);
}
/* 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: 16pt;
	z-index: 1020;
	cursor: default;
	width: 150px;
	position: absolute;
	left: -1000em;
	font-family: Arial;
	color: #FF0;
	background-image: url(../knoppen/backgrond.jpg);
}
/* 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;
	font-size: 16px;
	color: #FF0;
	text-align: center;
}
/* Menu item containers are same fixed width as parent */
ul.MenuBarHorizontal ul li
{
	width: 182px;
	font-size: 16px;
	color: #FF0;
}
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
ul.MenuBarHorizontal ul ul
{
	position: absolute;
	color: #FF0;
	text-align: center;
	width: 182px;
	margin-top: -5%;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 95%;
	font-size: 16px;
}
/* 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 #FFF;
	width: 182px;
}
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarHorizontal a
{
	display: block;
	cursor: pointer;
	background-color: #EEE;
	color: #FF0;
	text-decoration: none;
	font-size: 16px;
	text-align: center;
	font-weight: bold;
	background-image: url(../knoppen/backgrond.jpg);
	padding-top: 0.5em;
	padding-right: 0.75em;
	padding-bottom: 0.5em;
	padding-left: 0.75em;
}
/* 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: #999;
	background-image: url(../knoppen/backgrondROUL150.jpg);
	text-align: center;
	font-weight: bold;
}
/* 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;
	background-image: url(../knoppen/backgrondROUL182.jpg);
}

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

 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-repeat: no-repeat;
	font-size: 16px;
	color: #FF0;
	font-weight: bold;
	background-image: url(../knoppen/backgrond.jpg);
}
/* 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-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-repeat: no-repeat;
	font-weight: bold;
	color: #FFF;
	background-image: url(../knoppen/backgrondROUL150.jpg);
	text-align: center;
}
/* 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-repeat: no-repeat;
	font-weight: bold;
	color: #FFF;
	background-image: url(../knoppen/backgrondROUL182.jpg);
	text-align: center;
}

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

 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;
	}
}

Groetjes Billscot :cool:

Het probleem dan is dat ik dat lettertype wel kan zien, omdat ik het lettertype heb geïnstalleerd, maar op een andere pc/mac is het niet zichtbaar als het font niet is geïnstalleerd..
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan