Timer

Victor Subervi victorsubervi at gmail.com
Wed Feb 17 13:14:58 EST 2010


Hi;
I have the following css:

<style type='text/css'>
.splash { position:absolute; left:0px; top:0px; z-index:2 }
.page { position:absolute; left:0px; top:0px; z-index:1 }
.text {  font-family: Arial, Helvetica, sans-serif; font-size: 16px;
text-decoration: none; text-align: justify}
</style>

and the following python:

  if new is not None:
    print '<div class="splash">'
    print '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
WIDTH="%s" HEIGHT="%s" id="myMovieName">' % (str(wn*1008), str(wn*200))
    print '''
<PARAM NAME=movie VALUE="GlobalSolutions.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>'''
    print '<EMBED href="/support/flash/ts/documents/myFlashMovie.swf"
quality=high bgcolor=#FFFFFF WIDTH="%s" HEIGHT="%s" NAME="myMovieName"
ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="
http://www.macromedia.com/go/getflashplayer"></EMBED>' % (str(wn*1008),
str(wn*200))
    print '</OBJECT>'
    print '</div>'
    Timer(5, removeCSS, ()).start()

Obviously, the removeCSS isn't going to work in that last line. What can I
put there to remove the splash page after 5 seconds?
TIA,
beno

-- 
The Logos has come to bear
http://logos.13gems.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100217/e96b4907/attachment.html>


More information about the Python-list mailing list