January 23rd, 2012

HTML to OFT conversion for E-Mail template

Create a Email template with HTML and save it on your desired place.
Outlook
1. Open outlook hit Alt+F11.
2. Insert a Module.
3. Copy Paste the below code and replace the html path.

Sub MakeHTMLMsg()
Set objMsg = Application.CreateItem(olMailItem)
Set fso = CreateObject(“Scripting.FileSystemObject”)
Set ts = fso.OpenTextFile(“c:\template.htm”, 1)
strText = ts.ReadAll
objMsg.HTMLBody = strText
objMsg.Display
Set fso = Nothing
Set ts = Nothing
Set objMsg = Nothing
End Sub

4. Close and run the module. Your HTML is opened in Outlook as a template.
5. Save it as oft.
Enjoy.. :)

January 13th, 2012

ASCII(American Standard Code for Information Interchange) Table

ASCII Value Browser View ASCII Value Browser View ASCII Value Browser View
33 ! 34 35 #
36 $ 37 % 38 &
39 40 ( 41 )
42 * 43 + 44 ,
45 - 46 . 47 /
48 0 49 1 50 2
51 3 52 4 53 5
54 6 55 7 56 8
57 9 58 : 59 ;
60 < 61 = 62 >
63 ? 64 @ 65 A
66 B 67 C 68 D
69 E 70 F 71 G
72 H 73 I 74 J
75 K 76 L 77 M
78 N 79 O 80 P
81 Q 82 R 83 S
84 T 85 U 86 V
87 W 88 X 89 Y
90 Z 91 [ 92 \
93 ] 94 ^ 95 _
96 ` 97 a 98 b
99 c 100 d 101 e
102 f 103 g 104 h
105 i 106 j 107 k
108 l 109 m 110 n
111 o 112 p 113 q
114 r 115 s 116 t
117 u 118 v 119 w
120 x 121 y 122 z
123 { 124 | 125 }
126 ~ 161 ¡ 162 ¢
163 £ 164 ¤ 165 ¥
166 ¦ 167 § 168 ¨
169 © 170 ª 171 «
172 ¬ 173  ­ 174 ®
175 ¯ 176 ° 177 ±
178 ² 179 ³ 180 ´
181 µ 182 183 ·
184 ¸ 185 ¹ 186 º
187 » 188 ¼ 189 ½
190 ¾ 191 ¿ 192 À
193 Á 194 Â 195 Ã
196 Ä 197 Å 198 Æ
199 Ç 200 È 201 É
202 Ê 203 Ë 204 Ì
205 Í 206 Î 207 Ï
208 Ð 209 Ñ 210 Ò
211 Ó 212 Ô 213 Õ
214 Ö 215 × 216 Ø
217 Ù 218 Ú 219 Û
220 Ü 221 Ý 222 Þ
223 ß 224 à 225 á
226 â 227 ã 228 ä
229 å 230 æ 231 ç
232 è 233 é 234 ê
235 ë 236 ì 237 í
238 î 239 ï 240 ð
241 ñ 242 ò 243 ó
244 ô 245 õ 246 ö
247 ÷ 248 ø 249 ù
250 ú 251 û 252 ü
253 ý 254 þ 255 ÿ
December 30th, 2011

Create simple website using Adobe CQ5

Step – 1
Run the server in available ports. You can specify 4501, 5400, 8080, etc…
Open the CRXDE editor to start creating the website.
The default folder shown is apps, etc, libs.
CRXDE

December 27th, 2011

Accesskey Implementation

Accessibility

Keyboard shortcuts are a takes major role in operating systems, the same can be applied for any website. This can be achieved by using the ‘accesskey’. This allows the user to jump to a specific part of web page via keyboard.

November 27th, 2011

Adobe CQ5 – Widget xtype

Adobe CQ5
Adobe CQ5 admin panel created with the help of EXT Js JavaScript library.
The complete WCM built with EXT Js.
EXT Js xtypes are used as CQ5 input types in widgets.

Here i have listed below some of the frequent used xtypes.
These “xtypes” are helped to get the appropriate output.

  • browsefield
  • button
  • checkbox
  • colorpalette
  • datefield
  • datepicker
  • datetime
  • editor
  • fieldset
  • fileuploadfield
  • flash
  • htmleditor
  • label
  • menu
  • metadata
  • numberfield
  • password
  • progress
  • radio
  • richtext
  • searchfield
  • selection
  • tabpanel
  • textarea
  • textfield
  • window
May 21st, 2011

The phenomenal power of the human mind

I cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdanieg The phaonmneal pweor of the hmuan mnid! Aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it deosn’t mttaer inwaht oredr the ltteers in a wrod are, the olny iprmoatnt tihng is taht the frist and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it wouthit a porbelm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. Amzanig huh? Yaeh, and I awlyas thought slpeling was ipmorantt. NOTE: I read this somewhere and I just had to pass it around. I do not know the origins of the text

April 27th, 2010

phpmyadmin – phpminiadmin

phpminiadmin
Another usefull script to administer mySql db via web…

Download

March 8th, 2010

ie6 PNG fix for CSS background images

ie6 - Internet Explorer 6

Recently i just gone through this excellent script for png fix for ie6, even png images declared in css background.
All you have to do is add these below to lines between tags.

<!–[if ie6]>
<script type=”text/javascript” src=”orpngfix.js”></script>
<![endif]–>

Add the orpngfix.js and clear.gif files in the root folder.
Enjoy :)

December 21st, 2009

Toggle effect for fade – with jQuery

jQuery
Write the below function first:

jQuery.fn.fadeToggle = function(speed, easing, callback) {
return this.animate({opacity: 'toggle'}, speed, easing, callback);
};

After that you can do as usual like:

$(".main").click(function () {
$(".child").fadeToggle("slow");
});

December 17th, 2009

Trim .php extension using .htaccess

Trim your .php extension in your web application using .htaccess

RewriteEngine on
RewriteRule ^$ index.php
RewriteRule ^([a-zA-Z0-9\-\_/]*)/$ $1/index.php
RewriteRule ^([a-zA-Z0-9\-\_/]*)$ $1.php