Z500
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Get parent pages in list and children in span for subnavigationI solved it, used
<script type="text/javascript"> $(document).ready(function(){ // YOUR JQUERY SCRIPTS HERE }); </script>
Forum: Fixing WordPress
In reply to: Get parent pages in list and children in span for subnavigationHi Seborgarsen,
I want to use the same menu. I used your code from pastie.org but te code does not change the li’s to span.
I also tested another jquery code and that worked fine.
Here’s my html file, can you (or someone else) see what’s wrong?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "https://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>Untitled</title> <script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js'></script> <<script type="text/javascript"> //NAV MANIPULATION var tNav = "ul#topnav > li"; var menuLength = $('#topnav').children().size(); //finds the second level ul and replaces with span for (i = 0; i < menuLength; i++) { $("#topnav > li:eq(" + i + ")").find("ul").replaceWith("<span>" + $(tNav).find("ul").html() + "</span>"); $("#topnav > li:eq(" + i + ") > span").find("li").each(function(){ $(this).replaceWith(" " + $(this).html() + " "); }); }; </script> </head> <body> <ul id="topnav"> <li><a href="#">1</a></li> <li><a href="#">2</a> <ul> <li><a href="#">2a</a></li> <li><a href="#">2b</a></li> <li><a href="#">2c</a></li> <li><a href="#">2d</a></li> <li><a href="#">2e</a></li> </ul> </li> <li><a href="#">3</a> <ul> <li><a href="#">3a</a></li> <li><a href="#">3c</a></li> </ul> </li> <li><a href="#">4</a></li> <li><a href="#">5</a></li> <li><a href="#">6</a></li> <li><a href="#">7</a></li> </ul> </body> </html>
Thanks!!!
Forum: Fixing WordPress
In reply to: Permalinks and All in one SEO packThanks, I had already removed the #, but forgot to restart apache….
Thank you again.
Forum: Fixing WordPress
In reply to: Sidebar pushed away a littleOké, I fixed that problem… no more parse error, what’s next…
ps: Thanks for your help ??
Forum: Fixing WordPress
In reply to: Sidebar pushed away a littleI know what it is, it’s the top menu… I used the code from the documentation of this site.
Maybe there is a } to many?
Forum: Fixing WordPress
In reply to: Sidebar pushed away a littleI see it, but how do I fixe this? And is this the solution to my problem.. thanks
Forum: Fixing WordPress
In reply to: Sidebar pushed away a littleWell css is fine to, one color warning, but that has nothing to do with it…
Forum: Fixing WordPress
In reply to: Sidebar pushed away a littleOKe I will try that, how much of those test are there? ??
Thanks for yout help
Forum: Fixing WordPress
In reply to: Sidebar pushed away a littleSomebody know a solutions?
Thanks in advance
Forum: Fixing WordPress
In reply to: Sidebar pushed away a littleI did that, he is now;
This Page Is Valid XHTML 1.0 Transitional!But I still have the same problem.
Forum: Fixing WordPress
In reply to: Move login form to a page within my siteNice, but is it also possible that when you have logged in, the form disappears, and only a “logout” link shows?
Forum: Fixing WordPress
In reply to: certain catogories in another box then “catogories”Because I can’t explain it very well, here’s a image that will give a better look at it.
https://www.cousins.budly.com/wp-content/uploads/2006/08/hwoto.JPG
Forum: Fixing WordPress
In reply to: How to delete “Archive for the ‘PRESENTATION’ Category”i use the standard kubrik, but I cannot find it.
Forum: Fixing WordPress
In reply to: certain catogories in another box then “catogories”Oké, and how do I add those removed categories, to another box?
Forum: Fixing WordPress
In reply to: How to delete “Archive for the ‘PRESENTATION’ Category”Yes, I want to know this to, lifeisvibe dit you already found it?