Member directories js/html question
-
This is probably best directed to Andy, but I thought it may be more appropriate to ask here if another contributer knows.
I’m taking apart the directory templates at the moment, and I notice that the four directories use a lot of specific ID tags more than generic classes (e.g. groups-directory-search), even though the structure is pretty much the same for all directories.
Although this doesn’t really apply to the CSS runles, there is a javascript event for each directory’s search function, letter searching, etc. When I look at it I can see it being done with one event (e.g. one search event handler) for all searches.
I wanted to know if there was a specific reason for the use of seperate js events for each directory? This isn’t exactly a huge improvement to performance or anything, but if one jquery event can cater to all four directories, I’m just curious as to why it doesn’t?
- The topic ‘Member directories js/html question’ is closed to new replies.