Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Nov 2011
    Thanked 0 Times in 0 Posts

    Exclamation Variable Previous Next controls using Javascript?

    Hello all,

    I am currently working on a site for a friend and have reached a navigational problem I cannot figure out how to achieve...

    He has a list of products that link to relevant individual pages which also have next and previous buttons to browse all the product pages on the site (only 10 so no big deal).

    However, he wants to add additional lists that recommend products by category preference? So for example; 4 products may appeal to a particular category, but when you click the link to view one of the products shown the next and previous buttons scroll through the entire products pages! and not only the ones recommended?? IS it possible using Javascript to define which pages are linked to as next previous without having to create lots more html copies of content pages?

    I have a basic knowledge of Javascript but cannot find a workable answer or example using google. Any help would be much appreciated.

    Thanks in advance...

  2. #2
    Senior Coder jmrker's Avatar
    Join Date
    Aug 2006
    Thanked 590 Times in 584 Posts
    Post some code.
    Even if it only an HTML shell with a BRIEF example of the JS you have attempted.


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts