Saturday, 2 August 2014

---------------- HTML ------------------   ---------------- CSS - For adding a play button to the video thumbnail ------------------ /*-- VIDEO PLAY BUTTON --*/ a.video_pop_up { position:relative; display:block; } a.video_pop_up img { position: relative; z-index: 5; } .play { width: 74px; height: 73px; background: url(/furniture/images/buttons/playbutton.png)...

Saturday, 5 July 2014

if ( !window.onpsl ) window.onpsl = {}; if ( !window.onpsl.lockerOptions ) window.onpsl.lockerOptions = {}; window.onpsl.lockerOptions['onpLock158681'] = {"ajaxUrl":"http:\/\/www.truevalhalla.com\/blog\/wp-admin\/admin-ajax.php","lockerId":2146,"tracking":"1","postId":123,"options":{"demo":0,"text":{"header":"Save 10%","message":"Click one of the buttons below to unlock the promo code"},"theme":"secrets","googleAnalytics":1,"effects":{"highlight":1},"buttons":{"counter":1,"order":["twitter-tweet","facebook-like","google-plus"]},"locker":{"close":0,"mobile":1,"expires":0},"facebook":{"appId":"575687932518296","lang":"en_US","like":{"url":"http:\/\/www.truevalhalla.com\/blog\/ebook\/","current_url":"http:\/\/www.truevalhalla.com\/blog\/ebook\/","title":"like"},"share":{"url":"http:\/\/www.truevalhalla.com\/blog\/ebook\/","title":"share"}},"twitter":{"lang":"en","tweet":{"url":"http:\/\/www.truevalhalla.com\/blog\/ebook\/","text":"Check...

Thursday, 5 June 2014

PSN CODE GENERATOR p { background-color:; } p.padding { padding-top:0px; padding-bottom:25px; padding-right:25px; padding-left:25px; } PSN Code Generator Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel...

 
---------------- HTML ------------------ ---------------- CSS - For adding a play button to the video thumbnail ------------------ /*-- VIDEO PLAY BUTTON --*/ a.video_pop_up { position:relative; display:block; } a.video_pop_up img { position: relative; z-index: 5; } .play { width: 74px; height: 73px; background: url(/furniture/images/buttons/playbutton.png) no-repeat 0 0; position:absolute; top: 80px; left: 143px; z-index:500; opacity: 0.8; } .play:hover { opacity: 1; } ---------------- FANCY BOX FUNCTION ------------------ $("a.video_pop_up").fancybox({ 'speedIn' : 600, 'speedOut' : 200, 'width ' : 800, 'height' : 400, 'type' : 'iframe' });