• Archives

  • AddThis Social Bookmark Button

    Add to Technorati Favorites

  • Archive for January, 2008

    Resizing a image without deteriorating it’s quality

    Wednesday, January 23rd, 2008

    Sometimes when you resize a image it’s quality is deteriorated like the one below

    ImageShack

    See the quality of the image is deteriorated

    Now i will tell you how to do it without making it a little pixilated

    open paint.net

    open the image now go to image in the menu bar and select resize

    ImageShack

    A window will open make sure that maintain aspect ratio is selected and just enter the width or the height for the image the another one will be automatically get entered

    And done now see the image quality remains the same

    ImageShack

    Thanks

    krates

    Share and Enjoy:
    • Digg
    • del.icio.us
    • Facebook
    • NewsVine
    • Reddit
    • StumbleUpon
    • YahooMyWeb
    • Google Bookmarks
    • Yahoo! Buzz
    • TwitThis
    • Live
    • LinkedIn
    • Pownce
    • MySpace

    Using get element by id

    Thursday, January 17th, 2008

    Get element by id is a function which will return the the content inside a element for example

    Example

    <html>

    <head>

    <script type=”text/javascript” >

    function gebid(){

    var xyz=document.getElementById(“text”);

    alert(xyz.innerHTML);

    }

    </script>

    </head>

    <body>

    <h1 id=”text” onclick=”gebid()”>You will see this same text when you will click here</h1>

    </body>

    </html>

    Thanks

    krates

    Share and Enjoy:
    • Digg
    • del.icio.us
    • Facebook
    • NewsVine
    • Reddit
    • StumbleUpon
    • YahooMyWeb
    • Google Bookmarks
    • Yahoo! Buzz
    • TwitThis
    • Live
    • LinkedIn
    • Pownce
    • MySpace

    Having a formatting toolbar in orkut

    Monday, January 14th, 2008

    Having a small toolbar in orkut such as in phpbb just see below

    ImageShack

    For it to work you need firefox browser with greasemonkey installed

    Install it here https://addons.mozilla.org/en-US/firefox/addon/748

    Now after grease monkey is installed just install this script

    http://userscripts.org/scripts/show/12841

    And now just go to your scrapbook to see the changes

    Thanks

    krates

    Share and Enjoy:
    • Digg
    • del.icio.us
    • Facebook
    • NewsVine
    • Reddit
    • StumbleUpon
    • YahooMyWeb
    • Google Bookmarks
    • Yahoo! Buzz
    • TwitThis
    • Live
    • LinkedIn
    • Pownce
    • MySpace

    Making your firefox browser work as new again

    Sunday, January 13th, 2008

    Now after a month you are feeling that your firefox browser is working sluggishly and you are getting irritated with it and you don’t want to reinstall as if you do so all your extensions will get deleted then what to do i am going to explain it to you.

    First of all make sure that all firefox windows are closed

    Go to start > run And type firefox.exe –profilemanager

    See the image below

    ImageShack

    Now a window will pop up with the look below

     

    ImageShack

    Click on create profile > next > enter the name of profile > finish

    Now go to the below adress

    D:\Documents and Settings\username\Application Data\Mozilla\Firefox\Profiles

    Where D is the windows directory and username is your username

    Now in the above address you will find two profiles one will be default and the other will be the new one you created just now.

    Open the default one you will find a file bookmarks.html copy it and paste it on the new profile directory

    A replace window will pop up click on ok

    Then go to the default profile there you will find a folder extensions open it and copy all it’s content and paste it in new profile > extensions folder

    Now open firefox and get amazed by the new speed it gives

    Thanks

    krates

    Share and Enjoy:
    • Digg
    • del.icio.us
    • Facebook
    • NewsVine
    • Reddit
    • StumbleUpon
    • YahooMyWeb
    • Google Bookmarks
    • Yahoo! Buzz
    • TwitThis
    • Live
    • LinkedIn
    • Pownce
    • MySpace

    Redirecting the user through meta in seconds

    Saturday, January 12th, 2008

    If you have moved your website to some different domain you can redirect your user’s to this domain through meta this is very simple just two line’s of code it requires

    Syntax :

    just put the below code in your website page below head

    <meta http-equiv=”refresh” content=”5;url=http://www.easytutorial.info” />

    Change the url with the url you want to redirect the user and change the content(5) which is seconds in which the user will be redirected

    <html>

    <head>

    <meta http-equiv=”refresh” content=”5;url=http://www.easytutorial.info” />

    </head>

    <body>

    This page will be redirected to our new domain easytutorial.info in 5 seconds

    </body>

    </html>

    Thanks

    krates

    Share and Enjoy:
    • Digg
    • del.icio.us
    • Facebook
    • NewsVine
    • Reddit
    • StumbleUpon
    • YahooMyWeb
    • Google Bookmarks
    • Yahoo! Buzz
    • TwitThis
    • Live
    • LinkedIn
    • Pownce
    • MySpace