float: left – anchor’s height

On September 28, 2009, in Javascript, LAMP, PHP, Tips, Tricks, by Sandeep Verma

Hits: 55  Today I faced a strange problem …. I have to add drop-down menu by javascript. <a href=”http://www.svnlabs.com” style=”border:2px dotted #0000FF”><img src=”svnlabs.gif” border=”0″ style=”border:2px solid #009966″ /></a> this is the code where I have to add a menu but menu dancing on this image.. when I mouse over the image menu appeared to bottom of [...]

MVC-model-view-controller component

On September 26, 2009, in Joomla, LAMP, PHP, by Sandeep Verma

Hits: 56  General definition: Input => Processing => Output Controller => Model => View Model The model is the part of the component that encapsulates the application’s data. It will often provide routines to manage and manipulate this data in a meaningful way in addition to routines that retrieve the data from the model. In our [...]

HTMLDOC – html2image

On September 22, 2009, in Fedora, LAMP, Linux, PHP, Tips, Tricks, Web Application, by Sandeep Verma

Hits: 123  htmldoc is a powerful simple-to-use tool/utility, which converts HTML to Postscript, PDF or indexed HTML output. # convert /var/www/html/html2img/grid.ps -crop 280×300+40+9 -modulate 100 -geometry 530×480 /var/www/html/html2img/grid.png here convert is ImageMagick tool for manipulating images..

Tagged with:  

txt2img

On September 22, 2009, in LAMP, PHP, Tips, Tricks, by Sandeep Verma

Hits: 45  Here is the code to convert text to image or simply write text on image…. <?php $img=ImageCreate (100,20); $background_color=ImageColorAllocate($img,255,205,255); $textcolor=ImageColorAllocate ($img,203,14,91); ImageString($img,3,5,5,”svnlabs.com!”,$textcolor); ImagePNG ($img, “svnlabs.png”); $img2 = imagerotate ($img, 100, 0); ImagePNG($img2,”svnlabs.png”); ImageDestroy($img); ImageDestroy($img2); ?>

DIV – Overflow Hidden

On September 22, 2009, in LAMP, PHP, Tips, Tricks, by Sandeep Verma

Hits: 53  Today I got a problem to show product title in 2 lines on product’s detail page….. After some R&D……………….. I got solution by CSS to style a DIV with height for 2 line text and then overflow: hidden I also used wordpress to wrap the text in next line for product’s description in 5 [...]

TinyMCE load ajax

On September 13, 2009, in Javascript, PHP, Tips, Tricks, Web Application, by Sandeep Verma

Hits: 167  Today I got problem to load TinyMCE as dynamic loaded textareas by Ajax? Solution: <a href=”javascript:void(0)” onclick=”ajaxEdit(); showEditor();”>Edit Content</a> here ajaxEdit() is ajax function where textarea loaded by ajax as html response. here we have use showEditor(); to load TinyMCE editor … page loaded by Ajax <script> function showEditor() { setTimeout(“initEditor(‘newsdesc’)”,4000); } tinyMCE.init({……………………… …………………………………………………}); [...]

Hindi Text Editor

On September 10, 2009, in LAMP, PHP, Tips, Tricks, Web Application, by Sandeep Verma

Hits: 222  akIndicPlugin is very useful for Indian language like Hindi, Marathi, Bengoli, Gujarati, Malyalam, Telugu and Punjabi…. Source: http://amiworks.co.in/talk/akindicplugin-for-tinymce-and-joomla/ http://www.vishalon.net/IndicResources/IndicIME/tabid/244/Default.aspx

WordPress Themes and Blogging Tips

On September 6, 2009, in LAMP, PHP, Tips, Tricks, by Sandeep Verma

Hits: 74  WpThemesPlanet.com is site dedicated to WordPress Themes and to posting interesting articles for the Blogging Community. Here we can find more blogging tips……..

Tagged with:  

Meld – visual diff and merge tool

On September 1, 2009, in Fedora, Javascript, LAMP, Linux, PHP, Tips, Tricks, by Sandeep Verma

Hits: 87  Meld is a visual diff and merge tool. Meld is used for comparing two or three files and editing them. We can compare two or three folders and launch file comparisons…. Source: http://meld.sourceforge.net/

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...