Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 4th Nov 2010, 04:45 PM   #1
Warrior Member
 
Join Date: 2010
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default
jquery content slider in ning
Share on: 
fb share twitter share gplus share more share

Does anybody know how I could implement a featured content slider on a ning.com site? I wan't a quick install for this if possible.

If not, who thinks they can develop one for a fee?
mctwisty is offline  
Unread 5th Nov 2010, 10:06 AM   #2
HyperActive Warrior
 
AlTheGr8's Avatar
 
Join Date: 2008
Location: Chicago, IL, USA
Posts: 132
Thanks: 13
Thanked 11 Times in 10 Posts
Default
Re: jquery content slider in ning
Share on: 
fb share twitter share gplus share more share

Ning is very restrictive on what they will allow you to add. They pissed off a lot of people when they stopped offering a free service. In my opinion Ning is for technically challenged who cannot put together a simple community site on a cheap hosting. Since you talk about using jQuery I take it that you are somewhat technical, so my question is - why use Ning?

AlTheGr8 is offline  
Unread 29th Jan 2011, 02:34 AM   #3
Lovin' the WF
War Room Member
 
pilch's Avatar
 
Join Date: 2011
Location: U.K
Posts: 62
Thanks: 27
Thanked 1 Time in 1 Post
Default
Re: jquery content slider in ning
Share on: 
fb share twitter share gplus share more share

Originally Posted by mctwisty View Post

Does anybody know how I could implement a featured content slider on a ning.com site? I wan't a quick install for this if possible.

If not, who thinks they can develop one for a fee?
McTwisty, is this still a requirement for you? If so, I can advise.

>ACAPELLAS4U is your #1 resource for FREE acapellas & dj tools - supported by superstar DJs, Remixers, Producers & Mashup artists Worldwide!!!
pilch is offline  
Unread 4th Feb 2011, 01:24 AM   #4
Wordpress theming
 
Shri Krishna Technologies's Avatar
 
Join Date: 2010
Location: Nagpur
Posts: 78
Thanks: 1
Thanked 5 Times in 5 Posts
Default
Re: jquery content slider in ning
Share on: 
fb share twitter share gplus share more share

Insert the following code in the HEAD section of your page

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

<link rel="stylesheet" type="text/css" href="contentslider.css" />

<script type="text/javascript" src="contentslider.js">

</script>
Insert the below sample code into the BODY section of your page:
Code:
<h2>Example 1</h2>

<!--Inner content DIVs should always carry "contentdiv" CSS class-->
<!--Pagination DIV should always carry "paginate-SLIDERID" CSS class-->

<div id="slider1" class="sliderwrapper">

<div class="contentdiv">
Content 1 Here. <br />
<p></p><a href="javascript:featuredcontentslider.jumpTo('slider1', 3)">Go to 3rd slide</a></p>
</div>

<div class="contentdiv">
Content 2 Here.
</div>

<div class="contentdiv">
Content 3 Here.
</div>

</div>

<div id="paginate-slider1" class="pagination">

</div>

<script type="text/javascript">

featuredcontentslider.init({
    id: "slider1",  //id of main slider DIV
    contentsource: ["inline", ""],  //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
    toc: "#increment",  //Valid values: "#increment", "markup", ["label1", "label2", etc]
    nextprev: ["Previous", "Next"],  //labels for "prev" and "next" links. Set to "" to hide.
    revealtype: "click", //Behavior of pagination links to reveal the slides: "click" or "mouseover"
    enablefade: [true, 0.2],  //[true/false, fadedegree]
    autorotate: [true, 3000],  //[true/false, pausetime]
    onChange: function(previndex, curindex){  //event handler fired whenever script changes slide
        //previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc)
        //curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc)
    }
})

</script>




<br />
<h2>Example 2, Pagination links from markup</h2>

<!--Inner content DIVs should always carry "contentdiv" CSS class-->
<!--Pagination DIV should always carry "paginate-SLIDERID" CSS class-->

<div id="slider2" class="sliderwrapper">

<div class="contentdiv">
Content 1 Here.
</div>

<div class="contentdiv">
Content 2 Here. <br />
<p></p><a href="javascript:featuredcontentslider.jumpTo('slider2', 1)">Go back to 1st slide</a></p>
</div>

<div class="contentdiv">
Content 3 Here.
</div>

</div>

<div id="paginate-slider2" class="pagination">

<a href="#" class="toc">First Page</a> <a href="#" class="toc anotherclass">Second Page</a> <a href="#" class="toc">Third Page</a> <a href="#" class="prev" style="margin-left: 10px"><</a> <a href="#" class="next">></a>

</div>

<script type="text/javascript">

featuredcontentslider.init({
    id: "slider2",  //id of main slider DIV
    contentsource: ["inline", ""],  //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
    toc: "markup",  //Valid values: "#increment", "markup", ["label1", "label2", etc]
    nextprev: ["Previous", "Next"],  //labels for "prev" and "next" links. Set to "" to hide.
    revealtype: "click", //Behavior of pagination links to reveal the slides: "click" or "mouseover"
    enablefade: [true, 0.2],  //[true/false, fadedegree]
    autorotate: [false, 3000],  //[true/false, pausetime]
    onChange: function(previndex, curindex){  //event handler fired whenever script changes slide
        //previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc)
        //curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc)
    }
})

</script>
HTML and CSS Structure

Code:
<div id="slider1"  	class="sliderwrapper">
	
	<div class="contentdiv">
	Content 1 Here.
	</div>
	
	<div class="contentdiv">
	Content 2 Here.
	</div>
	
	<div class="contentdiv">
	Content 3 Here.
	</div>
	
	</div>
	
	<div id="paginate-slider1" class="pagination">
	
	</div>
	
	<script type="text/javascript">
	
	featuredcontentslider.init({
	id: "slider1", //id of main slider DIV
	contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax",  	"path_to_file"]
	toc: "#increment", //Valid values: "#increment", "markup", ["label1",  	"label2", etc]
	nextprev: ["Previous", "Next"], //labels for "prev" and "next" links. Set to  	"" to hide.
	enablefade: [true, 0.2], //[true/false, fadedegree]
	autorotate: [true, 3000], //[true/false, pausetime]
	onChange: function(previndex, curindex){ //event handler fired whenever  	script changes slide
	//previndex holds index of last slide viewed b4 current (1=1st slide,  	2nd=2nd etc)
	//curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc)
	}
	})
	
	</script>
Shri Krishna Technologies is offline  
Closed Thread


Bookmarks

Tags
content, jquery, ning, slider


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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 05:04 PM.