Pages
(Move to ...)
Home
Java
Android
Php
Cake PHP
jQuery
Grails
All Pages
▼
Thursday, June 27, 2013
Output or echo an Image or File using PHP script
›
$file = 'image.jpg' ; $obj = header ($ file ); if( isset ($obj[ "mime" ])) { header ( 'Content-Type:'...
1 comment:
Wednesday, June 26, 2013
contentEditable cross browser WYSIWYG
›
http://msdn.microsoft.com/en-us/library/ms533049(VS.85).aspx execCommand method Syntax object.execCommand(cmdID, showUI, value) que...
Set caret position right after the inserted element in a contentEditable div
›
<input type="button" onclick="insertNodeAtCaret(document.createTextNode('[INSERTED]'));" value="Ins...
Tuesday, June 25, 2013
Preserve text selection in contenteditable while interacting with jQuery
›
You could save and restore the selection using simple functions such as the following when the dialog is opened and closed. I am not famil...
Monday, June 24, 2013
Calling a jQuery plugin's private function in setInterval()
›
( function ( $ ){ $ . fn . something = function ( options ) { var opts = $ . extend ({}, $ . fn . something . defaul...
‹
›
Home
View web version