Today someone asked me for help to integrate Jeditable with Yii CGridView. So I thought why not write a little tutorial that can help others as well. In this article I assume that you are comfortable working with Yii; you […]
Source: http://www.yiiframework.com/wiki/25/using-cautocomplete-to-display-one-value-and-submit-another/ Don’t forget to use the attached Javascript and CSS files. This code does not work with jQuery UI auto complete. Javascript File CSS File
To add a new font in CKEditor’s font drop down list, add the following lines of code in your config.js CKEDITOR.editorConfig = function( config ) { config.font_names ="Futura;" + config.font_names; }; CKEDITOR.on( 'instanceCreated', function( e ){ e.editor.addCss("@font-face{font-family:'Futura'; src:url('http://www.your-url.com/font/Futura_Medium.ttf');" ); […]
Source: http://www.jonathanboutelle.com/how-to-debug-javascript-in-internet-explorer Microsoft Office 2007: The Microsoft Script Editor is normally installed by default with Office 2007, but is not reachable directly from the Start -> All Programs -> Microsoft Office menu. Instead, you can usually find it by searching for […]
Step 1: In your parent window document add a function function changeURL(url) { if( url == ""){ url = document.location.href; } document.location.href = url; } Step 2: In popup document call this function to change URL of parent window opener.document.changeURL('http://www.google.com/'); […]
Step 1: In your parent window document add a function function changeURL(url) { if( url == ""){ url = document.location.href; } document.location.href = url; } Step 2: In iframe document call this function to change URL of parent window parent.document.changeURL('http://www.google.com/'); […]
In html add the following div right before closing body tag <div class="ajax-loading"><div></div></div> Add the following CSS code to stylesheet. (Download loading-bgr.gif and loading.gif) div.ajax-loading{ position: fixed; top: 0; left: 0; height:100%; width:100%; z-index: 9999999; background-image: url('../../images/loading-bgr.gif'); opacity: 0.7; […]
This website uses cookies to provide necessary website functionality, improve your experience and analyze our traffic. By using our website, you agree to our Privacy Policy and our cookies usage.