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)
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.
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.
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:
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.
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().
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() {
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?
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:
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
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.
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?
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?
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>
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);
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.