PDA

View Full Version : Ajax Pagination script formating the text



TrueKnight
12-29-2007, 02:02 PM
1) Script Title: Ajax Pagination script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxpaginate/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.

ddadmin
12-29-2007, 10:24 PM
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_XML_and_HTML_character_entity_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.