JQuery Fancy Transitions on Image

Your Ad Here

JqFancyTransitions is a jQuery plugin that allows you to create an image gallery with different transition effects between them.
To use it we have jQuery in the template so if you do not have it before </ head> add the library directamenete from Google:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"> </ script>

And below, the plugin, either by loading from a server where you have previously hosted:

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

or copy and paste the code and placing it between tags:

<script type="text/javascript">
//<![ CDATA [
... here copy and paste the contents of the file ...
//]]>
</ Script>


You do not need anything else, now, to use, we have several alternatives that we can see explained in the page developers but the simplest is to place the images in a DIV like this:

<div id=" migaleria ">
<img src="URL_image1" />
<img src="URL_image2" />
<img src="URL_image3" />
... and continue to add as many pictures as you want...
</ Div>


Then call the function:

<script> $ ('# migaleria'). jqFancyTransitions ({options}) </ script>

We have several galleries on the same page, each identified by an ID attribute different (in this example migaleria) and the options are parameters to be added separated by commas:

Width and height set the size
Effect is the type of transition and may be wave, zipper or curtain
Position is the position from where you start transción and may be alternate, top, bottom, alternate or curtain
Direction is the direction and may be fountainAlternate transción, left, right, alternate, random or fountain
Delay is the time delay remains the imaegn visible (default is 5000 or 5 seconds)
Strips is a number indicating the number of "pieces" in which the image desompone (default 20)
StripDelay is the time that remains visible each "piece" (default 50)

Other options let you control who can add text to images, placing them in the alt attribute:

<img src="URL_imagen1" alt="Text to show" />

TitleOpacity indicates the opacity of the text
TitleSpeed ​​is the time it takes to be shown

Alternatively, we can use images instead of links

<a href=" URL_imagen1 />

In that case, the options are two:

Navigation can be true or false and add navigation buttons.
Links can be true or false to set whether images are links or not.

In this example, the options used are the simplest and the function called this way:

<script> $ ('# migaleria'). jqFancyTransitions ({width: 640, height: 400, direction: 'random', delay: 2000, effect: 'wave'}); </ script>


Read More - JQuery Fancy Transitions on Image

Change the scroll bars with jQuery

Your Ad Here

JScrollPane is a jQuery plugin that allows us to give a visual aspect to the scroll bars of any element, something that Internet Explorer is very simple because it just use CSS but the other browsers has never been implemented, something rare and absurd but there is everything in this world.

To use it, we obviously need to load jQuery from the Google libraries so before </ head> :

<script src='http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js' /> <script type='text/javascript'

Here is an optional script that will allow us to use the mouse wheel:

<script type='text/javascript' src=' URL_mousewheel.js' />

and finally the plugin itself, either in its standard version or minimized:

<script type='text/javascript' src=' URL_jscrollpane.min.js' />

If you do not want to use external files, the latter two can be added directametne in the template:

<script type='text/javascript'>
//<![ CDATA [
/ / Here paste the contents of mousewheel.js
/ / Here paste the contents of jscrollpane.min.js
//]]>
</ Script>


Like everything else, requires its own rules of style so that it is added below the minimum required although there are more definitions if we use some of the options:

<style>
. JspContainer {
overflow: hidden;
position: relative;
}
. JspPane {position: absolute;}
. JspVerticalBar {
background-color: # 000;
height: 100%;
position: absolute;
right: 0;
top: 0;
width: 16px; / * defines the width of the vertical bar * /
}
. JspHorizontalBar {
background-color: # 000;
bottom: 0;
height: 16px; / * defines the height of the horizontal bar * /
left: 0;
position: absolute;
width: 100%;
}
. JspVerticalBar *,. JspHorizontalBar * {margin: 0; padding: 0;}
/ * These are the rules for configuring the plugin * /
. JspTrack {/ * is the box where you move the slider * /
background-color: # 000;
position: relative;
}
. JspDrag {/ * is the slider itself * /
background-color: # 888;
cursor: pointer;
left: 0;
position: relative;
top: 0;
}
. JspHorizontalBar. JspTrack. JspHorizontalBar. JspDrag {
float: left;
height: 100%;
}
</ Style>

With that everything is ready so that we can use it anywhere. To do so, just to define one or more classes, for example:

</ Style>
. Scroll-pane {height: 200px; overflow: auto; width: 100%;}
. Horizontal {height: auto; max-height: 200px;}
</ Style>


<div style="width: 500px;">
<div class="scroll-pane">
<p> ....... content through ... </ P>
</ Div>
</ Div>


<div style="width: 500px;">
<div class="scroll-pane horizontal">
<p style="width: 1000px;"> ....... content through ... </ P>
</ Div>
</ Div>

And call the function using the class that we defined:

<script type="text/javascript">
$ (Function () {$ ('. Scroll-pane'). JScrollPane ();});
</ Script>

The possibilities are multiple, in the developer page there are several explanatory demos which combines the bar, you add buttons, etc.

Read More - Change the scroll bars with jQuery

Fade Out Text Effect with jQuery

Your Ad Here

