Windows XP: Remove the Recycle Bin from the Desktop
By admin | April 9, 2008
If you don’t use the Recycle Bin to store deleted files , you can get rid of its desktop icon all together.
Run Regedit and go to:
HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Desktop/NameSpace
Click on the “Recycle Bin” string in the right hand pane. Hit Del, click OK.
Topics: Windows XP | No Comments »
Remove Windows XP’s Messenger
By admin | April 9, 2008
Fire up the Windows Explorer and navigate your way to the %SYSTEMROOT% \ INF folder. What the heck is that thingy with the percentage signs? It’s a variable. For most people, %SYSTEMROOT% is C:\Windows. For others, it may be E:\WinXP. Get it? Okay, on with the hack! In the INF folder, open sysoc.inf (but not before making a BACKUP copy first). Before your eyes glaze over, look for the line containing “msmsgs” in it. Near the end of that particular line, you’ll notice that the word “hide” is not so hidden. Go ahead and delete “hide” (so that the flanking commas are left sitting next to one another). Save the file and close it. Now, open the Add and Remove Programs applet in the Control Panel. Click the Add / Remove Windows Components icon. You should see “Windows Messenger” in that list. Remove the checkmark from its box, and you should be set. NOTE: there are other hidden system components in that sysoc.inf file, too. Remove “hide” and the subsequent programs at your own risk.
Topics: Windows XP | No Comments »
Windows XP: Enable / Disable Firewall
By admin | April 9, 2008
Open Control Panel and double click on Network Connections. In the new box that appears right click on the Connection and click on the Advanced tab. Check or uncheck the box according to your desire.
Topics: Windows XP | No Comments »
HTML Email
By admin | March 27, 2008
The mailto is a quick way to add the facility of receiving feedback from visitor on your web site. With the HTML mailto, you create a link which when clicked by the visitor launches (if it’s not already running) their email program with a new email message window. The visitor could then formulate the email message and send it off to you.
Note: HTML Mailto assumes that the visitor has configured an email client (Outlook Express, Netscape Messenger, Thunderbird or any other) to send emails.
In its simplest form, the HTML mailto requires an email address. However, mailto can be made slightly more professional if we use it properly.
|
<A href=”mailto:manish@simplygraphix.com” mce_href=”mailto:manish@simplygraphix.com”>Send me an |
This will produce something like this:
| Send me an |
Disadvantages of HTML mailto
- The email address mentioned in the HTML mailto tag can be read by spambots. Spambots are programs run by spamsters that go around the web extracting email addresses from web pages. Once the email address enters a spamsters database they would be no respite from spam email.
- Mailto works ONLY if the visitor has configured an email client (such as Outlook Express) on their system.
- HTML mailto screams “this web site has been developed by a beginner”… A professional approach would be to use forms instead, and these require knowledge of server-side scripting.
Topics: HTML | No Comments »
CSS Make Custom Bullets
By admin | March 25, 2008
Probably the most common question people ask when learning how to build these lists is, “Can I use a GIF to make custom bullets?”
Under older versions of the HTML standard, the answer was a flat “no.” The list tags UL and LI only allowed limited choices for bullet styles. You can define you bullets to be discs, squares, or circles.
All that changed with the introduction of Cascading Style Sheets. Using CSS, you can define a custom bullet using code like this:
<UL STYLE="list-style-image: url(bullet.gif)">
<LI>Bullet 1</LI>
<LI>Bullet 2</LI>
</UL>
This will produce the bullet list shown below:
- Bullet 1
- Bullet 2
Topics: CSS | No Comments »
CSS Image Caption
By admin | March 25, 2008
HTML doesn’t have an element that allows to insert a figure with a caption. It was once proposed (see HTML3), but never made it into HTML4. Here is one way to simulate such a figure element:
height=”200″ alt=”Eiffel tower”>
Scale model of the
Eiffel tower in Parc Mini-France
<div class="figure">
<p>
<img src="eiffel.jpg" mce_src="eiffel.jpg" width="136" height="200" alt="Moscow">
<p>Scale model of the Eiffel tower in Parc Mini-France
</div>
And here comes CSS:
<style>
div.figure {
float: right;
width: 25%;
border: thin silver solid;
margin: 0.5em;
padding: 0.5em;
}
div.figure p {
text-align: center;
font-style: italic;
font-size: smaller;
text-indent: 0;
}
</style>
Topics: CSS | No Comments »
Bookmark This Page Javascript
By admin | March 13, 2008
Adding the “bookmark this page” javascript below will help to encourage return visits. Your visitor simply clicks on the link and a popup prompt will appear so they can add your site to their favorites list.
STEP 1
First you place the following in your <HEAD> tag of your html
Change the 4th and 5th lines “var url Address and var Pagename” to suit your sites url and page name. Change nothing else!
<script
language=”JavaScript” type=”Text/Javascript”>
var pageName = “Free Graphics,Hypergurl”;
function addToFavorites() {
if (window.external) {
window.external.AddFavorite(urlAddress,pageName)
}
else { alert(”Sorry! Your browser doesn’t support this function.”);
} } // –></script>
STEP 2
Then place this bookmark script in your html between the <body> and </body> tags, where you want the prompt to appear on your page. Change the font attributes to suit.
<ahref=”javascript:addToFavorites()”>
<font color=”#0000FF” face=”Arial”>Bookmark Page !
</font></a>
Topics: Javascript | No Comments »
CSS Dashed Table
By admin | March 12, 2008
This code will create dashed table:
| This table was made with this code: |
<table>
<tr>
<td style=”border-top:1px #000000 dashed;border-bottom:1px #000000 dashed;border-right:1px #000000 solid;border-left:1px #000000 solid;”>
This table was made with this code:</td>
</tr>
</table>
Topics: CSS | No Comments »