Need Websites?
We, QuickBizTech have 8 Years of Exp in Web development in PHP and hosting. Skills: Photoshop, Designing, Core PHP, MySql, Joomla, Wordpress, Drupal, Magento, phpBB, Opencart, Smarty, Google API, JQuery, Charts, oAuth, SEO, Payment Gateways.
Please contact us for any kind of websites to be developed, upgraded, migrated. Reach our team for your dream website @QuickBizTech
Saturday, September 21, 2013
A Risky Actor Ajith
Ajith : ' A Risky Actor '
At the age of 42 , Actor Ajith has undergone 15 surgeries such that 14 surgeries in his spinal cord. &1 major surgery in his right knee.After his surgery for a broken vertebra he lost feeling in his legs, but he took on a vow to recover and walked all the way from his home in Madras to the Balaji shrine in Tirupathi, in Andhra Pradesh. Now He will undergo one more surgery in near future due to the recent accident happened during the shooting of his upcoming flick "Arrambam (2013)"it's really a good thing to see someone from India who dare to take risk without dupes even now.
At the age of 42 , Actor Ajith has undergone 15 surgeries such that 14 surgeries in his spinal cord. &1 major surgery in his right knee.After his surgery for a broken vertebra he lost feeling in his legs, but he took on a vow to recover and walked all the way from his home in Madras to the Balaji shrine in Tirupathi, in Andhra Pradesh. Now He will undergo one more surgery in near future due to the recent accident happened during the shooting of his upcoming flick "Arrambam (2013)"it's really a good thing to see someone from India who dare to take risk without dupes even now.
WordPress issues security fixes, advises "update your sites immediately"
Mega-popular blogging and content management system WordPress has just put out version 3.6.1.
Since it's a maintenance release (an update from 3.6), it doesn't have a huge raft of new features, but it does fix three security holes.
One of them is a Remote Code Execution vulnerability reported by a young Belgian web application security researcher named Tom Van Goethem.
Now that the fix is out, Van Goethem has published a very detailed description of the bug and the steps he went through to uncover it.
He also mentions that, by using a popular plugin, he was able to go from vulnerability ("there's a hole, and it could be risky") to exploit ("here's how to use the vulnerability for unauthorised access").
Fortunately, however, he hasn't gone down the complete-and-total disclosure route, stopping short of giving you a working exploit and, saying:
Due to ethical considerations, I will not disclose a Proof of Concept of this exploit at this time, as there are too many vulnerable WordPress installations out there.
Van Goethem's bug relates to PHP serialisation.
That's where you take data, and perhaps even code, from a programming environment, and convert it into text string representation.
This means it can easily be saved, moved around on a network, and restored later.

