effects

Highlighting columns on a WPF DataGrid as mouse moves

I wish to highlight the columns on a WPF datagrid as the mouse moves. Some of the problems I face are: Getting the coordinates of columns to test for when the mouse is over them Changing the background color of a column Any help will be much appreciated. ...

Effectively highlighting column and row on a DataGridView as mouse moves

I am trying to highlight the row and column which the mouse is on. Essentially this means to change the background color of all the appropriate cells. Currently I am trying to do this in the MouseMove event. However, this is causing slow performance. I was suggested to use WPF for better performance, however I do not wish to go that rou...

IE has trouble with jQuery fadeIn/fadeOut

I'm using the following function, called from document.ready(), to set a fadeIn/fadeOut effect on the top navigation of this page: http://bit.ly/dzVXB1 // Initialize the main menu's rollover behavior. function initNavMenu(fadeInTime,fadeOutTime){ $('#top-nav li').append('<div class="hover"></div>'); $('#top-nav li').hover( ...

Can I set an effect's duration as a percentage of its parent's?

When I'm building an composite animation, I'd like to specify the components as fractions of the parent, like so: <s:Sequence id="example" duration="2000"> <s:Fade alphaFrom="0" alphaTo="1" duration="10%"/> <!-- not legal --> <s:Scale scaleXTo="2" scaleYTo="2"/> <s:Fade alphaFrom="1" alphaTo="0" duration="10%"/> </s:Sequenc...

How many milliseconds do "slow", "normal", and "fast" represent in jQuery?

jQuery allows use of the string values "slow", "normal", and "fast" in animations (e.g.: $('#example').fadeOut('slow');). How many milliseconds do each of these values represent? ...

Jquery - Replace all show() and hide() with special ui effects (not hardcoded)

Hi, i only use the hide() and the show() method on my website. But some user want more effect's. Like the jquery UI (bounce, clip, slide). Is it possible to replace (not hardcoded) all hide() & show() methods with the (for example) "bounce" effect? So that the user can decide wich effect he want? Thanks in advance! Peter ...

What are some rarely used but cool CSS properties?

I have been using border-radius and box-shadow effects of moz and webkit. //For rounded corners -moz-border-radius:4px; -webkit-border-radius:4px; //For shadow effect -moz-box-shadow:2px 2px 5px #000; -webkit-box-shadow:2px 2px 5px #000; Anyother unknown css effects of moz and webkit. EDIT: I have got some more css properti...

Prototype and Ajax Search in Wordpress

So I got this code from http://www.elliotswan.com/2007/06/27/better-than-live-ajax-wordpress-ready-search-version-2/ and it works great for live search. The problem I'm having is that when a new search is made while there are results shown it should bindup the results, change to the new results, and then binddown the list of new results....

Implementing Wavy Blur and Fade Effect "Dialog" DIVs with jQuery

This might be a shot in the dark, but what the heck. It would make for an astounding effect in my website for a welcome message to new users. In Hollywood, some movies present text with a wavy blur-to-focus and simultaneous fade-in effect on text (and the entire book, actually), such as perhaps in a Harry Potter movie. I can't pin it do...

Apply byte[] effect in c#

Hello, I have a bitmap image and a byte[]. The byte[] contains an effect such as noise (in my case, byte[] contains custom effect). I want to apply this byte[] effect to the bitmap image and save the resulted bitmap. I have the BitmapData and byte[] but I don't know how to mix merge these together? Thanks Update: Well the byte[] con...

Canvas versus SVG animations (effects[filters] and performance)

I am developing an application that should run equally smoothly on a web browser (IE support completely optional) and on iPhones and have tested various libraries for days, including: jQuery SVG, CAKE (Canvas Animation Kit Experiment), Burst Engine, Processing.js and Raphael, and have yet to find the right one for this experiment. The ...

How to implement effects in Flex on components creation or removal

I have multiple MXML custom components that I add on the fly (using a repeater) that is binded to an ArrayCollection. So everytime I add/remove item from the ArrayColleciton new items show/disappear from the screen. Is there a straightforward way to make item fade in when they get created and fade out when they are removed? I thought of...

Output PNG images with transparency in PHP

How do you correctly output PNG images with PHP so their shading, and other transparent effects don't fail. seems to be outputting as ...is there a way so this doesn't happen? I merged two images together. <?php // Create image instances $dest = imagecreatefrompng('vinyl.png'); $src = imagecreatefromjpeg('cover2.jpg'); // Copy ...

PHP - Text fading effect?

Hey, I've been researching all over for this, basically I have a table that displays "eco'texthere';' after posting the data. How would I make the text fade in e.g. : Table ---> User Send data using submit button ---> displays back message "rotating data" ---> Now text fades in saying "sucessfully sent". (Mostly using echo in PHP). W...

PHP Photo Effects

I am working on a new site and would like it to be able to add effects to photos uploaded. (Blur, Pan, Swirl, Sparkle, Border, Frames, etc ) I would like the photo manipulation to be in PHP if possible. I need the user to be able to upload the photo, make the edits, then save the edited photo to their computer. This may be better as a...

QT4 How to blur QPixmap image?

QT4 How to blur QPixmap image? I am looking for something like one of the following: Blur(pixmap); painter.Blur(); painter.Blur(rect); What is the best way to do this? ...

Playing sound effect (CLICK/NAVIGATION_RIGHT) for button clicks - Android

Hello, I'm trying to use the playSoundEffect () method to play a sound effect when a button is clicked, but so far its' proved very difficult for some reason. I have defined the following. <ImageButton android:id="@+id/Button_flip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="FLIP!" android:src...

How to fade-in / fade-out a Java Graphics?

Hi all: Say if I have a Java Graphics object, and I want to draw a line or a rectangle on it. When I issue the command to draw, it appears on screen immediately. I just wonder how could I make this progress as a fade-in / fade-out effect, same as what you can achieve in Javascript. Any thoughts? Many thanks for the help and suggestio...

how to get the bookflip effect with java script

Finally I found the effect I was looking for. Sadly it is written as a java applet. Do you know how can I get the same effect with java-script? You can see the effect in the link bellow... it switches between pictures as though they where book pages: http://javaboutique.internet.com/BookFlip/ ...

WP7 help with menu effects

Kinda new to Silverlight and have some experience with WPF but I'm doing a project with a group for a class making a game for WP7. I am currently in charge of the menu system for the game and I had a few ideas for "flashy" menu transitions. I got some going for the main menu but I wanted to do something cool for the options submenu. Any...