Join the Blue Door Consulting team and fellow Fox Valley-area tweeps at the September tweetup in Oshkosh. Details below! ...
Blue Door Consulting Blog
Tuesday, September 07, 2010
jQuery Left Right Side Scroll
In this post, Bee shows you how to create a cool sliding panel effect using jQuery...
I have wanted to learn how to use jQuery for a while now so that I could add interactive and visually appealing features into some of the Web projects I’ve been working on. I haven’t had the time to really dive into using jQuery on a wide scale but I have begun to adapt bits and pieces into areas that could use a little refresh, like toggling divs and hover effects.
I’ve seen many of the jQuery sliding panel tutorials online before and have wanted to understand how they worked. I think visually, they look pretty nice, so I finally decided to take some time and went through a tutorial online.
The one that I chose to look through is called jQuery Side Scroll by Scriptygoddess. jQuery SideScroll has three sliding panels that slide from right to left. Each panel slides into the container, by sliding over the previous panel.
I thought this was interesting because most of the scrolling panel tutorials I’ve seen usually went up or down and only involved one panel. After finishing the tutorial, I decided that I wanted to create something that I haven’t seen done before. Using the techniques learned from this tutorial, I expanded on this concept and built one that scrolled both left and right – with a twist.
My idea was to have three main panels: left, right and center. The panels left and right represent two main subjects and center panel would contain the initial main text.

Upon clicking a link, a new panel would slide out from under one of the subject panel and cover the center and either the left or right panel.


I have wanted to learn how to use jQuery for a while now so that I could add interactive and visually appealing features into some of the Web projects I’ve been working on. I haven’t had the time to really dive into using jQuery on a wide scale but I have begun to adapt bits and pieces into areas that could use a little refresh, like toggling divs and hover effects.I’ve seen many of the jQuery sliding panel tutorials online before and have wanted to understand how they worked. I think visually, they look pretty nice, so I finally decided to take some time and went through a tutorial online.
The one that I chose to look through is called jQuery Side Scroll by Scriptygoddess. jQuery SideScroll has three sliding panels that slide from right to left. Each panel slides into the container, by sliding over the previous panel.
I thought this was interesting because most of the scrolling panel tutorials I’ve seen usually went up or down and only involved one panel. After finishing the tutorial, I decided that I wanted to create something that I haven’t seen done before. Using the techniques learned from this tutorial, I expanded on this concept and built one that scrolled both left and right – with a twist.
My idea was to have three main panels: left, right and center. The panels left and right represent two main subjects and center panel would contain the initial main text.

Upon clicking a link, a new panel would slide out from under one of the subject panel and cover the center and either the left or right panel.

I wanted three content panels under each subject, so there would be a total of nine panels in all.
Here is how the all the panels would be situated:
Here is how the all the panels would be situated:

Great, now that you’ve gotten an idea of what I’m trying to achieve, let’s get our hands dirty with jQuery. I’m not going to go through the HTML markup and CSS; you can take a look at the demo of jQuery Left Right Side Scroll and view the source page. Instead, we are going to look at the jQuery codes needed to make the magic happen.
I have commented on every line of code so that it is easy for you to understand what each line does (green texts are comments). If you have any questions regarding the code below, please post a comment with your question.

That pretty much covers it. Again, check out the demo of jQuery Left Right Side Scroll to see how it works. You can also view the page source to see the HTML and CSS needed to put it all together. Please feel free to change anything you would like to make this fit your next project.

