onmouseover /onclick problem

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
ClickClick
Beginner
Beginner
Posts: 2
Joined: Mon Jul 09, 2007 5:14 pm

onmouseover /onclick problem

Post by ClickClick »

Here is an example 'a' tag within my 'ul' and 'li':

Code: Select all

<a id="new_page" class="lbOn" href="/?AJAX=NEWPAGE" onmouseover="document.onclick = function(){};" onclick="return false;">New webpage</a>
The problem is it just loads the page and seems to ignore the onmouseover="document.onclick = function(){};" onclick="return false;" - Any Ideas?

-=ClickClick=-
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

Is this a Milonic menu issue? If it is can you please provide the page so we can see what's going on? If it isn't you'll need to try an html, javascript type forum on the web. This forum is specific to Milonic Dhtml Menu issues.

Ruth
ClickClick
Beginner
Beginner
Posts: 2
Joined: Mon Jul 09, 2007 5:14 pm

Post by ClickClick »

Hi,

Thanks for your reply. I am using a Milonic menu, the one that is dynamically built from an unordered list. I am actually using XSLT to generate the unordered list from XML, this part works, but any javascript I add to the 'a' tag onclick or onmouseover etc seems not to work :?
It appears in my html correctly formatted and if I take the code from that 'a' tag when I view source and take it out the menu it works fine.

-=ClickClick=-
Post Reply