JQuery :: SlideDown Effect Like The One Possible With Mootools?
Apr 30, 2009
At the moment I am playing with jQuery a bit. Is it possible to get the same effect like the following one from Mootools with jQuery? Mootools: When using jQuerys slideDown effect you don't get exactly the same. On jQuery when you slide down some text. The text doesn't get created befor it slides in. (well it looks like that)
View 12 Replies
ADVERTISEMENT
Oct 26, 2010
I would like slideUp to show some text and slideDown to hide the text. Is this possible? If so, how do I do it?
View 2 Replies
View Related
Nov 5, 2011
Not sure if this is a problem or I just need some help. I would like to have a table cell be able to slide down smoothly. The problem is that to calculate the height to slide down, it formats the text to some width (looks like the width of the browser window) other than the actual width of the cell. When it goes to do the slide, it uses this calculated height, and then snaps to the actual height based on the real width of the cell (this can go either up or down).
I have a very simple example below. Click on the first text string. There is no CSS, so that's not the problem. The table has a width on it. If your browser window is wide enough, it slides smoothly. If you make it narrow enough to what might make it wrap an additional line of text, you'll see it slide down smoothly to the pre-calculated height and than snap to the actual height. In this example, it will snap up because the width set on the table is wider than the browser window.
If no width is set on the table, it scrolls smoothly as expected. But in real life, we need to control the width of columns. Hopefully there is some approach I can apply to make this slide smoothly.
[Code]...
View 1 Replies
View Related
Jun 29, 2009
I'm looking for a jQuery slideshow plugin that will be similar to this MooTools effect http:[url]...Doesn't need to have the play/pause controls but I really like the way how the images are zoomed/moved and couldn't find any plugin for jQuery that will do the same.
View 2 Replies
View Related
Nov 14, 2010
I have a simple mootools toogle script which show 1 div, while concealing others. Which works perfectly but its animation is very boring and simple..
JS:
Code JavaScript:
lastone='empty';
function showIt(lyr)
{
if (lastone!='empty') lastone.style.display='none';
[code]...
View 2 Replies
View Related
Mar 25, 2009
I'm really new to javascript and I was trying to create a sliding effect instead of fade, here is the original code.
// Dirty Toggle
function hide() {
$("#chat").fadeOut("fast");[code]....
View 6 Replies
View Related
Jul 15, 2011
I am having trouble accessing both the Class and the current element. How can I have access to both the current element and the Class?
// Class stuff above
fuction1 : function () {
myelements.addEvent('click', this.function2);
[code]....
View 6 Replies
View Related
Jun 8, 2011
I am seeking to change the color attribute in my CSS file under the ID's #realmaturesingles and #seniorpeoplemeet upon the hovering of these links. These two ID's are initialized inside an <a> tag (these are links). How can I do this with JavaScript? This is what I tried:
Code:
<script type="text/javascript">
$('#seniorpeoplemeet').FontEffect({
gradient:true,
mirror:true,
mirrorColor:"#CCC"
})
[Code]...
View 1 Replies
View Related
Apr 22, 2009
Im having a bit of trouble with the bounce show effect from jquery ui. To see what I mean, check out my development site. Anytime you modify a part in this computer builder, the rigth side gets updated. Right now its removing and adding list items. Problem is when click items too fast, the animation doesnt finish and the next item gets bumped lower and lower.
[Code]...
View 1 Replies
View Related
Jun 15, 2010
Banging my head against the wall here. I got a very simple script, 3 lines of code and trying to do one of the most basic things in jQuery, slideDown().
[Code]...
View 2 Replies
View Related
Aug 9, 2010
Is there anybody who can convert my function to jquery? It's a short function but I won't handle it by myself.
View 4 Replies
View Related
Jun 21, 2010
I am using scriptaculous effect in my script.
But it is giving following error.
Code:
It is giving Error Effect is not defined.
View 3 Replies
View Related
Jun 18, 2011
I have several divs that animate from the left when clicked on the appropriate button in the menu, all works well but I want the div to be about 10px in height when it moves to the right hand side of the screen then slide down to it's full height (351px). I can figure out a slidedown on it's own but can't work out how to combine both.[URL]
jQuery Code
(function($){
$.hideAllExcept = function(tabs,boxes){
function init() {
[code]....
View 1 Replies
View Related
Jan 9, 2010
I am using JQuery to perform the slideDown function with one of the divs.
$(document).ready(function() {
$("a:contains('Forgot')").click(function() {
$("#signuppanel").hide('slow', function() {
$("#signuppanel").slideDown('slow');
[Code]....
Once the signuppanel goes away and comes back, the formatting of the text in the panel is lost. The bold property of the font is lost. How come does it happen and how can it be avoided?
View 1 Replies
View Related
May 10, 2009
combine two jquery functions: after and slideDown.My code looks like this but it doesn't work :(
[Code]...
View 1 Replies
View Related
Apr 24, 2009
I have the following code:
$(document).ready(function() {
$('.artistspanel').hide();
$("#teamcontainer h2").click(function(){
[code]....
View 4 Replies
View Related
Jun 23, 2009
I am trying to slideUp a container Div and using the slideUp'scallback parameter call slideDown on a different element that is notinside the slideUp container Div:
$("#pageWrap").slideUp(1000, function(){
$("#externalform").slideDown(500);
$("#btn_uopBack").fadeIn(250);
[code]....
View 3 Replies
View Related
Mar 28, 2010
I developed my site using IE 8, and had no problems. However, after incorporating jQuery into my site, I found that it did not work with Firefox . Please tell me what I need to do fix it for FF
View 3 Replies
View Related
Jun 19, 2009
first of all I find it quite hard to find the right words for what I'm trying to achieve. I want the slidedown/slideup to do exactly the same but flipped 180°. A collapsed container should inflate up and not down.
View 2 Replies
View Related
Jan 24, 2011
I have a set up that uses slideDown on a division that is housing a table, and it's height in no explicitly set. In Firefox, slideDown() will slide too far, then jump back to where it should be. In Chrome, this behavior does not happen. I do not want to set a static height, as the contents are dynamically set.
Is there a reason for this issue, and can it be fixed?
View 2 Replies
View Related
Mar 11, 2010
So, I have this little script:
<script type="text/javascript">
$(document).ready(function(){
$("#contactLink").click(function(){
if ($("#contact-container").is(":hidden")){
$("#contact-container").slideDown("slow");
}
else{
$("#contact-container").slideUp("slow");
}
});
[Code]...
View 4 Replies
View Related
Oct 9, 2009
I'm trying to make a dropdown navigation menu with animated submenus.
Code JavaScript:
$(document).ready(function() {
$("#subnav .navigation > li").hover(
[code]....
View 1 Replies
View Related
May 25, 2009
How can I make something in jQuery slideDown without pushing things under it down? To take it out of the flow so it just overlays a slidedown like a typical dropdown menu? Can slideDown be used for that?
View 2 Replies
View Related
Feb 23, 2011
I have been trying in vain for many days to resolve a conflict between javascript libraries. My homepage uses jquery horizontal css menubar + a combined mootool and prototype accordian type sliding information box in the middle of the webpage. I find that the highlighter of the css menubar does not work when prototype.js is also loaded on the same page. I have read somewhere that $ should be replaced however I have tried every possible option and none works. I have jquery loading first as it is on my template, with this:
<script type='text/javascript' src='../Web/Templates/jquery-1.3.2.js'></script>
<script type='text/javascript' src='js/example.js'></script>
And my mootool and prototype loades further below like this:
<script type="text/javascript" src="scripts/intro/prototype.lite.js"></script>
<script type="text/javascript" src="scripts/intro/moo.fx.js"></script>
<script type="text/javascript" src="scripts/intro/moo.fx.pack.js"></script>
<script type="text/javascript">
function init(){
var stretchers = document.getElementsByClassName('box');
var toggles = document.getElementsByClassName('tab');
var myAccordion = new fx.Accordion(
toggles, stretchers, {opacity: false, height: true, duration: 600}
);
//hash functions
var found = false;
toggles.each(function(h3, i){
var div = Element.find(h3, 'nextSibling');
if (window.location.href.indexOf(h3.title) > 0) {
myAccordion.showThisHideOpen(div);
found = true;
}
});
if (!found) myAccordion.showThisHideOpen(stretchers[0]);
}
</script>
View 1 Replies
View Related
Jan 28, 2010
I am trying to use both jQuery and Mootools in one site I am building. I have researched the web including [URL] with no luck. I have tried loading jQuery after Motools with no luck. My research indicates mootools needs to go first. I have also tried below but that doesn't seems to work?
(function($){
// code with the jQuery $ can safely go in here
})(jQuery);
HTML Code:
[HIGHLIGHT="HTML4Strict"][highlight="HTML4Strict"]
<title>test</title>
<link rel="stylesheet" type="text/css" href="index.css" />
<script type="text/javascript" src="js/jquery-latest.js"></script><!-- jQuery -->
<script type="text/javascript" src="js/mootools.js"></script>
<script type="text/javascript" src="js/mootools-more.js"></script>
<script type="text/javascript">
window.addEvent('domready', function(){
//MooTools smoothScroll
var smoothScroll = new SmoothScroll({duration: 2800});
// MooTools .....
View 2 Replies
View Related
Feb 8, 2011
I have a conflict between Mootools (Slimbox) and jQuery (easyListSplitter). I can't get them to work together. I was reading about jQuery.noConflict();, but I find it quite complicated to implement.
View 2 Replies
View Related