Text Fade Out is an idea of CSS-Tricks that uses jQuery to create a text-blurs, cutting at a certain height and adding a button to expand.
Obviously, you must have added the jQuery library before </ head> :

<script src='http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js' type='text/javascript'/>

And then the script with the effect is very short :

<script type='text/javascript'>
//<![ CDATA [
$ (Function () {
var $ a, $ ps, $ up, totalHeight;
$ (" . textfadeout-demo. textfadeout-button . ") click (function () {
totalHeight = 0
$ A = $ (this);
$ P = $ el.parent ();
$ Up = $ p.parent ();
$ Ps = $ up.find ("p: not (' . textfadeout-more ')");
$ Ps.each (function () {totalHeight + = $ (this). OuterHeight ();});
$ Up.css ({"height": $ up.height (), "max-height": 9999})
. Animate ({"height": totalHeight});
$ P.fadeOut ();
return false;
});
});
//]]>


</ Script>

Finally, the CSS that refers to the defined classes that can have different styles and with very few additions, should work on any browser, including Internet Explorer:


<style>
. Textfadeout-demo {/ * is the rectangular container * /
background-color: # 505961;
color: # EEE;
max-height: 150px; / * this sets the height * /
overflow: hidden; / * and say that "court" there, hiding the restenosis * /
padding: 20px;
position: relative;
width: 300px;
}
. Textfadeout-demo. Textfadeout-more {/ * the bottom gone * /
background-image:-moz-linear-gradient (top, transparent, # 101921)
background-image:-webkit-gradient (linear, left top, bottom left, color-stop (0, transparent), color-stop (1, # 101921));
filter: progid: DXImageTransform.Microsoft.gradient (startColorStr = '# 00101921', EndColorStr = '# FF101921')
bottom: 0;
left: 0;
padding: 30px 0;
position: absolute;
text-align: center;
width: 100%;
}
. Textfadeout-button {/ * the button to expand * /
border-top: 1px solid # 96D1F8;
background: # 65A9D7;
background:-moz-linear-gradient (top, # 3E779D, # 65A9D7)
background:-webkit-gradient (linear, left top, left bottom, from (# 3E779D) to (# 65A9D7));
filter: progid: DXImageTransform.Microsoft.gradient (startColorStr = '# FF3E779D'; EndColorStr = '# FF65A9D7');
padding: 5px 10px;
text-decoration: none;
-Moz-border-radius: 8px;
-Webkit-border-radius: 8px;
border-radius: 8px;
-Moz-box-shadow: rgba (0,0,0,1) 0 1px 0;
-Webkit-box-shadow: rgba (0,0,0,1) 0 1px 0;
box-shadow: rgba (0,0,0,1) 0 1px 0, rgba (0,0,0,90) 0 0 10px, rgba (0,0,0,90) 0 0 20px, rgba (0, 0,0,90) 0 0 30px;
text-shadow: rgba (0,0,0, 4) 0 1px 0;
}
. Textfadeout-button: hover {
border-top-color: # 28597A;
background: # 28597A;
color: # CCC;
}
. Textfadeout-button: active {
border-top-color: # 1B435E;
background: # 1B435E;
}
</ Style>

Already, now we use the three classes defined to create the HTML:


<Div class = " textfadeout-demo ">
<p> ....... the text to display ....... </ P>
<P class = " textfadeout-more "> <a href =" # "class =" textfadeout-button "> read more </ a> </ p>
</ Div>

Example :
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Typi non habent claritatem insitam; est usus legentis in iis qui facit eorum claritatem. Investigationes demonstraverunt lectores legere me lius quod ii legunt saepius. Claritas est etiam processus dynamicus, qui sequitur mutationem consuetudium lectorum. Mirum est notare quam littera gothica, quam nunc putamus parum claram, anteposuerit litterarum formas humanitatis per seacula quarta decima et quinta decima. Eodem modo typi, qui nunc nobis videntur parum clari, fiant sollemnes in futurum.



Read More - Fade Out Text Effect with jQuery

Make Money Online Guide

Your Ad Here

Make money online with a variety of popular forms such as money-click (PTC), to offer, selling online, make money with a blog site. But is now making money online forms most popular are: make money with each click is referred to PTC. Because this method is simple and easy to understand for everyone.

To embark on making money with PTC you need to prepare:
Online payment account to receive wages. 2 bank online payment registration is easy paypal and Alertpay. Just what is a fully registered. After you have your online account to register the money with PTC sites. (to do with prestige PTC sites before they have time to add other pages) I refer here to two pages leading prestigious and private companies that sponsor and neobux onbux.

After registration and must follow the instructions you will wonder how to earn up to $ 10,000 per month as of receipt of money I gave up.

Note: Each PTC site everyday you take only 5 minutes to complete the job. and to do every day to receive regular commissions. days that you do not do it on a commission that will not dc calculation. every day you have to click all 4 ads.
you should do about 5 to 10 pages at a PTC. but the priority for the prestige, the PTC page and other pages to do before they do the following.
to make multiple pages when you withdraw money from them and invest extra money to go to the best profits can increase rapidly.

Read More - Make Money Online Guide