Results 1 to 2 of 2

Thread: Ajax Pagination script formating the text

  1. #1
    Join Date
    Jun 2007
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Ajax Pagination script formating the text

    1) Script Title: Ajax Pagination script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nate/index.htm

    3) Describe problem: When I run the demo for the script the pagination look correct.... Like this...

    |«||1||2||3|4||next||»|

    ...with the left and right arrows.

    But when I insert the script into my web page the arrows become boxes. I don't understand why this is happening. Can you please help? I'm sure its something simple...I'm just not seeing it.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    The arrows are rendered using HTML entities (ie: 00BB). It assumes your pagination DIV's font is Times New Roman. See http://en.wikipedia.org/wiki/List_of...ity_references and go to (00BB) for example to see the rendered symbol.

    HTML entities can be confusing. You may wish to just replace the two arrows (inside ajaxpagination.js) with something else instead.

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
  •