a href="#" linking to my index instead of just using my desired jquery function because of base href
<p>I am trying to use a jquery plugin that requires the href to be href="#". however when I click on these links to which have onclick actions, then instead of the action taking place (I can see it take place briefly actually) the index page loads with the url: www.mysite.com/#</p>

<p>I have narrowed the problem down to my base href script that is required for my shopping cart:</p>

<pre><code>&lt;base href="&lt;?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?&gt;" /&gt;
</code></pre>

<p>This base href script is needed to switch between SSL and none SSL pages. DIR_WS_CATALOG is defined as / </p>

<p>which is my index.. So is there any way around this? Do you need more information I'm not sure what else to look at?</p>
