How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask ATLPROG Your Own Question

ATLPROG
ATLPROG, Computer Software Engineer
Category: Programming
Satisfied Customers: 7677
Experience:  MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML
44910485
Type Your Programming Question Here...
ATLPROG is online now
A new question is answered every 9 seconds

This is my free question . osCommerce: I can't remember

Customer Question

This is my free question for May. osCommerce: I can't remember how to do this but I would like to edit the top horizontal navigation menu on www.yogaayurveda.org/catalog/. Please point me in the right direction.

Submitted: 6 months ago.
Category: Programming
Expert:  Breland replied 6 months ago.
Hello Genia,In what way would you like to edit the navigation menu?
Customer: replied 6 months ago.

I'd like to add one more navigation item.

Expert:  Breland replied 6 months ago.
Is it just a link or is it a list or an item on one of the sub lists?
Customer: replied 6 months ago.

I figured it out. Thanks.

Expert:  Breland replied 6 months ago.
Ok, great.
Customer: replied 6 months ago.

But I do have one question...

Is there a way to change the order of products listed on yogaayurveda.org/catalog/?

Expert:  Breland replied 6 months ago.
Such as to sort it alphabetically?This could be done with PHP if an array is created and the navigation list used the array to populate it but that's not how the website is designed. From what I can see, it would have to be done manually.
Expert:  Breland replied 6 months ago.
You could also use JQuery and do it this way:var items = $('.dropdown-menu li').get();items.sort(function(a,b){var keyA = $(a).text();var keyB = $(b).text(); if (keyA if (keyA > keyB) return 1; return 0; });var ul = $('.dropdown-menu');$.each(items, function(i, li){ ul.append(li);});