I'm using version 6.x-2.0 of iWebkit

I was having problems getting the popup menus to work properly for me -- I'm on a dev site that is in a subdirectory of another dev site, and the existing code creates links that send me back to the root of the top level dev site.

So, I'm working in example.com/dev/link, but my links take me back to example.com/link -- but only in the webkit theme.

Looking at the code, I see that in the page.tpl.php looks like this (starting on line 32):

	  foreach($primary_links as $link_name => $link) {
			$out .= '<a href="/' . $link['href'] . '">';
			$out .= '<span class="gray">' . $link['title'] . '</span>';
			$out .= '</a>';
		}

My fix was to take out the leading "/" hard coded into the link (line 33). So it looks like this:

	  
	  foreach($primary_links as $link_name => $link) {
			$out .= '<a href="' . $link['href'] . '">'; 
			$out .= '<span class="gray">' . $link['title'] . '</span>';
			$out .= '</a>';
		}

That make my site work, but I'm sure that it's not a complete fix. I haven't tested it in a root directory situation yet, so I'm sure that this fix will break in that circumstance.