2009/12/21 Pedro Gonçalves <pedrom...@gmail.com>: > If I assign the "next" id to another element function only works once. > > check it out: > http://www.pvxg.net/unplanned/ > > What I want to do is for the user to be able to cycle through the > pictures by clicking on them. >
This is what Charlie was trying to explain. You must not have elements on the page that share an ID. They must be unique. In this case, you should use a class. Also, you have this in your code: next:'#next', next:'#next2' I'm not sure, but I think that repeating the 'next' option would have undesirable results. As it is, the 'next' link does not work for me.