Attachment 'pageinfluencescalbackground.py'

Download

   1                     tiptext = '<br>'.join(titletext)
   2                     maketip_js.append("maketip('%s','%s','%s');" % (tipname, tiptitle, tiptext))
   3                     onmouse = '''onMouseOver="tip('%s')" onMouseOut="untip()"''' % tipname
   4                     
   5                     # gsg 2005-11-15 - change background colour depending on contents of heading 1
   6                     lowertip = tiptext.lower()
   7                     if lowertip.find('appointment') >= 0:
   8                         r, g, b, u = (255, 200, 200, 1)
   9                     elif lowertip.find('to do') >= 0:
  10                         r, g, b, u = (200, 200, 255, 1)
  11                     else:
  12                         r, g, b, u = (200, 255, 200, 1)

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2005-11-15 15:37:34, 18.1 KB) [[attachment:pageinfluencescalbackground.jpg]]
  • [get | view] (2005-11-15 15:44:04, 0.7 KB) [[attachment:pageinfluencescalbackground.py]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.