SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist
    Join Date
    Jan 2005
    Location
    UK
    Posts
    539
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How can i set different text buttons in this js

    I'm using bxslider to slide list items using jquery:

    http://bxslider.com/js/jquery.bxslider2.0.1.min.js

    Currently, the option "pager" is set to true. meaning that a nav menu appears underneath with 1, 2, 3 ,4.

    I need to replace these numbers with specific text ( 7, 30, 90, 180)
    Now i was wondering if it was possible when the js writes these links out, it could use (eg) a name attribute that i could specify for each list item:

    <li name=7>......</li>
    <li name=30>......</li>
    etc...

    Where/what would i need to edit in the above js file to achieve this?

  2. #2
    SitePoint Evangelist
    Join Date
    Jan 2005
    Location
    UK
    Posts
    539
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Any javascript gurus out there?!


Bookmarks

Posting Permissions

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