effects

how to specify to only apply jquery effect parameters based on div?

Ok here is what I am trying to do. I have a few effects I want to apply to several different div containers. Lets say I have a slide effect and a fadeTo effect. Rather then specifying what the div class/id is in the JS code, I would prefer to just be able to apply the effect by just giving the div a custom tag or an additional id/class....

Jquery - slideleft, code not working?

Title is descriptive, what is wrong with this code and why? <script type="text/javascript"> $(document).ready(function() { $('#slideleft').mouseenter(function() { var $lefty = $(this).next(); $lefty.animate({ left: "-2000px" }, 500 ); }); }); </script> HTML <div id="slideleft" class="slide"> <...

jquery .animate different speeds

Hello, I am using the .animate function in Jquery. I have a div that slides over using marginLeft, but I also need it to fade in, but I need it to be slower than the marginLeft effect. With .animate, I can only seem to apply one speed parameter. <script type="text/javascript"> $(document).ready(function(){ $(".topFrameAnim").css("opa...

What kind of cool graphics algorithms can I implement?

I'm going to program a fancy (animated) about-box for an app I'm working on. Since this is where programmers are often allowed to shine and play with code, I'm eager to find out what kind of cool algorithms the community has implemented. The algorithms can be animated fractals, sine blobs, flames, smoke, particle systems etc. However...

jquery fill glass effect

I'm looking for a jqeury or javascript that fill up a glass of water. So when clicking on one button you add water to the glass and when clicking on another you remove water from the glass. Just wonder if someone already have written something like this that I can use. Thanks! ...

Pixel Shader Effect Examples

I've seen a number of pixel-shader effect examples, stuff like swirl on an image. But I'm wondering if anyone knows of any examples or tutorials for more practical uses of shader effects? I'm not saying that a swirl effect doesn't have it's uses, it's just that many of the examples I've found have the basic effect explained and don't g...

Using 3D Studio Max DirectX shader in XNA problem

UPDATE 2: It now appears this is more of a modelling issue than a programming one. Whoops. I'm new to XNA development, and despite my C# experience, I've been stuck at one spot for going on two days now. The situation: I've created a model in 3D Studio Max 2010 which uses two materials, both are of type DirectX Shader. The model export...

Excel picture tools format vba

In excel & word 2007 there is a picture tools tab that shows up in the ribbon when you insert a picture or clip art and there is the smart art. Is there a way to manipulate these objects and settings (e.g. transparency, position, effects etc) in vba. A macro doesn't seem to work for me either. ...

Prototype/Scriptaculous Toggle Queue

I want to achieve an effect on a certain div with scriptaculous that does the following: The div will blindUp. After that effect is complete, the contents of the div will change. The div will then blindDown with the new contents. So I know there is the effect queue which is awesome, but how can the contents only after the blindUp eff...

Flex circular ripple effect

I am wanting to create a circular water ripple effect in Flex. Does anyone know of an example, source code, or have a general idea of how they would accomplish this? ...

How To: show color option in FontDialog with no underline and strikeout options.

Hi All, I am using FontDialog control in vb.net application. When I set its ShowColor property to true, it shows me StrikeOut, Underline and Color option under Effects group. I need only color from these three. Is there any way to hide Strikeout and underline effects, so that only Color option will be visible. Thanks in advance for any k...

How do I wait for the slideToggle to complete before executing code?

I want to wait for the slideToggle effect to complete before executing the if statement and the fadeIn effect. div_to_move = $(this).parents("div.kind_div"); div_to_move.slideToggle(); if ($(this).html() == "+") { $(this).html("-"); $("div.kind_to", td).append(div_to_move); } else { $(this).html("+") $("div.kind_from", ...

making a rotating or swing effect with scriptaculous shake?

I am trying to have an effect when moused over, the item does not shake from side to side, but slides sort of like a clock pendulum rotating from 180-90 degreeds (or whatever, I can't remember the exact numbers right now). Is this possible with scriptaculous or another js library? ...

JQuery - IE6 - How to FadeOut and FadeIn simultaneously ?

I have a sequence of position absolute div, say <div>...</div> <div style="display:none">...</div> <div style="display:none">...</div> <div style="display:none">...</div> I wrote a simple slide code using jQuery currentDiv.fadeOut('slow'); nextDiv.fadeIn('slow'); It works perfectly in FF/Chrome/Safari/IE7/IE8, but not in IE6. I fou...

How to apply an effect of dimmed semi-opacity to a WPF window?

When showing a progress bar over WPF window during some process, I would like the rest part of the window gets semi-visible, maybe with some color blend. How is it possible to achieve such effect? ...

How to show progress animation without knowing percentage of its completeness?

In a WPF application I need to show user that some process is in progress and one should wait. I don't need to show particular percentage of completeness of this process, moreover, I don't exactly know it. What is the way to do it? Some special settings of the progress bar or maybe there are other common ways to show animation of this k...

Cannot make FadeIn and FadeOut act synchronously?

Hi guys, I'm trying to use jquery to animate between two images, fading one out then fading the other in. However, I cannot get them to act syncronously, the fadeIn() always gets called before the fadeOut() is complete: $(function() { var tabContainers = $('#tabwrap > div'); var listItems = $('#tabwrap ul.tabna...

How to show each div, one by one on jquery?

Hey, i wan't to make a cool effect on my page, and i'm thinking, how about to hide everything while loading and show each div with effect one by one? if its a bad idea, can you help me with a better idea? EDIt: Using the $("div").each() jQuery function. EDIT2: Children by children. EDIT3: <div id="loader"><table cellpadding="0" cellsp...

pitchbend (varispeed) audio with iPhone SDK's AudioUnit

hi, I'm trying to manipulate the speed (and pitch) of a sound while playing. so i played around with iphone sdk's AudioUnit. downloaded iPhoneMultichannelMixerTest and tried to add an AUComponent to the graph (in this case a formatconverter). but i get (pretty soon) following error when building: #import <AudioToolbox/AudioToolbox.h> ...

How do I create the text like this website? (css/javascript)

http://posterous.com/ If you look on the very bottom/right there is "API, Privacy, Terms" They are "shadowed" text. And they have this indentation in them. Is there an easy open-source way to do this? ...