I find three ways to center an image in a div:<style type="text/css"> .container1 { border: solid 1px #666; width: 100px; height: 100px; } .container1 img { margin:
http://wiki.developers.facebook.com/index.php/Trying_Out_Facebook_ConnectFaceBookConnect is used to quickly integrate your site with Facebook account.I look into http://www.somethingtoputhere.com/therunaround/index.phpdemo site using FackBook
This is a step by step tutorial on how to config FCKeditor work together with ASPX。Step 1:Download FCKeditor_2.6.4 & FCKeditor.Net_2.6.3Step 2:1. Create a new web application called ‘TestFCK’.2. Copy ‘fckeditor’ folder that exists in FCKeditor_2.
It will be annoying to convert a word document to wiki page manually. Some people should have to face this problem and solve this problem.I google the internet and find this useful online
There are many articlesabout jQuery tips and tricks on the internet.I am very happy to have somany resources for reference, and i will make my ownexamples in order tolearn these tips and tricks for a better work effective.1. Get the DOM elements
Today, Flyer notify me that the page is loading twice, very strange.And this is my step to solve the problem.1. Open firebug and discover two requests of home.do page(HTTP action - GET).2. Open HTTPWatch in IE and do the same test, only onerequest
在John Resig 那篇關於在JavaScript中實現簡單繼承的文章中,有這樣一段代碼:var fnTest = /xyz/.test(function(){xyz;}) ? /b_superb/ : /.*/;對於其中Regex匹配函數test的用法,我很是迷惑:/xyz/.test(function(){xyz;})我查閱了Mozilla developer center中關於test函數的描述:Executes the search for a match between a
We all know input markup in XHTML, which can be used to create TextBox, Button, CheckBox, RadioButton, HiddenField etc via type attribute. There are three types of button, one is used to submit form, another is used to reset form, the third one has
The basic steps to create a qooxdoo application is asfollows:Select a layout (VBox, HBox, Grid, Dock….)Create a container from the layout. (Usually Composite)Add the container to the application root (Document).Add as many widgets as you can to
1. How to judge element is visible ? if($(".nav").is(":visible")) { // This element is visible }This filter is very power, for example: <div style="display: none;"> <div id="test">This element is hidden. </div>
Just as the auther of jQuery Tools said:jQuery UI has a so-called “unified API” which uses the following syntaxfor invoking methods:// call select method for tabs $("ul.example").tabs("select", 1);API methods are called by supplying the method name
Rhino is an open-source implementation of JavaScript written entirely in Java. It is typically embedded into Java applications to provide scripting to end users. The rhino shell provides a simple way to run scripts in batch mode.The syntax is:java
I have said that i dislike jQuery UI’s unified API, so i want toget the instance of the component after invoke like this: $(function() { var tabs = $("div.tabs").tabs(); // Note: Now tabs is the instance of the component