[Web4lib] ASP or JavaScript code for library hours
Whyzzi
whyzzi at gmail.com
Wed Aug 20 12:24:59 EDT 2008
Just exactly what I was about to ask. And if you do use it on the
server side and looking to "block" it on every page similar to any
CMS, why not just wrap the flat HTML hours table in a function and
from the main program call it to be written to the screen:
=-=-=-=-=-
function LibHours
LibHours = "<table><tr><td bgcolor=""#777777"">Library
Hours</td></tr>" & VBCrLf _
& "<tr><td>10am to 6pm ... [etc]" & VBCrLf _
& "</td></tr></table>"
end function
' main program
response.write LibHours()
=-=-=-=-=-=-
Peter Verhagen
Systems Administrator
St. Albert Public Library
2008/8/20 Cloutman, David <DCloutman at co.marin.ca.us>:
> Why not just do it in flat HTML?
> ---
> David Cloutman <dcloutman at co.marin.ca.us>
> Electronic Services Librarian
> Marin County Free Library
>
> -----Original Message-----
> From: web4lib-bounces at webjunction.org
> [mailto:web4lib-bounces at webjunction.org] On Behalf Of Bill Drew
> Sent: Wednesday, August 20, 2008 6:52 AM
> To: web4lib at webjunction.org
> Cc: lita-l at ala.org; lisug-discussion at ls.suny.edu
> Subject: [Web4lib] ASP or JavaScript code for library hours
>
>
> I am looking for code for generating a table of library hours for
> inclusion in our web pages. I have some now but do not remember where
> it came from. I am looking for something a bit easier to maintain. I
> prefer it to be in ASP but am also interested in JavaScript. I am good
> at modifying code to meet our local needs but do not have the experience
> or time to write from scratch.
>
> Bill Drew
>
>
> -----------------------------------------
> Wilfred (Bill) Drew, M.S., B.S., A.S.
> Assistant Professor
> Librarian, Systems and Tech Services
> Tompkins Cortland Community College (TC3) Library:
> http://www.tc3.edu/library/
> Dryden, N.Y. 13053-0139
> E-mail: dreww at tc3.edu
> Phone: 607-844-8222 ext.4406
> AOL Instant Messenger:BillDrew4
> Online Identity: http://claimID.com/billdrew
> StrengthsQuest: Ideation, Input, Learner, Activator, Communication
> http://www.facebook.com/people/Bill_Drew/
>
>
>
> _______________________________________________
> Web4lib mailing list
> Web4lib at webjunction.org
> http://lists.webjunction.org/web4lib/
>
>
> Email Disclaimer: http://www.co.marin.ca.us/nav/misc/EmailDisclaimer.cfm
>
>
>
> _______________________________________________
> Web4lib mailing list
> Web4lib at webjunction.org
> http://lists.webjunction.org/web4lib/
>
>
--
I know too much and yet not enough
More information about the Web4lib
mailing list