Vielen herzlichen Dank, Du bist der Chef! ;-) Hat funktioniert. :-)
Beiträge von laffer
-
-
Danke Dir. Da ich die einfache Version bevorzuge(n muss, als Anfänger), die finale Frage: meine o.g. Funktion derart 1-zu-1 "irgendwo" in die header.php kopieren?
-
Hatte die o.g. Funktion in wp-includes -> js -> jquery kopiert
-
Seit WP 3.0 öffnen sich popup-Fenster, durch javascript ausgelöst, nicht mehr.
Beispiellink bei http://www.spott-online.de/gute_reise/europa/whale-watching-in-ligurien
<A href="javascript: newWindow ('http://upload.wikimedia.org/wikipedia/comm…dei_cetacei.png', 'whale', '605', '500', 0, 0, 0, 0, 0,0)">Santuario dei Cetacei</A>In die jquery hatte ich folgendes eingefügt:
PHPfunction newWindow(url, name, width, height, toolbar, status, scrollbar, resizable, menubar, location) { var win = window.open(url,name,"width=" + width + ",height=" + height + ", toolbar=" + toolbar + ",status=" + status + ",scrollbars=" + scrollbar + ",resizable=" + resizable + ",menubar=" + menubar + ",location=" + location); win.focus(); }Woran kann das liegen bzw. was muss ich ändern? Danke!
-
Hallo, fällt jemandem eine Lösung ein, mit der ich die Unterpunkte wieder ausklappen könnte, wenn ich in ihnen navigiere?
Besten Dank.
-
Hallo zusammen,
habe ein Problem, in dieser CSS die Farbe für die headlines der Artikel auf der statischen Site http://www.plankermann.de/masserien/apulien/ zu ändern (Ist: schwarz, Soll: #DEA23A). Was muss ich wo einsetzen?
Vielen Dank
Hab´s selbst gefunden: war kurioserweise die h3!
CSS:
Code
Alles anzeigen/* Theme Name: WordPress Theme Generator Theme URI: [URL]http://www.yvoschaap.com/wpthemegen/[/URL] Description: WordPress Custom Theme for Masserien-Spezielist.de created with the <a href="http://www.yvoschaap.com/wpthemegen/">WordPress Theme Generator</a>. To edit your current theme go: <a href="http://tinyurl.com/nmr5mq">edit settings</a>. Version: 13 Aug, 21:24 Author: W.P. Gen Author URI: [URL]http://www.yvoschaap.com/[/URL] */ html>body #content { height: auto; min-height: 580px; } body{ font-family: verdana; font-size: 95%; line-height: 115%; background-color: #FAF6EE; background-image: url(/); background-repeat: repeat; background-position: center top; text-align: center; } body,td,th { color: #000000; } a, a:link { padding: 0px; color: #859E6C; text-decoration: underline; } a:hover { color: #FFFFCC; text-decoration: none; ; } h1 { font-family: verdana; font-weight: bold; font-size: 190%; padding-top: .1em; padding-bottom: .5em; } h2 { font-family: Arial; font-weight: bold; font-size: 150%; } h3 { font-family: verdana; font-size: 130%; } h4 { font-size: 105%; } p { font-size: 80%; margin-bottom:1em; } strong, b { font-weight: bold; } em, i { font-style: italic; } code { font: 1.1em 'Courier New', Courier, Fixed; } acronym, abbr { font-size: 0.9em; letter-spacing: .07em; } a img { border: none; } #hd{ text-align: center; padding-top: 24px; padding-bottom: 0px } #hd h1{ font-size: 290%; color: #FFFFFF; } #hd h1 a{ text-decoration: none; color: #FFFFFF; } h3 a:link, h3 a:hover, h3 a:visited{ color: #DFA746; } .item { padding: 20px; background-color: #F4E5CB; background-image: url(/); background-repeat: repeat; text-align:left; border: 0px #1A1A1A; margin-bottom: 1em; ; } .item ul { list-style-type: disc; padding-left: 10px; margin-left: 15px; font-size: 80%; } .item ol{ list-style-type: decimal; padding-left: 15px; margin-left: 10px; font-size: 80%; } .itemhead{ padding-top: 5px; padding-bottom: 5px; } .chronodata { display: inline; text-align: right; margin-left: 2em; font-size: 80%; } .itemhead h3{ display: inline; } input{ font-size: 80%; } .metadata{ line-height: 190%; font-size: 75%; } .metadata a:link, .metadata a:hover, .metadata a:visited{ color: #859E6C; } .tags, .catagory { display: block; } .commentlist p { clear: both; font-size: 95%; } cite{ font-size: 95%; } blockquote { margin: 15px 30px 0 10px; padding-left: 20px; border-left: 5px solid #ddd; } blockquote cite { margin: 5px 0 0; display: block; } .commentmetadata { font-size: 80%; float: right; } .commentlist { margin-top: 5px; } .commentlist li { padding: 2px; border-top: 1px solid #1A1A1A; } .navigation { display: block; text-align: center; margin-top: 10px; margin-bottom: 10px; color: #FFFFCC; } .navigation a:link, .navigation a:hover, .navigation a:visited{ color: #FFFFCC; } .alignright { float: right; } .alignleft { float: left } #secondary, #third{ background-color: #EDCF9E; background-image: url(/); background-repeat: repeat; text-align:right; padding: 10px; border: 0px #1A1A1A; SP_GRADIENT } #secondary h4, #third h4{ color: #859E6C; font-family: Trebuchet MS, arial, sans-serif; margin-top: 5px; padding: 3px; } #secondary p, #third p{ padding: 3px; font-size: 70%; } #searchform { clear: both; margin-bottom: 5px; margin-left: 2px; padding: 3px; } #third { margin-left: 9px; } #menu {padding:0; border:0px solid #fff } #menu ul {list-style:none; margin:0; padding:0; font-size:85%; } #menu ul li { padding:0; margin:0; border-bottom:0px #FFFFFF; } #menu ul li a { display:block; padding:4px 4px 4px 10px; text-decoration:none; color: #FFFFFF; } #menu ul li a:hover { color:myheadttcolor; background: #DFA746; } #menu ul ul { display: none } .current_page_item ul { display: block !important } li .categories, li .linkcat, li .pagenav { list-style: none; margin: 0px; padding: 0px; } .yui-nav{ margin-bottom: -1px; } .yui-navset .yui-nav a:hover { background-color: #DFA746; color: #FFFFFF; } .yui-navset .yui-nav li a { background-color: #F4E5CB; background-image: url(/); background-repeat: repeat; border-bottom: 0px; color: #FFFFFF; padding: .3em .7em .3em .7em; text-decoration:none; font-size: 85%; } #wp-calendar { empty-cells: show; font-size: 90%; margin: 0; width: 90%; padding: 3px; } #wp-calendar #next a { padding-right: 10px; text-align: right; } #wp-calendar #prev a { padding-left: 10px; text-align: left; } #wp-calendar a { display: block; text-decoration: none; } #wp-calendar td { color: #FFFFFF; font-size: 70%; letter-spacing: normal; padding: 2px 0; text-align: center; } #wp-calendar #today { background: ; color: #DFA746; } #wp-calendar th { font-style: normal; text-transform: capitalize; } #ft { text-align: center; margin-top: 10px; margin-bottom: 10px; color: #FFFFCC; } #ft a:link, #ft a:hover, #ft a:visited{ color: #FFFFCC; } -
Danke hero-master! Das Untermenü sollte erst erscheinen bei Klick auf die Mutter (http://www.plankermann.de/masserien/masserien).
[FONT=monospace].[/FONT]current_page_item ul {
display: block !important
}Danke Dir, habe es nun in CSS eingebaut. Teil 1 (Unterseiten ausgeblendet) funktioniert auch prima. Teil 2 auch (bei klick auf den Mutterlink taucht das Untermenü auf).
Lediglich Teil 3 würde ich noch benötigen: das Untermenü sollte sichtbar sein solange man darin navigiert. Die 12 Unterpunkte verschwinden jedoch alle wieder sobald man auf einen von ihnen klickt.Hättest Du hierfür evtl. auch noch eine Lösung, bitte?
-
Hallo,
suche verzweifelt eine Möglichkeit, für eine statische Site (http://www.plankermann.de/masserien) die 12 Unterseiten in der linken Navi erst dann anzeigen zu lassen, nachdem/wenn deren "Mutter" (hier: "Masserien in Apulien") angeklickt wurde.
D.h. diese childs sollen in der sidebar auch nicht erscheinen, wenn andere Seiten angeklickt sind.
In der linken Seitennavigation habe ich übrigens auch 2 widgets (hatte gelesen, dass dies bei einigen Lösungsansätzen nicht gut ist) ;-)
Vielen Dank vorab für Eure Hilfe