给blog增加了一个计数器以及倒计时器。昨天晚上就加上去了,由于一直是用firefox2测试,看起来没有任何问题,今天早上起来用IE6打开发现竟然所有的侧栏都被定义成javascript里面的一种样式了(ie7被我卸了,所以没办法测试)。改了很久,本以为终于找到一个折衷的办法,使firefox和ie都能很好的浏览本站(就是把[code]<h3><center>[/code]写到javascript的外面),谁知道在firefox下面的head大小定义与ie下面的大小不一样。在ie下面总比firefox看起来大一些。追求完美的我当然不能忍受这点瑕疵了。于是只好再找其他的办法。最后改的还不是很理想,只是把字体加黑,变了颜色。竟然不能改字体大小,如果用[code]<font size =xx>[/code]的话,无论xx等于多少,都会使字体变得很大,不能fit那个侧栏,在ie和firefox下面都是。比较无语……帖上源码,有兴趣的朋友帮我看看是哪里有问题。 [separator][code]<SCRIPT LANGUAGE="JavaScript"> <!-- Begin var date = new Date("December 22, 2006"); var description = "we can meet again"; var now = new Date(); var diff = date.getTime() - now.getTime(); var days = Math.floor(diff / (1000 * 60 * 60 * 24)); document.write("<center><h3>") if (days > 1) { document.write(days + " days left, until " + description); } else if (days == 1) { document.write("Only two days until " + description); } else if (days == 0) { document.write("Tomorrow is " + description); } else { document.write("It's" + description + "!"); document.write("</h3></center>"); } // End --> </script>[/code] [color=#FF0000]呵呵,感觉firefox在慢慢的壮大,因为我们已经开始为firefox而修改我们的网站,天杀的IE,who cares???[/color]
刚才看到了bluehost老总Matt的blog,其中谈到了电影院的利润让我比较感兴趣。不知道在其他地方是不是这样,至少在美国,在犹他州,电影院都不是靠大片赚钱的,而是靠卖饮料或者爆米花赚钱,有点不可思议。盖一个电影院要多少钱?卖爆米花能赚多少钱??? [quote]Did you know that when you go to the movies at a movie theatre that often times the only money made by the theatre is on concessions (Popcorn, etc). On big box office movies like Star Wars or Lord of the Rings 100% of the ticket revenue is given back to the movie studios. Not a single penny goes to the movie theatre chain. On mid range movies 10-30% of the ticket sales will stay with the movie theatre chain. This being the case why don’t movie theatres take care of their customers as effecient as possible to maximize profits and customer satisfaction? …… …… [/quote] 感兴趣的朋友点[url=http://mattheaton.com/?p=59]这里[/url]看全文。Matt的全文的主要意思还是在说bluehost服务有多好多好,还是在推销自己的产品。呵呵。