TechTeach
Tips and tricks about technology
Friday, April 19, 2013
Wednesday, January 2, 2013
How to introduce PAUSE or DELAY in JavaScript
I was going through some forums to find out how to introduce pause/delay in the javascript programming
Here is the piece of code I have found which is very useful
function pause(msec)
{
msec += new Date().getTime();
while (new Date() < msec){}
}
Thanks for stopping by
Here is the piece of code I have found which is very useful
function pause(msec)
{
msec += new Date().getTime();
while (new Date() < msec){}
}
Thanks for stopping by
Saturday, December 15, 2012
Website which helps to download videos
Looking to download videos from the sites like youtube, metacafe etc.. here is the list of sites that may help you download videos fast and free.. Please search for these specific words in Google to get hassle free downloads for your videos
Download using online webpages:
KeepVid
SaveVid
ClipNabber
Deturl.Com
Download Via Browser Extensions / Plugins:
SaveFrom.Net
FastestTube
YouTube5
Video DownloadHelper
Easy YouTube Video Downloader
FVD Suite
Video Download
Download From Desktop:
YTD Video Downloader
Fastest YouTube Downloader
Freemake downloader
Download From Mobile Devices:
TubeBox
TubeMate
WonTube
Courtesy: http://www.hongkiat.com
Friday, December 14, 2012
Solution for Outlook 2010 runs but window won't maximize
I had a problem where my outlook main window stopped maximizing but still I can use all the functionality of outlook using shortcut keys
I did all the possible ways to fix it. I even re-installed office but no luck
I came across this video in MSDN forums link which fixed the issue with very simple steps
The second trick worked for me in the video
For the people who cannot go through the video here are the steps
1. Open outlook
2. it will open minimized
3. Right click on taskbar and select cascade windows
and it opens there after
THANKS FOR THE SOLUTION "dannybridi"
I did all the possible ways to fix it. I even re-installed office but no luck
I came across this video in MSDN forums link which fixed the issue with very simple steps
The second trick worked for me in the video
For the people who cannot go through the video here are the steps
1. Open outlook
2. it will open minimized
3. Right click on taskbar and select cascade windows
and it opens there after
THANKS FOR THE SOLUTION "dannybridi"
Link to VIDEO: HERE
Thursday, November 1, 2012
How to change elements style runtime using jquery
I am writing this for my personal preference.
if somebody is getting benefited with it no need to thank me but dont scold me if you dont understand :)
function moveDiv() {
var top, left;
var ch = document.getElementById('testing').style.left;
ch = document.getElementById('testing').style.top;
document.getElementById('testing').style.left =left + 'px';
document.getElementById('testing').style.top = top + 'px';
top += 10; left += 10;
if (top>700){top = 50; left = 50;}
}
before adding this script we need to add the below statements to the index
<div id="testing" style="position: fixed; z-index: 100000; -o-transition:width 2s;" >
<div class="channel_image">
<img class="channel_logo" id="logo_{intBitMap}"
src="images/channel/logo/3.png"
onerror="this.src='images/channel/logo/1.png';"
/>
</div>
<div class="channel_info">
<span class="channel_number">3</span>
<span class="channel_name">Name</span>
</div>
</div>
create a button call the above function moveDiv whenever button or key is pressed on the key board
if somebody is getting benefited with it no need to thank me but dont scold me if you dont understand :)
function moveDiv() {
var top, left;
var ch = document.getElementById('testing').style.left;
ch = document.getElementById('testing').style.top;
document.getElementById('testing').style.left =left + 'px';
document.getElementById('testing').style.top = top + 'px';
top += 10; left += 10;
if (top>700){top = 50; left = 50;}
}
before adding this script we need to add the below statements to the index
<div id="testing" style="position: fixed; z-index: 100000; -o-transition:width 2s;" >
<div class="channel_image">
<img class="channel_logo" id="logo_{intBitMap}"
src="images/channel/logo/3.png"
onerror="this.src='images/channel/logo/1.png';"
/>
</div>
<div class="channel_info">
<span class="channel_number">3</span>
<span class="channel_name">Name</span>
</div>
</div>
create a button call the above function moveDiv whenever button or key is pressed on the key board
Subscribe to:
Posts (Atom)