Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-12-2011, 01:03 AM   PM User | #1
authorandrew
New Coder

 
Join Date: May 2010
Posts: 79
Thanks: 8
Thanked 0 Times in 0 Posts
authorandrew is an unknown quantity at this point
Question jQuery Scrollable problem

Hello,
I have a dilemma that I need to solve quickly as possible. On my website, Mosaic Web, there is a portfolio page:

http://www.mosaic-web.com/p/portfolio.php

Now, I am not very good with jQuery, but I have managed to use a plugin to create this content slider as I liked. But my question occurs when I reach more than five items. I would like to implement a scrollable jquery such as this version:

http://flowplayer.org/tools/demos/sc...e/gallery.html

But this only seems capable of displaying images in the main area, and as you can see my main area contains an image, a header, some text, and button.

I would like to somehow merge these two plugins into one so that I can have HTML content in the main display area yet still use the scrollable (with multiple pages and arrows) of the other plugin.

You can see on my page that the thumbnails do not extend all the way to the left, by the logo; this is because I've reserved 40px for the slider arrows.

Is there a way to merge these two? If not, is there some other plugin that does what I need?

aa
authorandrew is offline   Reply With Quote
Old 04-12-2011, 01:13 AM   PM User | #2
authorandrew
New Coder

 
Join Date: May 2010
Posts: 79
Thanks: 8
Thanked 0 Times in 0 Posts
authorandrew is an unknown quantity at this point
Note: This webpage isn't yet finished, and is still in production; apologies if it doesn't display correctly in some browsers, particularly IE. But you all are web people; doubtless your browsers will show it fine (I'm using FF4)
authorandrew is offline   Reply With Quote
Old 04-12-2011, 05:54 PM   PM User | #3
authorandrew
New Coder

 
Join Date: May 2010
Posts: 79
Thanks: 8
Thanked 0 Times in 0 Posts
authorandrew is an unknown quantity at this point
I am holding the thumbnails within a UL. There should be a way with jquery to dynamically switch out the UL for another one (with thumbnails 5-10)

Here is my HTML code:

Code:
<div id="portfolio-top">
			<ul id="tabs">
				<li>
					<a href="javascript:;">
						<img src="../img/portfolio/itb-thumb.jpg" alt="Into the Book" title="Into the Book	"/>
					</a>
				</li>
				<li>
					<a href="javascript:;">
						<img src="../img/portfolio/ff-thumb.jpg" alt="FaceFinder" title="FaceFinder"/>
					</a>
				</li>
				<li>
					<a href="javascript:;">
						<img src="../img/portfolio/chinese-thumb.jpg" alt="Chinese Takeaway" title="Chinese Takeaway"/>
					</a>
				</li>
			</ul>
			<br class='both'/>
		</div><!--portfolio-top-->
		
		<div id='content-wrap'>
		<ul id="output">
				<li>
					<img class="thumbnail" alt="Into the Book" src="../img/portfolio/into-the-book.jpg" />
					<span class="description-container">
					<h3>Into the Book</h3>
					<p><strong>Time:</strong> January 2011
					<br/>
					Into the Book is a Christian book reviews website. They wanted a redesign for their second birthday--something open and clean. I wanted to base the design off of the original I made for them a year ago, while still giving it a fresh new look.</p>
					<a class='button' href='http://www.intothebook.net'>View Live Site</a>
					</span>
				</li>
				<li>
					<img class="thumbnail" alt="FaceFinder" src="../img/portfolio/face-finder.jpg" />
					<span class="description-container">
					<h3>FaceFinder</h3>
					<p><strong>Time:</strong> December 2010
					<br/>
					FaceFinder is a budding new website that will help authors find faces for their characters in their fiction novels. They wanted a functional website that would still look stylish.</p>
					<a class='button' href='http://www.face-finder.net'>View Live Site</a>
					</span>
				</li>
				<li>
					<img class="thumbnail" alt="ChineseTakeaway" src="../img/portfolio/chinese-takeaway.jpg" />
					<span class="description-container">
					<h3>Chinese Takeaway</h3>
					<p><strong>Time:</strong> June 2010
					<br/>
					Chinese Takeaway is an elegant, stylish blogger template, suitable for almost any genre of blogging. This template includes customizable, flexible features that will make it easy for anyone to use. </p>
					<a class='button' href='http://themeforest.net/item/chinese-takeaway/137725&amp;ref=authorandrew'>Buy Template</a>
					</span>
				</li>
			</ul>
I should be able to get this to work, but I am still stuck. Any way to figure this out?

aa
authorandrew is offline   Reply With Quote
Old 04-13-2011, 07:28 PM   PM User | #4
SB65
Senior Coder

 
Join Date: Feb 2009
Location: West Yorkshire
Posts: 2,817
Thanks: 9
Thanked 681 Times in 675 Posts
SB65 will become famous soon enoughSB65 will become famous soon enough
Don't have time to look at this in detail, but it seems like all you need to do is apply that scrollable plugin to your ul#tabs, so that you can scroll if there's more than five. You don't need any more than this because you'ev already got the code to fade in the main div with the large image and text.

Not sure if that's helpful....
SB65 is online now   Reply With Quote
Old 04-14-2011, 05:30 PM   PM User | #5
authorandrew
New Coder

 
Join Date: May 2010
Posts: 79
Thanks: 8
Thanked 0 Times in 0 Posts
authorandrew is an unknown quantity at this point
That's what I'm thinking as well - I think I will return tonight to beat my head against this for a little longer.

aa
authorandrew is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:47 PM.


Advertisement
Log in to turn off these ads.