That pretty much covers it. Again, check out the demo of jQuery Left Right Side Scroll to see how it works. You can also view the page source to see the HTML and CSS needed to put it all together. Please feel free to change anything you would like to make this fit your next project.
Subscribe to:
Posts (Atom)
Contributors
Brenda Haines, Founder and Consultant
Heidi Strand, Founder and Consultant
Ann Padley, Associate Consultant
Leah Van Rooy, Associate Consultant
Amanda Weldzius, Associate Consultant
Ann Schlichting, Associate Consultant
Bethany Lerch, Maker and Shaker of Words
Tavia Gavinski, Graphic Designer
Mark Cyrulik, Programming Ninja
Tags
- Social Media (21)
- Twitter (21)
- Blue Door Consulting (20)
- social networking (18)
- Facebook (12)
- Customer Satisfaction (8)
- Customer Experience (7)
- Customer Service (7)
- Blog (5)
- WOMMA (5)
- Word of Mouth Marketing (5)
- customer engagement (5)
- innovation (5)
- David Meerman Scott (4)
- E-mail marketing (4)
- Gen Y (4)
- LinkedIn (4)
- Online Social Networking (4)
- Virtual work (4)
- Work shifting (4)
- Working from home (4)
- destination marketing (4)
- tweet (4)
- Corporate Social Media (3)
- Life Meets Work (3)
- Mobile Marketing (3)
- Personal Brand (3)
- advertising (3)
- branding (3)
- consulting (3)
- ethics (3)
- learning (3)
- market strategy (3)
- online marketing (3)
- passwords (3)
- punctuation (3)
- time management (3)
- tips and tricks (3)
- user experience design (3)
- writing (3)
- #BDCBoobyPrize (2)
- 5K (2)
- E-mail results (2)
- Fear (2)
- Millenials (2)
- New Rules of Marketing (2)
- Oshkosh (2)
- Professional Development (2)
- Promotion (2)
- Rotary (2)
- Seth Godin (2)
- Social Media for Business (2)
- Starbucks (2)
- Twitter Search (2)
- Video Blog (2)
- Web Design (2)
- Web site (2)
- backup (2)
- brand delivery (2)
- brand promise (2)
- career (2)
- charitable organizations (2)
- creativity (2)
- customer surveys (2)
- data (2)
- data loss (2)
- employment (2)
- fund-raising events (2)
- google (2)
- grammar (2)
- iPhone 3G (2)
- inspiration (2)
- internal culture (2)
- interns (2)
- multitasking (2)
- online data (2)
- passion (2)
- privacy (2)
- problem-solving (2)
- professional associations (2)
- run/walk (2)
- search engine (2)
- security (2)
- social networks (2)
- the future of social media (2)
- webinar (2)
- worrying (2)
- "When (1)
- #oshtweetup (1)
- #squarespace (1)
- A1 Steak Sauce (1)
- AOL E-mail Addiction Survey (1)
- AP Style (1)
- Android (1)
- Apple (1)
- B2B (1)
- B2C (1)
- Backupify (1)
- BlackBerry (1)
- Blog to Book (1)
- Blurb (1)
- Bowling Alone (1)
- Bozeman Montana (1)
- Brand Ambassadors (1)
- Commercial (1)
- Competition (1)
- Competitive Advantage (1)
- Creepy (1)
- Davenport (1)
- Dentyne (1)
- Digital marketing (1)
- Direct mail (1)
- Doing (1)
- E-mail Addicts Anonymous (1)
- E-mail campaign (1)
- E-mail list (1)
- EAA (1)
- Economy (1)
- Elations (1)
- Electrolux Appliances (1)
- Electrolux Induction Hybrid Cooktop (1)
- Exact Target (1)
- Excuses (1)
- Fast Company (1)
- Fleet Farm (1)
- Flickr (1)
- France Telecom Orange (1)
- Friday the 13th (1)
- Gen X (1)
- Giveaway (1)
- Google Apps (1)
- HR Block (1)
- Health Care (1)
- HealthCentral (1)
- IT (1)
- Inc.com (1)
- Jen's Journey (1)
- Joseph Jaffe (1)
- Kathy O'Reilly (1)
- Kelly Ripa (1)
- Kevin Bacon (1)
- Knowledge Networks (1)
- Local Network (1)
- Louis Vuitton (1)
- Loyalty (1)
- Lycos (1)
- Malcolm Baldrige National Quality Award (1)
- Mark Zuckerberg (1)
- Market Segmentation (1)
- Mashable (1)
- Mick Hager (1)
- Mick Jagger (1)
- Monkey Business: 7 Laws of the Jungle (1)
- Murphy-Goode (1)
- Name (1)
- Net Promoter Score (1)
- Networking (1)
- Nintendo Wii (1)
- Office Management (1)
- Online Video (1)
- Open Graph (1)
- Ore-Ida (1)
- PRSA (1)
- Periodic Table of Visualization (1)
- Personalization (1)
- Pete Cashmore (1)
- Pinterest (1)
- QR codes (1)
- ResumeDoctor.com (1)
- Ritz-Carlton (1)
- Robert Putnam (1)
- SEO (1)
- Sales Influence (1)
- Sandy Wight (1)
- SheSpeaks (1)
- SitePoint (1)
- Smart Phone (1)
- Square Space (1)
- Steve Tyink (1)
- Strategy (1)
- Stress (1)
- Taking Action (1)
- Telecommuting (1)
- Thought Leader (1)
- Tipping (1)
- Tweetdeck (1)
- Tweetup (1)
- Tweetup Planning (1)
- Twellow (1)
- Twellowhood (1)
- Twitter Corporate Account (1)
- Twitter for business (1)
- Utah (1)
- Utah.gov (1)
- WBENC (1)
- WOMMU (1)
- Web 2.0 (1)
- Web 3.0 (1)
- WebMD (1)
- Wii Fit (1)
- airline (1)
- api (1)
- at-home party (1)
- audience (1)
- authentication (1)
- banks (1)
- biking (1)
- bing (1)
- biomimicry (1)
- birth (1)
- brand experience (1)
- brett farve (1)
- business intelligence (1)
- buzz word (1)
- capitalization (1)
- caps (1)
- charitable contributions (1)
- charities (1)
- chat bot (1)
- cloud (1)
- coffee (1)
- colloquialism (1)
- color palette (1)
- color research (1)
- communication (1)
- community branding (1)
- consumer touch points (1)
- control (1)
- corporate philanthropy (1)
- credit unions (1)
- css (1)
- customer experience design (1)
- customer feedback (1)
- customer survey (1)
- customer thermometer (1)
- decision-making (1)
- diffusion of innovations (1)
- disconnecting to reconnect (1)
- donations (1)
- dumb quotes (1)
- energy (1)
- etiquette (1)
- exclamation point (1)
- fabrication (1)
- family (1)
- faq (1)
- financial institutions (1)
- first amendment (1)
- font generator (1)
- goals (1)
- gov 2.0 (1)
- hacker (1)
- haiku (1)
- haiku series (1)
- handwriting font (1)
- happy hour (1)
- human resources (1)
- ideas (1)
- image of the week (1)
- images (1)
- industry talk (1)
- internal marketing (1)
- interview (1)
- interviews (1)
- jQuery (1)
- jaimy_marie (1)
- journalism (1)
- karate bear (1)
- lessons (1)
- letters home (1)
- liar (1)
- lie (1)
- local government scavenger hunt (1)
- looking back (1)
- luggage (1)
- mad libs (1)
- map (1)
- marketing lessons (1)
- media relations (1)
- memory (1)
- mentoring (1)
- mission (1)
- mobile applications (1)
- music. dubstep. (1)
- non-profit organizations (1)
- nonprofit organizations (1)
- online (1)
- online class (1)
- online recruitment (1)
- pew internet and american life project (1)
- politics (1)
- poll (1)
- positioning change (1)
- pregnancy (1)
- preparation (1)
- product development (1)
- product sampling (1)
- public relations (1)
- question (1)
- race (1)
- recreation (1)
- reporting (1)
- restaurant (1)
- resume (1)
- retail (1)
- reunion (1)
- scripts (1)
- smart quotes (1)
- social capital (1)
- social meda (1)
- social media accounts (1)
- social media policies (1)
- social networking for charity (1)
- spelling errors (1)
- stereotypes (1)
- strategic planning (1)
- strep throat (1)
- surveymonkey (1)
- tacit knowledge (1)
- team building (1)
- team toast (1)
- technology and teens (1)
- ted (1)
- texting (1)
- the future (1)
- then" (1)
- trade associations (1)
- trend (1)
- true quotation marks (1)
- tutorial (1)
- twambush (1)
- username (1)
- video game (1)
- vimeo (1)
- vision (1)
- visualization; charts (1)
- volunteerism (1)
- yoga (1)
- youth leadership oshkosh (1)
- youtube (1)




