从 you.video.sina.com.cn 看到的代码
if("1"=="0")
{
window.moveTo(0, 0);
window.resizeTo(window.screen.availWidth, window.screen.availHeight);
}
是不是受了什么刺激了…
折腾了一个下午,研究了一下51ditu的 API,大家也可以把自己的flickr照片发到地图上。
打开flickr 某个照片的页面,使用下面的 bookmarklet

spaw2 挺漂亮的,不输于 fckeditor 和 tinymce。
SPAW Editor PHP Edition version 2.0 新增功能:
- completely redesigned and rewritten modular architecture
- tabbed multi-document interface
- floating/shared toolbars
- resizable editing area
- context menu
- file manager plugin
- support for Opera 9 and Safari 3 browsers
下载、解压、上传到www服务器,config/config.default.php 改名为 config/config.php,然后打开 http://yourdomain.com/spaw2/demo/demo.php 查看例子。 详细说明在 integrators.html
在 config/config.php 中可以设置属性。也可以在 php页 中设置属性
SpawConfig::setStaticConfigValue(’default_height’,'500px’);
接收参数用 $_POST[spaw1]
SpawEditorPage constructor accepts 4 arguments: $name - the name of the page (you can read the code edited on this page by reading $_POST[$name] after submission), $caption - this is what is shown to the user on page’s tab, $value - initial page content and $direction - text direction (’ltr’ - for left-to-right, ‘rtl’ - for right-to-left, default - ‘ltr’).
我做了个测试,以备以后之需。
查看更多wysiwyg 相关日志
funny idea.
以下为引用内容:
有文学的程序员书写包含代码的文档来代替包含文档的代码。
参考资料
http://icant.co.uk/csstablegallery/index.php?css=56#r56
这里的表格样式不少啊。每个人都可以书写自己的 table css,然后 submit。