Web development



  • Minify. Another PHP based CSS and javascript combiner/optimizer.



  • S60’s Web Run-Time (which I’ve never heard of) will include Jquery.







Making favicons

While I’ve tried many different ways of making favicons, I prefer — and would recommend — creating PNGs and then converting them using png2ico. I’m still on the fence whether bundling a 32x32 pixel version pays off. On one hand, it’s “invisible” and available in cases where it’d make sense; on the other hand, it’s just extra bits to send down the wire.

Ilya


  • Sphinx. An open source SQL full-text search engine.
  • Solr. An open source search server based on the Lucene Java search library, with XML/HTTP and JSON APIs, hit highlighting, faceted search, caching, replication, and a web administration interface.


Catfishes and speed fixes

Here’s a handy Catfish plugin for Jquery. The author’s site seems to have disappeared, so I can’t comment there, but the one big thing to fix in this is to include a “speed fix”, which smoothes the jerkiness in the IE6 expression-based workaround.

Sitepoint’s original Catfish implementation was great, but big and slow pages tend to react badly with their IE6 workaround. Another approach is to use expressions to emulate position: fixed.

<!--[if lt IE 7]>
<style type="text/css">

body { background: url(hack) fixed; } /* 'speed fix', fixes the jerkiness of IE6 */
#catfish {
    position: absolute;
    top: expression(
        offset = parseInt(catfish.offsetHeight),
        document.documentElement.scrollTop + document.documentElement.clientHeight - offset + 'px'
    );
}

</style>
<![endif]-->

Ilya


  • wSlide. A smooth jQuery plugin for creating "paged" content boxes.




  • flot. A chart plotting library for jQuery.





Thickbox and SWFObject in IE6

I ran into some strange security errors with Thickbox and Flash in (surprise, surprise) IE6. Thickbox’s forums clued me into suspecting the problem had to do with SWFObject. The solution was to give the SWFObject’s script a defer attribute.

There’s still the issue of how much memory Thickbox causes IE6 to hog, but at least it’s working.

Ilya





  • PHP mail() and the path of no return. &quot;Turns out that lesser-spotted fifth argument to mail() can be used to send an additional parameter to Sendmail to set the envelope From address. '-r from@example.com'.&quot;




  • Home
  • About
  • Preferences


This category in RSS

November 2008

Mon

Tue

Wed

Thu

Fri

Sat

Sun

 

 

 

 

 

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

Oct   Dec

Beared souls

caught together

You are being counted

714151