|
Posted by mbstevens on 08/22/07 02:49
dorayme wrote:
> It is like this: a company clerk somewhere in the world will be
> looking at some url in some paperwork where he needs to go to
> download something. The thing he needs will be in a row of a
> table on a web page that I produce. He can easily scroll the
> table and find it (all rational alpha numerical order), but it
> would be nice if it jumped out at him in case he has had a heavy
> night. The css is the easy bit. The harder bit is getting the
> style to apply to the bit he wants when he clicks the url.
OK, I _think_ I see what you're trying to do now.
What server side languages do you have available?
If the visitor has a CGI link like, e.g., "x.com?450,"
then you can change not only the page's content, but
the generated page's CSS given the stuff after the question
mark (in this case, 450).
If you don't have a data base, as you say, that is too bad. But if
the number of possible generated pages is not really huge, you can
easily keep CSS highlighting information in, e.g., a "450.template" file along with
the particular content for that generated page. Then you use the
information in that file as a template for the generated page.
Whether this is practicable depends on how many possible pages there are
and how you calculate the content. Even if you had SQL or such available,
the general practice of storing specialized CSS with specialized content
should work. If the number and size of changes on possible pages is quite
small, you can even store it inside the program itself in an associative
array.
Navigation:
[Reply to this message]
|