Hey guys, long time member, first time questioner-asker. I work for EastCoastAirsoft, and I need some help on doing something related to subcategories. For some of the main categories, I would like to hide the subcategories, but for others, I want them to remain viewable. When you click a main category anyway, the subcategories come up, so for some categories it is redundant. The reason I want to do this is for SEO purposes, and it would really help me out if someone could offer their assistance. Thanks!!
Help with osCommerce Website
Started by Kaabi, Mar 23 2010 02:50 PM
1 reply to this topic
#1
Posted 23 March 2010 - 02:50 PM
|
|
|
#2
Posted 11 April 2010 - 08:51 AM
Use onclick mabey? I think I get what you are trying to say.
You mean like you click a link and a bunch of other links pop up?
Just don't use onclick with a link, you'll just go to that link.
Try something like this:
You mean like you click a link and a bunch of other links pop up?
Just don't use onclick with a link, you'll just go to that link.
Try something like this:
<script type="text/javascript">
function writesubcategorys()
{
document.write("<a href="rtgrt0ttt.yyrth">Name</a>")
document.write("<br>")
//just repeat those two lines
//of code for every sub category
//then do this
}
</script>
<tag ONMOUSEOVER="writesubcategorys()">
Feel free to edit this all you want, the top is written in basic javascript.


Sign In
Create Account


Back to top










