Jump to content

variable with <>


eiranix

Recommended Posts

Can anone tell me how I can put the < and > characters in this script?

For the 'previous' entry I want to use '<' but any way I put it in results in the entire script not working

I have tried using "&lt" and "<" and "<" with no success...

 

(This is a part of the jpages plugin)

var name = "jPages",      instance = null,      defaults = {        containerID: "",        first: false,        previous: "<",        next: ">",        last: false,        links: "numeric", // blank || title        startPage: 1,        perPage: 6,        midRange: 3,        startRange: 1,        endRange: 1,        keyBrowse: false,        scrollBrowse: false,        pause: 0,        clickStop: false,        delay: 50,        direction: "forward", // backwards || auto || random ||        animation: "", // http://daneden.me/animate/ - any entrance animations        fallback: 400,        minHeight: true,        callback: undefined // function( pages, items ) { }      };
Link to comment
Share on other sites

Yeah I thought I might have been putting it in wrong, but I have tried several ways to put the same character in and it breaks the script every time.

I'll try on the jpages issues/suggestions board and see if anyone knows...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...