[jQuery] Re: Best way to attach settings to a bunch of HTML

2007-11-26 Thread jonhobbs
Thanks for your answers guys. I thought there might be some very clever way of doing it that the pros aren't telling us about. I'm guessing if my Javascript skills were better I'd probably be able to create a "Grid" object with lots of handy properties and create an instance of that object for e

[jQuery] Re: Best way to attach settings to a bunch of HTML

2007-11-26 Thread Glen Lipka
I use psuedo attributes all the time. As long as you use them properly (google "expandos") they are safe. But then your page won't "validate". You could also use XML, I think. Walking in the park Average Rating:6/10 true But is this any "better" than hidden fields? I think the main

[jQuery] Re: Best way to attach settings to a bunch of HTML

2007-11-26 Thread Wizzud
Can you not simply add another class to the container div (or the image)? eg... Walking in the park Average Rating:6/10 On Nov 26, 2:53 pm, jonhobbs <[EMAIL PROTECTED]> wrote: > Just a quick question hopefully. > > What's the best way of storing settings as part of a chunk of htm