In my site the parent page button have both rollover function (when child pages drop down) and onclick function. I don't want a visitor to click on the parent page because there is no content in it.
So, I'd like this parent page button to have only rollover function (on roll over one could see the dropped down child pages) and NOT onclick function.
How to do this?
Thanks in advance.

P.S. I build the site with Wordpress.

Not a Java Server Pages question (that what JSP stands for), therefore moving to JavaScript

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.