- Exclusive Author
- Has been a member for 2-3 years
- United States
Well, if you’re concerned with having no Javascript, add this to your HTML :
<noscript>
<style type="text/css">
#nav li:hover ul { display: block; }
</style>
</noscript>
Make sure you keep the #nav li ul { display: none; } in your CSS as well.
Well, if you’re concerned with having no Javascript, add this to your HTML :
<noscript>
<style type="text/css">
#nav li:hover ul { display: block; }
</style>
</noscript>
Make sure you keep the #nav li ul { display: none; } in your CSS as well.
Ok I placed #nav li ul { display: none; } in my CSS en I see that the subnavigation is not showing anymore, but you say when peoply have nog actived javascript the will not see the subnavigation, thats why I have to place this code in my HTML
<noscript>
<style type="text/css">
#nav li:hover ul { display: block; }
</style>
</noscript>
Sorry but in wich HTML I have to place this? My index is index.php…
I think it is in this file, the name is highlight_filmstrip.php, I’m a beginner with php, sorryYeah I think your right, try replacing the above line with:$nav .= '<li><img src="wp-content/themes/FancyTheme/thumb.php?src='. get_post_meta($post->ID, "thumb", $single = true) .'&h='. get_option('fancytheme_h1_thumb_height') .'&w='. get_option('fancytheme_h1_thumb_width') .'&zc=1&q=80" alt="'. $post->post_title .'" /></li>';$nav .= '<li><img src="/wp-content/themes/FancyTheme/thumb.php?src='. get_post_meta($post->ID, "thumb", $single = true) .'&h='. get_option('fancytheme_h1_thumb_height') .'&w='. get_option('fancytheme_h1_thumb_width') .'&zc=1&q=80" alt="'. $post->post_title .'" /></li>';
Yeah!! This worked I love you guys!! 
Actually, there should be a pretty easy fix for your hover problem. I’d add this to your CSS :#nav li ul { display: none; }What exactly do you need help with? It looks like you’ve figured out the image problem.
There is a bit of a problem with the Navigation, but you may have it under control. Your site looks like this on my browser (Google Chrome):
![]()
New problem….
that I see because of your screenshot…
When I make my browserscreen smaller the menu items are cropping and the last items are going to a secondline. Can anyone tell me what the reason is?
Thanks for all your help!
- Exclusive Author
- Has been a member for 2-3 years
- United States
Put that <noscript /> bit in your header inside the <head /> tags, but make sure it’s underneath the stylesheet declarations.
As for the navbar problem, I dont’ see any problem in your nav code, so I’m assuming it’s somewhere else on your site. My recommendation is to get your code up to standards, and it should work. Use the w3 markup validator… here.
