effect

Run function/effect once then stop

Hey all, I am trying to find a way using jquery without cookies to display a block and click it to hide() and not show again. It is a temporary under construction div on my page. Is there anyway to click it to close, which is easy enough using jQuery, then not have it load again? For it won't on the other pages? Thanks, Ryan ...

jQuery UI slide effect on mouseenter

I've been at this for a couple of days now, so any help would be much appreciated. I've got a link which contains two divs sitting on top of each other. The top div is hidden, but slides in to partially cover the bottom div on mouseenter, and then out again on mouseleave. It is working to a degree, but is a bit buggy. This is what I have...

How to disable the default open menu effect in Flex?

By default in Flex 3.2, clicking on an item in a MenuBar navigator results in a menu rolling out over a small period of time. How would I disable this and make the menu pop out instantly? Thanks! ...

3D Wall effect with WPF

I am going to implement the 3D Wall effect with WPF, could you recommend some good website where can download some 3D effect samples with WPF, then I can study it. Thanks. ...

RichFaces: Displaying a notification "popup" when AJAX operation succeeded

We are currently developing a B2B web shop based on Java EE 5, JSF, Facelets and RichFaces. The technology has really worked very well so far, but now I am facing a small problem I just can't figure out how to solve: Products are listed as tables, where every item can be added to the shopping basket by clicking on a small icon at the en...

Blurring fisheye effect on a vertical text menu

I'm searching for existing scripts that will animate a vertical text menu by blurring text and zooming it according to the mouse pointer. I'm trying to accomplish these actions: 1. OS X-like movement on mouse hover that can 'zoom' the text in and out 2. In an un-focused state, the text would be blurred 3. When a user moved their point...

How To Draw a Model in XNA with the BasicEffect

I want to draw a Model in XNA. I've gona ahead and produced it in Blender and Exported it to fbx File Format so the Content Pipeline can work with it. What code should I add to the Draw() method of my WindowsGame() ? I've tried the Following but All I get is a gray screen (Gray not Blue, which is the clear color, mind you) The Model is I...

jQuery : Replacing Fading with Sliding

I have the below script to hide the content of one div and show another $("#"+objCurrentDiv).fadeOut("slow",function(){ $("#"+objNewDiv).fadeIn("slow"); }); This is giving me the fading effect.Now i want to repalce the fade effect with sliding (left to right. I tried the slide in show method, but could not succeed. Can any one help ...

Jquery Effect Onunload

I would like to use the jquery slideUp effect when the user navigates away from the page just to make the page look cool as it closes. I assume that I should use the onunload event but how can I delay the page closing long enough for the effect to run to completion. One of the options that came to mind is effectively hijacking the page...

Windows Forms Textbox - fade-in/fade-out background color

I want to validate the user's input and I want to inform him/her about validation error with changing background color of a standard Windows Forms TextBox control. But instead of changing color immediately I would like to use a color fading effect, like here (click on input to see fade in effect, click again to fade out). Is there any ...

Draw drop shadow

Hi! I want to add a drop shadow to an image file. What's the best way to do that? I thought about creating a WPF Image control and adding a bitmap effect.. But how can I save the result to a file? Thanks, Eric ...

jQuery - Fading animation on hover

Hi! I have a little jQuery animation which fades in a link when hovering an : $(function() { $('.delete').hide(); $('#photos img').hover(function() { $(this).parents('li').children('.delete').fadeIn('fast'); }, function() { $(this).parents('li').children('.delete').fadeOut('fast'); }); }); But if I quickly mouse my mo...

Javascript Menu

I am working on a page, which has a link which reads "update". When users click this link, I would like a form to use a slide effect and appear underneath the link. When the form is submitted, it updates the db, and the menu vansihes. I know this can be done with javascript, but I am not sure how to implement it. Much thanks ...

Blind with jQuery

I'm trying to write a blind function that would close a DIV in a display:none mode. The unseen DIV is inside a wider DIV, containing the blind trigger. This: $(document).ready(function(){ $("#toggle_blind").click(function () { $(this).toggle("fast"); }); }); Well, this blinds the button. How can I add a DIV to $this? Som...

Toggling a blog post loop excerpts with jQuery

I'd like to reveal only post titles on my blog posts loop, and when the title is clicked -- the excerpt will appear below. So far I got this: $("#postTitle").click(function () { $("#postExcerpt").toggle(); Which works one the first result only. This, however: $("#postTitle").click(function () { $("#postExcerpt").next().toggle(); ...

Can I implement a callback with each animation step in jQuery?

I'd like to implement an animation in my site which: needs to update multiple DOM elements. each DOM element has it's own animation path (depends on their position) and still have an easing effect. If I call jQuery's animate() function for each element (with queue: false), it will make each element move slightly out of sync with the ...

Create fireflies in Javascript?

I want to create some randomly flying objects in a 3D game. You can imagine them like fireflies. Now there're some tasks to do with them, include: They usually fly randomly (of course). They can fly away or fly back in some conditions. I have to write some Javascript to do these things, but I don't know how to do. Can you help me? Th...

how to control browser resize

How to avoid the resizing of html elements while browser tries zoom it. ...

what type off jquery effect do I need to acomplish the same thing

Hello, I would like to know how this type off slider ,- the arrow next to the picture is sliding-, could be acomplished with jquery. I can see in firebug, that it is made with flash It does not seem to be overly complicated to acomplish it with jquery ,but that´s not saying that I already know. What would be the best way to do this ...

Best Rails/Ajax Effect/Animation Library

What javascript effect/ui libraries are the best that also have Rails helpers and all that? Which ones do you use. Seems like people use jQuery with either scriptaculous or yui for the interface elements... Is there anything that's particularly easy or best that's supported in a Rails gem or something similar that you recommend? ...