Simple Informations

posted by Ajith at ,Saturday, April 28, 2007

Make images on a page dance with JavaScript code on adress bar

The post Imags on a page dance with simple Javascript trick has been moved to the New home of Simple Informations. Please go ther

Labels: , , , ,

posted by Ajith at ,Friday, April 27, 2007

Blogger tags for more customisation of your template


This post is mainly in reply to a comment from a fellow blogger Shankar Ganesh which read
And I have a question: how did you hack the code to display adsense units under each post header only when a particular post link page is loaded?
. I am going to explain it here. Also I thank him for adding my blog to his blog roll.

The basic idea behind the Ad placement is the correct usage of
"<MainPage> </MainPage>" "<MainOrArchivePage> </MainOrArchivePage>" and "<Itempage> </Itempage>"
(no quotes required) tags provided by blogger. Any thing you put inside these tags will appear only on MainPage, Main and ArchivePage and Post Page respectively. You can use this to specify anypiece of code to appear only on the above pages. So basically my code appears like this


<!-- Begin #main-content -->
<div id="main-content">
<Blogger>
<!-- Ad header only on Main or Archieve Page-->
<MainOrArchivePage>
JAVASCRIPT FOR THE LINK UNIT ON MAIN AND ARCHIVE PAGE HERE
</MainOrArchivePage>

<BlogDateHeader>
<h2 class="date-header"><$BlogDateHeaderDate$></h2>
</BlogDateHeader>


<!-- Begin .post -->
<div class="post"><a name="<$BlogItemNumber$>"></a>

<BlogItemTitle>
<h3 class="post-title">
<BlogItemUrl><a href="<$BlogItemUrl$>" title="external link"></BlogItemUrl>
<$BlogItemTitle$>
<BlogItemUrl></a></BlogItemUrl>
</h3>
</BlogItemTitle>
<ItemPage>
JAVASCRIPT FOR ADSENSE 468x90 RECTANGLE HERE
</ItemPage>

And this will tell you how I did this. I used the full code so that all can understand it easier.

External Links : Shankar Ganesh | Shankars comment


Add to Delicious | Submit to Netscape | Stumble this

Labels: , ,

posted by Ajith at ,Monday, April 23, 2007

Find out all the wallpapers ever used on your coputer from the registry


This is the second post about the nasty Registry. Have you ever known that Windows had the whole list of Wallpapers used by you? Well this list is saved in the Registry.

It is a large collection, all you need to do is head over to HKEY_CURRENT_USER\Software\Microsoft\Windows\
CurrentVersion\Explorer\Wallpaper\MRU
Registry Key. All those Registry Binary values here are the adress to the images you used as wallpapers.Wallpaper history binary value in registry
The last part in this binary makes no sense to me but I think this i information about the dimensions and style of the image.


External Links : None
Add to Delicious | Submit to Netscape | Stumble this

Labels: , ,

Clear you recent Run list, from Registry!!



As I have told you Windows is pretty irritating, it goes on saving almost anything you got your hands on like recent run list, recent wallpaper, recent files etc.. Although some of these may serve be useful most of them are not. Here I will tell you about the recent RUN list which is saved in the registry. (I agree that the list in itself is useful but this is an example).Recent Run drop down If you have taken Start»RUN and run something you may perhaps note a dropdown of the previous commands typed there is present. Actually this list is saved in a registry key.

The steps involved are simple and you can easily delete them. Goto Registry Editor by typing regedit in RUN dialog. Go to the following folder HKEY_CURRENT_USER\Software\Microsoft\Windows\
CurrentVersion\Explorer\RunMRU
Location of the ListHere you will find some regWords with values of Run lists and name as a,b,c,d.. there will also be an MRUList which saves the order in which the Run list is to be shown. Delete all the keys except default and you are done.

External Links : None

Add to Delicious | Submit to Netscape | Stumble this

Labels: , , , ,


 
About Me | Contact