Thursday, January 13, 2011
Welcome to my new blog!
The reason I bought a new domain name, is because i wanted something shorter, and i was able to make it quite short and with my initials in it TF, the x represents the unknown parameter.
Why i choose blogspot is because nearly all my other products is google, and they work very well together, so it was a natural choice, another selling point was that I don't have to "mange" my own application anymore.
The blog is far from done yet! ..I will give it a new design soon, and much more to come. I will also start blogging a bit more again, the reason why i haven't blogged this much recently, is because I was very tired of the "trouble" I had to go to, just to write a blog.
All posts older than this, is directly imported from my old blog frostyzone.net.
Wednesday, December 15, 2010
jQuery Treeview persist preSelected
My old addition to the script can be found here Ignore query in jQuery treeview persist location (i think it has been handled in his version too)
It is still a "problem" with persist, this time I output the menu with the item already selected by the class selected.
But when this is done, it wont expand to the item I have pre selected, that is why I made this little addition:
case "preSelected": var current = this.find("a.preSelected"); if ( current.length ) { // TODO update the open/closed classes var items = current.addClass("selected").parents("ul, li").add( current.next() ).show(); if (settings.prerendered) { // if prerendered is on, replicate the basic class swapping items.filter("li") .swapClass( CLASSES.collapsable, CLASSES.expandable ) .swapClass( CLASSES.lastCollapsable, CLASSES.lastExpandable ) .find(">.hitarea") .swapClass( CLASSES.collapsableHitarea, CLASSES.expandableHitarea ) .swapClass( CLASSES.lastCollapsableHitarea, CLASSES.lastExpandableHitarea ); } } break;
i just copied the location method and replaced this:
var current = this.find("a").filter(function() { return this.href.toLowerCase() == location.href.toLowerCase();with var current = this.find("a.preSelected")
The only thing left to do is to add the class preSelected to the selected item, when you output the treeview.
Thursday, August 12, 2010
Tranformice - tips & tricks
But there is some ways you can improve your chances to get the cheese first, here are some videos and stuff:
Wednesday, July 28, 2010
Hilarious youtube error message
I got this message when i played around with the audio tracks, on one of my Youtube video.
This is one of the most hilarious error messages I have ever seen!
Thursday, July 8, 2010
Youtube Leanback - The perfect party jukebox
It is possible to see a little explanation here:http://www.youtube.com/watch?v=bITse42LpKA
So people can quickly do youtube searches without it all stops when the song is finished, canon solution!
Wednesday, April 28, 2010
HTC Desire tips & tricks
Add these folder to the SD card and put the music you want for notifications, ringtones and alarms:
- media/audio/notifications
- media/audio/ringtones
- media/audio/alarms
If you want to have more of the features the Nexus One have, this is a awesome blog: http://nimbu.amorvi.com/
Got my HTC Desire
But there is some tips and tricks that is good to know, and I'll blog some of them I found useful
Thursday, March 4, 2010
jQuery carousel lite with dynamic paging
Resources
http://www.gmarwaha.com/jquery/jcarousellite/http://groups.google.com/group/jquery-en/browse_thread/thread/9fec8a1746945bd2
index.htm
<script src="jcarousellite_1.0.1.min.js" type="text/javascript"></script> <ul class="paging"></ul>
// build links var itemArray = new Array(); $('.carousel ul').each(function(i) { var carouselNavDivs = $('ul.paging'); $(carouselNavDivs[i]).append('<li class="prev"><a><<</a></li>'); $(this).children().each(function(j) { itemArray[j] = "." + j; var linkNum = 0; linkNum = j + 1; $(carouselNavDivs[i]).append("<li class='" + j + "'><a>" + linkNum + "</a></li>"); }); $(carouselNavDivs[i]).append('<li class="next"><a>>></a></li>'); }); $(function() { $(".carousel").jCarouselLite({ btnNext: ".next", btnPrev: ".prev", btnGo: itemArray, circular: false, visible: 1 }); });
jcarousellite_1.0.1.min.js
if (o.btnGo) $.each(o.btnGo, function(i, val) { $(val).click(function() { $.each(o.btnGo, function(i, val) { $(val).removeClass('active'); }); $(this).addClass('active'); return go(o.circular ? o.visible + i : i); }); });
Still needs to be able to select current when using prev/next
Friday, February 26, 2010
My main computer has been updated!
This is a hardware update to my current specs found here
- Motherboard: ASUS P5Q PRO --> GIGABYTE EX54-UD4
- CPU: Intel Core 2 Quad Q9300 @ 2,5GHz --> i7-920
- Graphic card: MSI NVIDIA GeForce 8600GT --> GeForce GTX 285 1gb
- Harddisk: 2x Seagate Barracuda 320GB 24/7 --> Added: WD Caviar Black 1TB (OS disk)
- RAM: 2x Samsung 2GB UPDATE: 2x Geil Black Dragon 2GB (8GB FTW) --> 6x 2gb DDR3-1333 (12gb)
- Tower: Antec Performance One P182
- PSU: Corsair TX750W
And the OS is ofcourse Windows Server 2008r2 now :D ..I'm very happy with my new hardware update and it's just working perfectly!
Wednesday, September 2, 2009
How to partition a hard disk drive containing data
First of all i needed a program capable of partitioning a disk that contains data. I was a little careful picking the software, because a software crash right ind the middle of the partitioning, would destroy the data that was already on the disk.
I read a lot of recommendations in different forums and stumbled upon this: http://www.partitionwizard.com/, it did exactly what i needed!
And it was really easy to use, just a few clicks and the disk was partitioned in a few minutes. But remember that it is recommended to backup the data before using the program, even though the program is capable of saving the data.
One thing i struggled with a lot afterwards, was installing the OS and it seemed like i needed to set my newly partitioned part to active(has to be if it should be bootable), stupid mistake but took a lot of time before I realized it was the problem.
Thursday, August 27, 2009
My new Low budget, low noise full HD HTPC/media center build
Hardware:
- TV: Sony KDL-40V5500 - 40" Full HD LCD (here)
- Console: PS3
- Receiver: Sony STR-DH800 (here)
- Subwoofer: Apart SUBA165 (here)
- Front/Back speakers: Apart MASK6-BL (here)
- Center speaker: JVC
- Keyboard/Mouse: Logitech dinovo mini
- Motherboard: Asus P5N7A-VM
- CPU: Intel Core 2 duo E6600
- CPU cooler: Cosmo cool aluminium/copper hybrid edition
- Graphic card: NVIDIA GeForce 9300 (integrated)
- Hard disk drive OS: 1TB Western Digital AV-GP (partitioned)
- Hard disk drive Data: 1TB Western Digital AV-GP
- Optical disk drive: Asus combo CD/DVD-RW
- RAM: 2x1GB Corsair XMS2 DDR2
- Tower: Antec NSK2480 (removed one fan to reduce noise)
- PSU: 380W 80 plus (integrated)
Software:
- OS: Windows XP professional (speed optimized)
- Media center: XBMC FREE read more..
- Music player: Winamp FREE read more..
- All round player: VLCplayer FREE read more..
Review:
So far it is working perfectly! ...with low noise and great performance.When I have used the system for some time, I will make a more thorough review of my HTPC set-up
Thursday, July 30, 2009
Place text and divs beside each other using css
I suddenly needed to have some text beside a div, but i just couldn't remember how.
But i figured it out and here is my solution, and yes it's not the most complex thing in the world ;)
html:
Some text <div class="divBesideText"></div>
CSS:
.divBesideText { display: inline; }
Monday, May 4, 2009
Custom file extension in IIS and register a HTTP handler in asp.net
Good msdn articles on how to add a new file extension in the IIS and registrer the HTTP handler in asp.net
Register the handler: http://msdn.microsoft.com/en-us/library/46c5ddfy(VS.71).aspx
Configure the IIS to accept the new file extension: http://msdn.microsoft.com/en-us/library/bb515343.aspx
Wednesday, March 18, 2009
Chrome Experiments - JavaScript mania
It is called: Chrome Experiments and is as the name says for Google Chrome, it just have a lot of mind blowing experiments that I think is worth checking out