September 08, 2004

Customizing search results

  • Found and fixed footer alignment problem in authentication join screen in IE. Turns out it was two unclosed tags in the template. Those example templates are really sloppy
  • Looking at what it'll take to highlight the results in different colors
  • At first glance, it appears that the best-supported method is to make the protected stuff a speparate realm
  • Nope. That %realm% variable is simply what was passed into the search engine. In my case it'll always return "All"
  • I suppose I could change my form to have radio buttons for public, customers, all. Not as slick as I'd like, but it would work from a UI point of view
  • Bumped my question on the forum. Never got a response from either of my original questions
  • Hmm. I wonder if I can do a Javascript regex to choose the class. Bet it doesn't work in NN4
  • Nope. I tried and I can't seem to change the class being called as the page is loaded. I've Googled a little, but most people want to change either a particular named div, or they want to change the attributes of a class. I can't see how to assign a class at runtime
  • I suppose I can set the id of each result using the %rank% substitution. Then call the changeclass routine with %rank% and %url%
    • Posted by Mighty at September 8, 2004 05:51 AM