Showing posts with label web development. Show all posts
Showing posts with label web development. Show all posts

Wednesday, September 23, 2009

Web development tool for IE x

In the middle of the September, Microsoft release free web development tool,SuperPreview for Internet Explorer. This free tool is limited to IE. You can choose different version of IE to show result if your system is supported. I use Windows XP sp3 within IE6, and there is only a version of IE which is in the list. You can buy full version of SuperPreview to use Firefox.

FYI:
Microsoft Expression Web SuperPreview for Windows Internet Explorer
Microsoft Expression Expression

Sunday, January 13, 2008

PHP permission denied

If you use SeLinux, there is a little bit modification. Because the security problmes, you must tell your system that which modules is trusted. After you run "apachectl start" and the unhappy error shows below:
XXXX. PHP5 cannot restore segment prot afterreloc: Permission denied
You should disable SELinux or issue "chcon -t texrel_shlib_t /usr/local/apache2/modules/*.so"

Monday, November 12, 2007

Wednesday, October 24, 2007

jQuery

jQuery is a javascript tool. It can simplify the development processing of ajax.

FYI:
jQuery
IBM developerWorks about JQuery: Simplify Ajax development with jQuery

open source web development tools

There is a open source tool list for web developers. It's really useful.

FYI:
http://www.andrewsellick.com/73/100-great-free-and-open-source-tools-for-web-developers

Friday, October 19, 2007

Email Obfuscator

This obfuscator can encode your e-mail.Example:
From: iHateSPAM@yahoo.com
To:
  1. <SCRIPT type="text/javascript">var vV0a8N7b0x="Ha";var sg_xMk2VjU="AM";var d9gSbi8M="i";var ucN09="&#64yah";var fX3QDT="o.co";var q$sYr="o";var l8$LZKH="teSP";var lH8VK="m";document.write(d9gSbi8M+vV0a8N7b0x+l8$LZKH+sg_xMk2VjU+ucN09+q$sYr+fX3QDT+lH8VK);</SCRIPT>
  2. &#105;&#72;&#97;&#116;&#101;&#83;&#80;&#65;&#77;&#64;&#121;&#97;&#104;&#111;&#111;&#46;&#99;&#111;&#109;
  3. <IMG src="59X65131h4.png">
  4. iHateSPAM @ yahoo . com
  5. iHateSPAM[AT]yahoo[DOT]com
  6. <TABLE style="display: inline-table; vertical-align: text-bottom;" border="0" cellpadding="0" cellspacing="0"><TR><TD>iHateSPAM</TD><TD>&#64</TD><TD>yahoo.com</TD></TR></TABLE>
URI:
https://sourceforge.net/projects/obfuscatortool/

Saturday, July 15, 2006

Wednesday, March 01, 2006

Python: Funkload

FunkLoad:This tool enables to do functional and load testing of web appplication.

URL:
http://funkload.nuxeo.org/

Wednesday, February 15, 2006

Rhino

Mozillz Rhino is an open-source implementation of JavaScript written entirely in Java.

URL:
JSR 223 in Project Mustang.

javadoc: javax.script (since j2sdk1.6)

Tuesday, February 14, 2006

I love div

有時候在javascript要出現提示的訊息,會直接把要顯示的東西當作一個變數或是字串,往往美工相關人員的編輯以及翻譯並不會去看HTML原始碼,有時候會漏翻了這些句子。
在不使用任何高超的技術下(純粹用HTML與簡單的javascript),我採用以下的方法,讓美編人員可以在編輯時期,看到那些要顯示出來的語句。


<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<title>test</title>
<script language="javascript" type="text/javascript">
function initHTML()
{
var divObjs = new Array(document.getElementById('actionPrompt'));
var i = 0;
for(i=0;i<divObjs.length;i++)
{
if( doesObjExists(divObjs[i]) )
setHiddent(divObjs[i]);
}
}
function setHiddent(obj)
{
obj.style.visibility = 'hidden';
}
function doesObjExists(obj)
{
var result = false;
result = obj&& typeof(obj) != 'undefined'
return result;
}
function mainProgress()
{
var actPrompt = document.getElementById('actionPrompt');
var promptText = 'Are you sure to delete all of them?';
if(doesObjExists(actPrompt))
{
promptText = actPrompt.innerHTML;
}
return confirm(promptText);
}
</script>
</head>
<body onLoad="javascript:initHTML();">
<form name="test" onSubmit="javascript:mainProgress();">
<input type="submit" name="Submit" value="按我">
</form>
<div id="actionPrompt">您確定要刪除嗎?</div>
</body>
</html>

Wednesday, January 25, 2006

XMLHttpRequest since IE 7

http://tinyurl.com/36r6y

if (window.XMLHttpRequest){

// If IE7, Mozilla, Safari, etc: Use native object
var xmlHttp = new XMLHttpRequest()

}
else
{
if (window.ActiveXObject){

// ...otherwise, use the ActiveX control for IE5.x and IE6
var xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
}

}