It's called serialisation because even data structures that have a complex layout in memory, such as arrays and tables, end up as a linear (i.e. serial) stream of bytes.
Going back from a serialised text string to live, run-time data inside a program is, unsurpisingly, known as unserialisation.
Any software that inadvertently passes unfiltered, remotely-supplied data into an unserialisation function is taking a bit of a chance, and that's what was happening inside WordPress.
By the time you get round to validating that unserialised data, it already exists as a live data structure inside a live run-time environment: that's a bit like dry-firing a handgun as a way of satisfying yourself that it isn't loaded.
WordPress, which currently claims more than 7.5 million downloads, has unsurprisingly suggested that "you update your sites immediately."
இந்திய சினிமா நூற்றாண்டு விழா- ஜெயலலிதா தொடங்கி வைத்தார்!
சென்னை: இந்திய சினிமாவின் நூற்றாண்டு விழா கொண்டாட்டங்களை இன்று சென்னையில் முதல்வர் ஜெயலலிதா குத்துவிளக்கேற்றி தொடங்கி வைத்தார்.
சென்னை நேரு உள்விளையாட்டரங்கில் மாலை 4 மணிக்கு தொடங்கிய இந்த விழாவில் அமைச்சர்கள், திரையுலகினர் திரளாகக் கலந்து கொண்டனர்.
இந்திய சினிமாவில் 50 ஆண்டுகளுக்கு மேல் சேவை செய்த தயாரிப்பாளர் ஏவி.எம்.சரவணன், நடிகைகள் சரோஜாதேவி, வைஜயந்திமாலா, சாரதா, ஜெயந்தி, குட்டி பத்மினி உள்பட 50 கலைஞர்களுக்கு முதல்வர் ஜெயலலிதா விருது வழங்கினார். தென்னிந்திய திரைப்பட வர்த்தக சபை செயலாளர் எல்.சுரேஷ் நன்றி தெரிவித்தார்.
இன்று நடக்கும் கலை நிகழ்ச்சிகளில், ரஜினிகாந்த்-கமல்ஹாசனும் கலந்து கொள்கின்றனர். அதைத்தொடர்ந்து நடிகர்-நடிகைகளின் நடன நிகழ்ச்சிகள் நடைபெறுகின்றன. நடிகர்கள் அர்ஜுன், மோகன், சிலம்பரசன், கவுதம் கார்த்திக், அஜ்மல், நந்தா, ஆனந்த்பாபு, நடிகைகள் தேவயானி, தமன்னா, ஷ்ரேயா, ஹன்சிகா, லட்சுமிராய், பிந்து மாதவி, ஓவியா, துளசி ஆகியோர் நடன நிகழ்ச்சிகளில் பங்கு பெறுகிறார்கள்.
‘‘நீ வர வேண்டும்...'' என்ற பாடலுக்கும், ‘‘ஓ ரசிக்கும் சீமானே...'' என்ற பாடலுக்கும் சிலம்பரசன்-ஹன்சிகா ஜோடி நடனம் ஆடுகிறார்கள். நாங்க புதுசா கட்டிக்கிட்ட ஜோடிதானுங்க, நீங்க நல்லாயிருக்கணும் நாடு முன்னேற, தங்கப்பதக்கத்தின் மேலே, நாணமோ நாணமோ, ஆடலுடன் பாடலை கேட்டு...ஆகிய எம்.ஜி.ஆர். பட பாடல்களுக்கு கவுதம் கார்த்திக், ஓவியா, துளசி ஆகியோர் நடனம் ஆடுகிறார்கள்.
காதல் மலர் கூட்டம் ஒன்று, பொன்மகள் வந்தாள், யாரடி நீ மோகினி, என்னடீ ராக்கம்மா ஆகிய சிவாஜி பட பாடல்களுக்கு அர்ஜுன், மோகன், அஜ்மல், ரோஜா, தேவயானி, லட்சுமிராய் ஆகியோர் நடனம் ஆடுகிறார்கள்.
புகழ்பெற்ற ‘சந்திரலேகா' படத்தில் இடம்பெற்ற மத்தள பாடலுக்கு ஸ்ரேயா நடனம் ஆடுகிறார். நந்தா, பிந்து மாதவி, சஞ்சிதா ஷெட்டி ஆகியோர் நடனம் ஆடுகிறார்கள். முத்துக்குளிக்க வாரீகளா என்ற நாகேஷ் பாடலுக்கு அவருடைய மகன் ஆனந்த்பாபு நடனம் ஆடுகிறார்.
22-ந்தேதி கன்னட பட உலகினரின் கலை நிகழ்ச்சிகளும், 23-ந்தேதி மலையாள பட உலகினரின் கலை நிகழ்ச்சிகளும் நடைபெறுகின்றன. 23-ந்தேதி இரவு பட உலகை சேர்ந்த அனைத்து பிரிவினருக்கும் மிகப்பெரிய விருந்து நடக்கிறது. 24-ந்தேதி நிறைவு விழா நடக்கிறது.
அதில், ஜனாதிபதி பிரணாப் முகர்ஜி கலந்து கொள்கிறார். விழாவுக்கு தமிழக முதல்-அமைச்சர் ஜெயலலிதா, ஆந்திர முதல்வர் கிரண்குமார் ரெட்டி, கர்நாடக முதல்வர் சித்தராமய்யா, கேரள முதல்வர் உம்மன்சாண்டி ஆகியோர் முன்னிலை வகிக்கிறார்கள்.
சென்னை நேரு உள்விளையாட்டரங்கில் மாலை 4 மணிக்கு தொடங்கிய இந்த விழாவில் அமைச்சர்கள், திரையுலகினர் திரளாகக் கலந்து கொண்டனர்.
இந்திய சினிமாவில் 50 ஆண்டுகளுக்கு மேல் சேவை செய்த தயாரிப்பாளர் ஏவி.எம்.சரவணன், நடிகைகள் சரோஜாதேவி, வைஜயந்திமாலா, சாரதா, ஜெயந்தி, குட்டி பத்மினி உள்பட 50 கலைஞர்களுக்கு முதல்வர் ஜெயலலிதா விருது வழங்கினார். தென்னிந்திய திரைப்பட வர்த்தக சபை செயலாளர் எல்.சுரேஷ் நன்றி தெரிவித்தார்.
இன்று நடக்கும் கலை நிகழ்ச்சிகளில், ரஜினிகாந்த்-கமல்ஹாசனும் கலந்து கொள்கின்றனர். அதைத்தொடர்ந்து நடிகர்-நடிகைகளின் நடன நிகழ்ச்சிகள் நடைபெறுகின்றன. நடிகர்கள் அர்ஜுன், மோகன், சிலம்பரசன், கவுதம் கார்த்திக், அஜ்மல், நந்தா, ஆனந்த்பாபு, நடிகைகள் தேவயானி, தமன்னா, ஷ்ரேயா, ஹன்சிகா, லட்சுமிராய், பிந்து மாதவி, ஓவியா, துளசி ஆகியோர் நடன நிகழ்ச்சிகளில் பங்கு பெறுகிறார்கள்.
‘‘நீ வர வேண்டும்...'' என்ற பாடலுக்கும், ‘‘ஓ ரசிக்கும் சீமானே...'' என்ற பாடலுக்கும் சிலம்பரசன்-ஹன்சிகா ஜோடி நடனம் ஆடுகிறார்கள். நாங்க புதுசா கட்டிக்கிட்ட ஜோடிதானுங்க, நீங்க நல்லாயிருக்கணும் நாடு முன்னேற, தங்கப்பதக்கத்தின் மேலே, நாணமோ நாணமோ, ஆடலுடன் பாடலை கேட்டு...ஆகிய எம்.ஜி.ஆர். பட பாடல்களுக்கு கவுதம் கார்த்திக், ஓவியா, துளசி ஆகியோர் நடனம் ஆடுகிறார்கள்.
காதல் மலர் கூட்டம் ஒன்று, பொன்மகள் வந்தாள், யாரடி நீ மோகினி, என்னடீ ராக்கம்மா ஆகிய சிவாஜி பட பாடல்களுக்கு அர்ஜுன், மோகன், அஜ்மல், ரோஜா, தேவயானி, லட்சுமிராய் ஆகியோர் நடனம் ஆடுகிறார்கள்.
புகழ்பெற்ற ‘சந்திரலேகா' படத்தில் இடம்பெற்ற மத்தள பாடலுக்கு ஸ்ரேயா நடனம் ஆடுகிறார். நந்தா, பிந்து மாதவி, சஞ்சிதா ஷெட்டி ஆகியோர் நடனம் ஆடுகிறார்கள். முத்துக்குளிக்க வாரீகளா என்ற நாகேஷ் பாடலுக்கு அவருடைய மகன் ஆனந்த்பாபு நடனம் ஆடுகிறார்.
22-ந்தேதி கன்னட பட உலகினரின் கலை நிகழ்ச்சிகளும், 23-ந்தேதி மலையாள பட உலகினரின் கலை நிகழ்ச்சிகளும் நடைபெறுகின்றன. 23-ந்தேதி இரவு பட உலகை சேர்ந்த அனைத்து பிரிவினருக்கும் மிகப்பெரிய விருந்து நடக்கிறது. 24-ந்தேதி நிறைவு விழா நடக்கிறது.
அதில், ஜனாதிபதி பிரணாப் முகர்ஜி கலந்து கொள்கிறார். விழாவுக்கு தமிழக முதல்-அமைச்சர் ஜெயலலிதா, ஆந்திர முதல்வர் கிரண்குமார் ரெட்டி, கர்நாடக முதல்வர் சித்தராமய்யா, கேரள முதல்வர் உம்மன்சாண்டி ஆகியோர் முன்னிலை வகிக்கிறார்கள்.
2 BHK Row House for Sale at Individual Row House Uppal, Hyderabad
2BHK for sale -28.5 lakhs-1350sq.ft
Type of Property: | Row House |
Locality: | Uppal |
No of Bathrooms: | 3 |
Direction Facing: | East |
Flooring: | Marble Flooring |
Parking Available: | 4 Wheeler Parking: Covered 2 Wheeler Parking: Covered |
Ownership Type: | Freehold |
Other Specification: | With Dining Space |
Sale Type: | New |
Independent House/Villa for Sale at Beeramguda, Hyderabad
Price: Rs. 36 Lacs
Bedrooms: 2 BHK
Age of property: 0 - 1 year
Built-up Area: 1250
Carpet Area: 1150
Flooring;marble flooring in hall,
Pooja room with 5feetheight tiles Bath room with 6feet height tiels Dinniing hall with washbasin Ca parking with broken chips with individual bore facility is available 100%vastu house lone is also avalible.
Contactno 9177046726
west facing with car parking manjeera water
24 houres bore water with3face electrical etc
walkble distane frommain road atm market,bank hosipital from house
.2.5kms from Mumbai national highway .14kms fromhi-tech city 11kms from gachibowli 5,5kms from ligampally railway station 34kms from sec-
bad railwaystion,35kms from airport 2kms from outer-ring road
dinning i&bedroom&anti-skid flooring tiles in bathrooms’
Specification;all external walls9”thickin brick and internal walls 4’1/2size thick with light weight red bricks of good quality lappam finished walls.
PAYING GUEST ACCOMODATIONS IN HAL 1ST, 2ND STAGE
AND GENTS(Seperate Bldgs) |
- Fully Furnished rooms - TV in every single room - North & South Indian Food - 3 times Food/day - Lunch Box Provided - 24hrs Hot water - Attached Bathroom - Seprate Cupboards with lockers - Parking & Security - 2 , 3 & 4 Sharing PG photo's & More details | Address: #57/3, Kodihalli Mian road, HAL 2nd Stage, Old Airport Road, Bangalore Landmark: Opp. IBP & Near Manipal towers & Leela |
Contact: CHANNAKESHAVA REDDY 9901818458, 974214422 Please mention that you found the AD in payingguestinbangalore.com |
LADIES |
- Fully Furnished Rooms - North & South Indian food - Lunch Box Provided - TV in every room - CCTV cameras - Attached Bathroom - 2 & 4 wheeler Parking & Security - Lift & Power Backup - 2 & 3 Sharing PG photo's & More details | Address: Apartment No. 40, Kamdhenu Kuteera, Kodihalli Mian road, HAL 2nd Stage, Old Airport Road, Bangalore Landmark: Near Leela Palace |
Contact: RAJAMOHAN REDDY 9611266733, 9620048749Please mention that you found the AD in payingguestinbangalore.com |
- Fully Furnished Luxury rooms - TV in every single room - North/South Indian Food - 3 times Food/day - Lunch Box Provided - 24hrs Hot water - Attached Bathroom - Seprate Cupboards with lockers - Parking and Security - 2 & 3 Sharing | Address: #28/2, 18th Main, Indiranagar, Bangalore-560008 Alternative Route: road opp. to IBP petrol bunk, old Airport road, Kodihalli Landmark: Near Nandini Hotel & Near Manipal towers |
Contact: RADHA KRISHNA REDDY 8884350510, 9663519090 |
- Fully Furnished Luxury Rooms - TV in every room - North & South Indian Food - 3 times Food/day - WI-FI Connectivity - 24hrs Hot water - Attached Bathroom - Parking and Security - 1,2 & 3 Sharing | Address: # 2608, 3RD Cross, 18th Main, HAL 2nd Stage, Indiranagar, Bangalore Landmark: Near Domlur Flyover |
Contact: MAHENDRA 9036398599, 9740988307Please mention that you found the AD in payingguestinbangalore.com |
- Fully Furnished Luxury Rooms - TV in every room - North& South Indian Food - 3 times Food/day - WI-FI Connectivity - 24hrs Hot water - Attached Bathroom - Located in Decent Residential Area - Parking and Security - 1,2 & 3 Sharing | Address: # 6, 6th Cross, 6th Main, kodihalli, HAL 2nd Stage, Bangalore Landmark: Opp. to IBP & Manipal Global |
Contact: SHIVA REDDY 9844666450Please mention that you found the AD in payingguestinbangalore.com |
- Fully Furnished Rooms - TV in every room - North/South Indian Food - 3 times Food/day - WI-FI Connectivity - 24hrs Hot water - Attached Bathroom - Separate Cupboards with lockers - Parking and Security - 1,2 & 3 Sharing | Address: # 2513, 17th Main, 2nd Cross, HAL 2nd stage, Bangalore Landmark: Opp. to KEB office |
Contact: SRINIVAS REDDY 8553337689, 8050001745 Please mention that you found the AD in payingguestinbangalore.com |
- Fully Furnished Posh PG - North/South Indian Food - 2 times Food/day - Sundays-NON-VEG - Wi-fi, UPS - 24hrs Hot water - Attached Bathroom - Parking and Security - 1,2,3,4 Sharing | Address: # 2814, 18th A Main, 5th B Cross, HAL 2nd stage, Kodihalli, bangalore Landmark: Near Leela Palace, Manipal towers opposite to Indian oil Petrol Bunk |
Contact: P S REDDY 8553282421/ 9986743255Please mention that you found the AD in payingguestinbangalore.com |
- Fully Furnished Posh PG - North/South Indian Food - 24hrs Hot water - Wi-fi - Attached Bathroom - Seprate Cupboards & TV - Parking and Security - Packaged Drinking water - Washing Machine PG photo's & More details | Address: # 2132, 16th Main, 100 ft road, Near Reebok Showroom, HAL 2nd stage, Indiranagar, bangalore-560008 Landmark: Opposite to Little flower English School |
Contact: RAMANA REDDY 9741302667 , 8904741697Please mention that you found the AD in payingguestinbangalore.com |
- Fully Furnished Posh PG - Newly Built - LCD TV in every single room - Wi-fi Connectivity - North/South Indian Food - 3 times Food/day - 24hrs Hot water - Attached Bathroom - Seprate Cupboards - Parking and Security - 1,2,3 & 4 Sharing PG photo's & More details | Address: # 225/A, 18th D Main, HAL 2nd Stage, Indiranagar, Bangalore-560008 Landmark: Beside Bajaj Showroom and Behind Nandini Hotel |
Contact: SRINIVAS REDDY 9741292855, 7795636332Please mention that you found the AD in payingguestinbangalore.com |
- Fully Furnished Posh PG - Single Occupant Deluxe - Two Sharing executive suite - TV in every single room - Without Food - 24hrs Hot water - Attached Bathroom - Seprate Cupboards - Parking and Security - 1,2,3 & 4 Sharing | Address: # 2317, 2nd Cross, 16th 'B' main, HAL 2nd Stage, Indiranagar, Bangalore-560008 Landmark: Near Bescom and Bharat Gas |
Contact: VASUDEV 9448450858, 080 25262300Please mention that you found the AD in payingguestinbangalore.com |
PAYING GUEST IN CV RAMAN NAGAR
- Fully Furnished - WI-FI - North & South Indian food - TV & Attached bathroom - Drinking Mineral water - 24 HRs Hot water - Powerbackup - Refrigarator - Washing machine - Parking & Security - 1, 2, 3 & 4 Sharing PG photo's & More details | Address: # 68, 13th Cross, Kaggadasapura, CV Ramannagar post, Bangalore-93 Landmark: Opp. to BBMP office, Near Govt. School |
Contact: Shamsina 9741684779don't forget to mention that you found the AD in payinguestinbangalore |
- Fully Furnished Posh PG - Wi-Fi Connectivity - North/South Indian Food - 24hrs Hot water - TV & Attached Bathroom - Seprate Cupboards - Parking and Security - 1/2/3/4/5 Sharing - Air Conditioned PG photo's & More details | Address: # 232, Rakesh babu Complex, N R colony, Jeevanbhima nagar bus stop, Bangalore-560017 Landmark: Opposite to Kasturi Darshan Hotel/ Attached to Andhra Style Mess |
Contact: SUDHAKAR 9740716772/ 9036442072 |
- Fully Furnished PG - LCD TV in every single room - Wi-fi Connectivity - North/South Indian Food - 3 times Food/day - 24hrs Hot water - Attached Bathroom - Seprate Cupboards - Parking and Security - Washing Machine PG photo's & More details | Address: # 316/A, 4th Cross, Kaggadasapura Main Road, C V Raman nagarBangalore-560008 Landmark: Near Bagmane Tech Park |
Contact: Basheer 9036600788 hshhomestay@gmail.com |
- Fully Furnished Posh PG - Newly Built - LCD TV in every single room - Wi-fi Connectivity - North/South Indian Food - 3 times Food/day - 24hrs Hot water - Attached Bathroom - Seprate Cupboards - Parking and Security - 1,2,3 & 4 Sharing PG photo's & More details | Address: # 225/A, 18th D Main, HAL 2nd Stage, Indiranagar, Bangalore-560008 Landmark: Beside Bajaj Showroom and Behind Nandini Hotel |
Contact: SRINIVAS REDDY 9741292855, 7795636332 |
- Fully Furnished Posh PG - Newly Built - TV in every single room - North/South Indian Food - 3 times Food/day - Lunch Box Provided - 24hrs Hot water - Attached Bathroom - Seprate Cupboards - Parking and Security - 2 & 3 Sharing | Address: #28/2, 18th Main, Indiranagar, Bangalore-560008 Alternative Route: road opp. to IBP petrol bunk, old Airport road, Kodihalli Landmark: Near Nandini Hotel & Near Manipal towers |
Contact: RADHA KRISHNA REDDY 9738110166, 9663519090 |
- Well Secured PG - TV in each room - Wi-fi Connectivity - Attached Bathroom - North/South Indian Food - 3 times Food/day - Lunch Box provided - 24hrs Hot water - Seprate Cupboards - Parking and Security - 3 & 4 Sharing | Address: # 6, HAL 2nd Stage, 6th Cross, Kodihalli, old airport road, Bangalore Landmark: Near Manipal towers & opp to Indian oil Petrol Bunk |
Contact: SHIVA REDDY 9844666450 |
- Well Furnished - TV - North/South Indian Food - 3 times Food/day; - Lunch Box provided - 24hrs Hot water - Seprate Cupboards - Parking and Security | Address: # 26, HAL 2nd Stage, 6th Cross, Kodihalli, old airport road, Bangalore Landmark: Near Manipal towers & opp to Indian oil Petrol Bunk |
Contact: OBIAH 7676043473, 9741859662 |
- Fully Furnished Posh PG - North/South Indian Food - 24hrs Hot water - Wi-fi - Attached Bathroom - Seprate Cupboards & TV - Parking and Security - Packaged Drinking water - Washing Machine PG photo's & More details | Address: # 2132, 16th Main, 100 ft road, Near Reebok Showroom, HAL 2nd stage, Indiranagar, bangalore-560008 Landmark: Opposite to Little flower English School |
Contact: RAMANA REDDY 9741302667 8904741697 |
- Fully Furnished Posh PG - North/South Indian Food - 2 times Food/day - Sundays-NON-VEG - Wi-fi, UPS - 24hrs Hot water - Attached Bathroom - Parking and Security - Home away from Home | Address: # 2814, 18th a Main, 5th B Cross, HAL 2nd stage, Kodihalli, bangalore-5600038 Landmark: Near Leela Palace, Manipal towers opposite to Indian oil Petrol Bunk |
Contact: P S REDDY 8553282421/ 9986743255 |
Get products by category id in Magento
It is always recommended to fetch any data from mangeto using its api/helper.
Here the code to get list of products by passing category id with the help of magento helper.
if it is current category,
$category = Mage::registry('current_category');
If not,
$categoryid = 12;
$category = new Mage_Catalog_Model_Category();
$category->load($categoryid);
$items = $category->getProductCollection();
$items->addAttributeToSelect('*');
$p_ids = array();
foreach($items as $item)
{
$p_ids[] = $item->getID();
}
Here the code to get list of products by passing category id with the help of magento helper.
if it is current category,
$category = Mage::registry('current_category');
If not,
$categoryid = 12;
$category = new Mage_Catalog_Model_Category();
$category->load($categoryid);
Then,
$items->addAttributeToSelect('*');
$p_ids = array();
foreach($items as $item)
{
$p_ids[] = $item->getID();
}
Swatch Book with CSS3 & jQuery
menu.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Swatch Book with CSS3 and jQuery</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Animated Swatch Book with CSS3 and jQuery" />
<meta name="keywords" content="swatch book, css3, jquery, animated, rotation, transition, folding fan" />
<meta name="author" content="Codrops" />
<link rel="shortcut icon" href="images/favicon.ico">
<link rel="stylesheet" type="text/css" href="demo.css" />
<link rel="stylesheet" type="text/css" href="style.css" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:700,300,300italic' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="modernizr.js"></script>
<!--[if lte IE 8]><style>.main{display:none;} .support-note .note-ie{display:block;}</style><![endif]-->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-7243260-2']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<div class="container">
<!-- Codrops top bar -->
<div class="codrops-top clearfix">
<a href="http://tympanus.net/Development/3DPanelLayout/">
<strong>« Previous Demo: </strong>3D Panel Layout
</a>
<span class="right">
<a href="http://fontello.com/">Icon Font made with Fontello</a>
<a href="http://tympanus.net/codrops/2012/07/02/swatch-book-with-css3-and-jquery/">
<strong>Back to the Codrops Article</strong>
</a>
</span>
</div><!--/ Codrops top bar -->
<header>
<h1><span>Swatch Book</span> with CSS3 & jQuery</h1>
<h2>Fun with skeuomorphism & CSS3 rotations</h2>
<nav class="codrops-demos">
<a class="current-demo" href="index.html">Demo 1</a>
<a href="index2.html">Demo 2</a>
<a href="index3.html">Demo 3</a>
<a href="index4.html">Demo 4</a>
<a href="index5.html">Demo 5</a>
</nav>
<div class="support-note"><!-- let's check browser support with modernizr -->
<!--span class="no-cssanimations">CSS animations are not supported in your browser</span-->
<span class="no-csstransforms">CSS transforms are not supported in your browser</span>
<!--span class="no-csstransforms3d">CSS 3D transforms are not supported in your browser</span-->
<span class="no-csstransitions">CSS transitions are not supported in your browser</span>
<span class="note-ie">Sorry, only modern browsers.</span>
</div>
</header>
<section class="main">
<div id="sb-container" class="sb-container">
<div>
<span class="sb-icon icon-cog"></span>
<h4><span>All Settings</span></h4>
</div>
<div>
<span class="sb-icon icon-flight"></span>
<h4><span>User Modes</span></h4>
</div>
<div>
<span class="sb-icon icon-eye"></span>
<h4><span>Browse All</span></h4>
</div>
<div>
<span class="sb-icon icon-install"></span>
<h4><span>Install App</span></h4>
</div>
<div>
<span class="sb-icon icon-bag"></span>
<h4><span>Productivity</span></h4>
</div>
<div>
<span class="sb-icon icon-globe"></span>
<h4><span>All Options</span></h4>
</div>
<div>
<span class="sb-icon icon-picture"></span>
<h4><span>User Images</span></h4>
</div>
<div>
<span class="sb-icon icon-video"></span>
<h4><span>User Videos</span></h4>
</div>
<div>
<span class="sb-icon icon-download"></span>
<h4><span>Download App</span></h4>
</div>
<div>
<span class="sb-icon icon-mobile"></span>
<h4><span>Mobile Theme</span></h4>
</div>
<div>
<span class="sb-icon icon-camera"></span>
<h4><span>Digital App</span></h4>
</div>
<div>
<h4><span>Profile</span></h4>
<h5><span>We ♥ color</span></h5>
</div>
</div><!-- sb-container -->
</section>
</div>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript" src="swatchbook.js"></script>
<script type="text/javascript">
$(function() {
$( '#sb-container' ).swatchbook();
});
</script>
<script src="http://tympanus.net/codrops/adpacks/demoad.js"></script>
</body>
</html>
style.css
.sb-container {
position: relative;
width: 150px;
height: 400px;
margin: 30px auto 0 auto;
}
.sb-container div {
position: absolute;
top: 0;
left: 0;
width: 130px;
background: #fff;
height: 400px;
border-radius: 5px;
cursor: pointer;
text-align: center;
background-image: url(../images/fabric.png);
-webkit-transform-origin: 25% 90%;
-moz-transform-origin: 25% 90%;
-o-transform-origin: 25% 90%;
-ms-transform-origin: 25% 90%;
transform-origin: 25% 90%;
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
-ms-backface-visibility: hidden;
-o-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
.sb-container div:nth-child(1){
background-color: #ea2a29;
box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 1px 1px 1px rgba(0,0,0,0.1);
}
.sb-container div:nth-child(2){
background-color: #f16729;
box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 2px 2px 1px rgba(0,0,0,0.1);
}
.sb-container div:nth-child(3){
background-color: #f89322;
box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 3px 3px 2px rgba(0,0,0,0.2);
}
.sb-container div:nth-child(4){
background-color: #ffcf14;
box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 4px 4px 4px rgba(0,0,0,0.2);
}
.sb-container div:nth-child(5){
background-color: #ffea0d;
box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 5px 5px 6px rgba(0,0,0,0.3);
}
.sb-container div:nth-child(6){
background-color: #87b11d;
box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 6px 6px 8px rgba(0,0,0,0.3);
}
.sb-container div:nth-child(7){
background-color: #008253;
box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 7px 7px 10px rgba(0,0,0,0.4);
}
.sb-container div:nth-child(8){
background-color: #3277b5;
box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 8px 8px 12px rgba(0,0,0,0.4);
}
.sb-container div:nth-child(9){
background-color: #4c549f;
box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 9px 9px 14px rgba(0,0,0,0.4);
}
.sb-container div:nth-child(10){
background-color: #764394;
box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 10px 10px 16px rgba(0,0,0,0.4);
}
.sb-container div:nth-child(11){
background-color: #ca0d86;
box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 11px 11px 18px rgba(0,0,0,0.4);
}
.sb-container div:last-child{
background: #645b5c url(../images/cover.jpg) repeat center center;
box-shadow:
-1px -1px 3px rgba(0,0,0,0.2),
12px 12px 20px rgba(0,0,0,0.6),
inset 2px 2px 0 rgba(255, 255, 255, 0.1);
}
.sb-container div:last-child:after{
content: '';
position: absolute;
bottom: 15px;
left: 15px;
width: 20px;
height: 20px;
border-radius: 50%;
background: #dddddd;
background: -moz-linear-gradient(-45deg, #dddddd 0%, #58535e 48%, #889396 100%);
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#dddddd), color-stop(48%,#58535e), color-stop(100%,#889396));
background: -webkit-linear-gradient(-45deg, #dddddd 0%,#58535e 48%,#889396 100%);
background: -o-linear-gradient(-45deg, #dddddd 0%,#58535e 48%,#889396 100%);
background: -ms-linear-gradient(-45deg, #dddddd 0%,#58535e 48%,#889396 100%);
background: linear-gradient(135deg, #dddddd 0%,#58535e 48%,#889396 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dddddd', endColorstr='#889396',GradientType=1 );
box-shadow: -1px -1px 1px rgba(0,0,0,0.5), 1px 1px 1px rgba(255,255,255,0.1);
}
.sb-container div h4{
color: rgba(255,255,255,0.9);
text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
font-weight: 700;
font-size: 16px;
text-transform: uppercase;
border-top: 1px dashed rgba(0,0,0,0.1);
border-bottom: 1px dashed rgba(0,0,0,0.1);
margin: 5px;
padding: 5px;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.sb-container div:last-child h4{
background: rgba(0,0,0,0.2);
box-shadow: 0 1px 1px rgba(255,255,255,0.1);
}
.sb-container div:last-child h5{
font-size: 50px;
white-space: nowrap;
text-align: left;
margin: 0;
padding: 0;
position: absolute;
line-height: 50px;
top: 0px;
left: 0px;
color: #111;
text-shadow: -1px -1px 1px rgba(255,255,255,0.1);
text-transform: uppercase;
-webkit-transform: rotate(-90deg) translateX(-157%) translateY(73px);
-moz-transform: rotate(-90deg) translateX(-157%) translateY(73px);
-o-transform: rotate(-90deg) translateX(-157%) translateY(73px);
-ms-transform: rotate(-90deg) translateX(-157%) translateY(73px);
transform: rotate(-90deg) translateX(-157%) translateY(73px);
-webkit-transform-origin: 0 0;
-moz-transform-origin: 0 0;
-o-transform-origin: 0 0;
-ms-transform-origin: 0 0;
transform-origin: 0 0;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
span.sb-icon{
display: block;
height: 70px;
width: 70px;
margin: 20px auto;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
span.sb-icon:before {
font-family: 'icons';
font-style: normal;
font-weight: normal;
speak: none;
display: block;
text-decoration: inherit;
text-align: center;
text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3);
line-height: 64px;
width: 100%;
font-size: 60px;
color: #000;
text-shadow: 0 0 1px #000;
}
.icon-cog:before { content: '\35'; } /* '5' */
.icon-flight:before { content: '\37'; } /* '7' */
.icon-eye:before { content: '\34'; } /* '4' */
.icon-install:before { content: '\39'; } /* '9' */
.icon-bag:before { content: '\36'; } /* '6' */
.icon-globe:before { content: '\38'; } /* '8' */
.icon-picture:before { content: '\32'; } /* '2' */
.icon-video:before { content: '\30'; } /* '0' */
.icon-download:before { content: '\41'; } /* 'A' */
.icon-mobile:before { content: '\42'; } /* 'B' */
.icon-camera:before { content: '\33'; } /* '3' */
swatchbook.js
/**
* jquery.swatchbook.js v1.1.0
* http://www.codrops.com
*
* Licensed under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*
* Copyright 2012, Codrops
* http://www.codrops.com
*/
;( function( $, window, undefined ) {
'use strict';
// global
var Modernizr = window.Modernizr;
jQuery.fn.reverse = [].reverse;
$.SwatchBook = function( options, element ) {
this.$el = $( element );
this._init( options );
};
$.SwatchBook.defaults = {
// index of initial centered item
center : 6,
// number of degrees that is between each item
angleInc : 8,
speed : 700,
easing : 'ease',
// amount in degrees for the opened item's next sibling
proximity : 45,
// amount in degrees between the opened item's next siblings
neighbor : 4,
// animate on load
onLoadAnim : true,
// if it should be closed by default
initclosed : false,
// index of the element that when clicked, triggers the open/close function
// by default there is no such element
closeIdx : -1,
// open one specific item initially (overrides initclosed)
openAt : -1
};
$.SwatchBook.prototype = {
_init : function( options ) {
this.options = $.extend( true, {}, $.SwatchBook.defaults, options );
this.$items = this.$el.children( 'div' );
this.itemsCount = this.$items.length;
this.current = -1;
this.support = Modernizr.csstransitions;
this.cache = [];
if( this.options.onLoadAnim ) {
this._setTransition();
}
if( !this.options.initclosed ) {
this._center( this.options.center, this.options.onLoadAnim );
}
else {
this.isClosed = true;
if( !this.options.onLoadAnim ) {
this._setTransition();
}
}
if( this.options.openAt >= 0 && this.options.openAt < this.itemsCount ) {
this._openItem( this.$items.eq( this.options.openAt ) );
}
this._initEvents();
},
_setTransition : function() {
if( this.support ) {
this.$items.css( { 'transition': 'all ' + this.options.speed + 'ms ' + this.options.easing } );
}
},
_openclose : function() {
this.isClosed ? this._center( this.options.center, true ) : this.$items.css( { 'transform' : 'rotate(0deg)' } );
this.isClosed = !this.isClosed;
},
_center : function( idx, anim ) {
var self = this;
this.$items.each( function( i ) {
var transformStr = 'rotate(' + ( self.options.angleInc * ( i - idx ) ) + 'deg)';
$( this ).css( { 'transform' : transformStr } );
} );
},
_openItem : function( $item ) {
var itmIdx = $item.index();
if( itmIdx !== this.current ) {
if( this.options.closeIdx !== -1 && itmIdx === this.options.closeIdx ) {
this._openclose();
this._setCurrent();
}
else {
this._setCurrent( $item );
$item.css( { 'transform' : 'rotate(0deg)' } );
this._rotateSiblings( $item );
}
}
},
_initEvents : function() {
var self = this;
this.$items.on( 'click.swatchbook', function( event ) {
self._openItem( $( this ) );
} );
},
_rotateSiblings : function( $item ) {
var self = this,
idx = $item.index(),
$cached = this.cache[ idx ],
$siblings;
if( $cached ) {
$siblings = $cached;
}
else {
$siblings = $item.siblings();
this.cache[ idx ] = $siblings;
}
$siblings.each( function( i ) {
var rotateVal = i < idx ?
self.options.angleInc * ( i - idx ) :
i - idx === 1 ?
self.options.proximity :
self.options.proximity + ( i - idx - 1 ) * self.options.neighbor;
var transformStr = 'rotate(' + rotateVal + 'deg)';
$( this ).css( { 'transform' : transformStr } );
} );
},
_setCurrent : function( $el ) {
this.current = $el ? $el.index() : -1;
this.$items.removeClass( 'ff-active' );
if( $el ) {
$el.addClass( 'ff-active' );
}
}
};
var logError = function( message ) {
if ( window.console ) {
window.console.error( message );
}
};
$.fn.swatchbook = function( options ) {
var instance = $.data( this, 'swatchbook' );
if ( typeof options === 'string' ) {
var args = Array.prototype.slice.call( arguments, 1 );
this.each(function() {
if ( !instance ) {
logError( "cannot call methods on swatchbook prior to initialization; " +
"attempted to call method '" + options + "'" );
return;
}
if ( !$.isFunction( instance[options] ) || options.charAt(0) === "_" ) {
logError( "no such method '" + options + "' for swatchbook instance" );
return;
}
instance[ options ].apply( instance, args );
});
}
else {
this.each(function() {
if ( instance ) {
instance._init();
}
else {
instance = $.data( this, 'swatchbook', new $.SwatchBook( options, this ) );
}
});
}
return instance;
};
} )( jQuery, window );
modernizr.js
/* Modernizr 2.5.3 (Custom Build) | MIT & BSD
* Build: http://www.modernizr.com/download/#-cssanimations-csstransforms-csstransforms3d-csstransitions-shiv-cssclasses-teststyles-testprop-testallprops-prefixes-domprefixes
*/
;window.Modernizr=function(a,b,c){function z(a){j.cssText=a}function A(a,b){return z(m.join(a+";")+(b||""))}function B(a,b){return typeof a===b}function C(a,b){return!!~(""+a).indexOf(b)}function D(a,b){for(var d in a)if(j[a[d]]!==c)return b=="pfx"?a[d]:!0;return!1}function E(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:B(f,"function")?f.bind(d||b):f}return!1}function F(a,b,c){var d=a.charAt(0).toUpperCase()+a.substr(1),e=(a+" "+o.join(d+" ")+d).split(" ");return B(b,"string")||B(b,"undefined")?D(e,b):(e=(a+" "+p.join(d+" ")+d).split(" "),E(e,b,c))}var d="2.5.3",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l={}.toString,m=" -webkit- -moz- -o- -ms- ".split(" "),n="Webkit Moz O ms",o=n.split(" "),p=n.toLowerCase().split(" "),q={},r={},s={},t=[],u=t.slice,v,w=function(a,c,d,e){var f,i,j,k=b.createElement("div"),l=b.body,m=l?l:b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),k.appendChild(j);return f=["­","<style>",a,"</style>"].join(""),k.id=h,(l?k:m).innerHTML+=f,m.appendChild(k),l||(m.style.background="",g.appendChild(m)),i=c(k,a),l?k.parentNode.removeChild(k):m.parentNode.removeChild(m),!!i},x={}.hasOwnProperty,y;!B(x,"undefined")&&!B(x.call,"undefined")?y=function(a,b){return x.call(a,b)}:y=function(a,b){return b in a&&B(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=u.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(u.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(u.call(arguments)))};return e});var G=function(a,c){var d=a.join(""),f=c.length;w(d,function(a,c){var d=b.styleSheets[b.styleSheets.length-1],g=d?d.cssRules&&d.cssRules[0]?d.cssRules[0].cssText:d.cssText||"":"",h=a.childNodes,i={};while(f--)i[h[f].id]=h[f];e.csstransforms3d=(i.csstransforms3d&&i.csstransforms3d.offsetLeft)===9&&i.csstransforms3d.offsetHeight===3},f,c)}([,["@media (",m.join("transform-3d),("),h,")","{#csstransforms3d{left:9px;position:absolute;height:3px;}}"].join("")],[,"csstransforms3d"]);q.cssanimations=function(){return F("animationName")},q.csstransforms=function(){return!!F("transform")},q.csstransforms3d=function(){var a=!!F("perspective");return a&&"webkitPerspective"in g.style&&(a=e.csstransforms3d),a},q.csstransitions=function(){return F("transition")};for(var H in q)y(q,H)&&(v=H.toLowerCase(),e[v]=q[H](),t.push((e[v]?"":"no-")+v));return z(""),i=k=null,function(a,b){function g(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function h(){var a=k.elements;return typeof a=="string"?a.split(" "):a}function i(a){var b={},c=a.createElement,e=a.createDocumentFragment,f=e();a.createElement=function(a){var e=(b[a]||(b[a]=c(a))).cloneNode();return k.shivMethods&&e.canHaveChildren&&!d.test(a)?f.appendChild(e):e},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+h().join().replace(/\w+/g,function(a){return b[a]=c(a),f.createElement(a),'c("'+a+'")'})+");return n}")(k,f)}function j(a){var b;return a.documentShived?a:(k.shivCSS&&!e&&(b=!!g(a,"article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio{display:none}canvas,video{display:inline-block;*display:inline;*zoom:1}[hidden]{display:none}audio[controls]{display:inline-block;*display:inline;*zoom:1}mark{background:#FF0;color:#000}")),f||(b=!i(a)),b&&(a.documentShived=b),a)}var c=a.html5||{},d=/^<|^(?:button|form|map|select|textarea)$/i,e,f;(function(){var a=b.createElement("a");a.innerHTML="<xyz></xyz>",e="hidden"in a,f=a.childNodes.length==1||function(){try{b.createElement("a")}catch(a){return!0}var c=b.createDocumentFragment();return typeof c.cloneNode=="undefined"||typeof c.createDocumentFragment=="undefined"||typeof c.createElement=="undefined"}()})();var k={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:j};a.html5=k,j(b)}(this,b),e._version=d,e._prefixes=m,e._domPrefixes=p,e._cssomPrefixes=o,e.testProp=function(a){return D([a])},e.testAllProps=F,e.testStyles=w,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+t.join(" "):""),e}(this,this.document);
demo.css
@font-face {
font-family: 'icons';
src: url("font/icons.eot");
src: url(".font/icons.eot?#iefix") format('embedded-opentype'), url("font/icons.woff") format('woff'), url("font/icons.ttf") format('truetype'), url("font/icons.svg#icons") format('svg');
font-weight: normal;
font-style: normal;
}
*,
*:after,
*:before {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0;
margin: 0;
}
/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after {
content: " "; /* 1 */
display: table; /* 2 */
}
.clearfix:after {
clear: both;
}
.clearfix {
*zoom: 1;
}
body{
font-family: 'Open Sans Condensed','Arial Narrow', serif;
background: #ddd url(../images/egg_shell.jpg) repeat top left;
font-weight: 400;
font-size: 15px;
color: #333;
overflow: scroll;
overflow-x: hidden;
}
a{
color: #555;
text-decoration: none;
}
.container{
width: 100%;
position: relative;
}
.clr{
clear: both;
padding: 0;
height: 0;
margin: 0;
}
.main{
width: 1000px;
height: 700px;
overflow: hidden;
margin: 0 auto;
position: relative;
}
.container > header{
margin: 10px;
padding: 20px 10px 10px 10px;
position: relative;
display: block;
text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
text-align: center;
}
.container > header h1{
font-size: 36px;
line-height: 36px;
margin: 0;
position: relative;
font-weight: 300;
color: #524f4e;
text-shadow: 1px 1px 1px rgba(255,255,255,0.7);
}
.container > header h1 span{
font-weight: 700;
}
.container > header h2{
font-size: 14px;
font-weight: 300;
margin: 0;
padding: 15px 0 5px 0;
color: #888;
font-family: Cambria, Georgia, serif;
font-style: italic;
text-shadow: 1px 1px 1px rgba(255,255,255,0.9);
}
/* Header Style */
.codrops-top{
line-height: 24px;
font-size: 11px;
background: #fff;
background: rgba(255, 255, 255, 0.6);
text-transform: uppercase;
z-index: 9999;
position: relative;
font-family: Cambria, Georgia, serif;
box-shadow: 1px 0px 2px rgba(0,0,0,0.2);
}
.codrops-top a{
padding: 0px 10px;
letter-spacing: 1px;
color: #333;
display: inline-block;
}
.codrops-top a:hover{
background: rgba(255,255,255,0.3);
}
.codrops-top span.right{
float: right;
}
.codrops-top span.right a{
float: left;
display: block;
}
/* Demo Buttons Style */
.codrops-demos{
text-align:center;
display: block;
line-height: 30px;
padding: 5px 0px;
}
.codrops-demos a{
display: inline-block;
margin: 0px 4px;
padding: 0px 6px;
color: #aaa;
line-height: 20px;
font-size: 13px;
text-shadow: 1px 1px 1px #fff;
border: 1px solid #fff;
background: #ffffff; /* Old browsers */
background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* IE10+ */
background: linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
.codrops-demos a:hover{
color: #333;
background: #fff;
}
.codrops-demos a:active{
background: #fff;
}
.codrops-demos a.current-demo,
.codrops-demos a.current-demo:hover{
background: #f0f0f0;
border-color: #d9d9d9;
color: #aaa;
box-shadow: 0 1px 1px rgba(255,255,255,0.7);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f6f6', endColorstr='#f6f6f6',GradientType=0 ); /* IE6-9 */
}
.support-note span{
color: #ac375d;
font-size: 16px;
display: none;
font-weight: bold;
text-align: center;
padding: 5px 0;
}
.no-cssanimations .support-note span.no-cssanimations,
.no-csstransforms .support-note span.no-csstransforms,
.no-csstransforms3d .support-note span.no-csstransforms3d,
.no-csstransitions .support-note span.no-csstransitions{
display: block;
}
The output shows like:
Subscribe to:
Posts (Atom)