fade

Problem with jQuery's fade in/out in Firefox

I already asked here with no luck, but feel free to read it: http://groups.google.com/group/jquery-en/browse%5Fthread/thread/fdf7a584b30d4bb9 Hmm check out my site: http://www.crtaci.info/ on top-right position i have search field. When you move your mouse over there small text shows up that says: Napredna pretraga Now, for some re...

jQuery cross fading two images on a loop!

Hi, I am having trouble working out how to get a simple fade in fade out loop to work. I am pretty new to jQuery as you can maybe tell. I have had a go at it but now it’s taking too long to work out so I thought I would ask for some help. What I want to do: I have two Images, id's #img1 and #img2. I want image 1 to fadeIn then wait fo...

fade transition in iphone (forward and backwards)

Hey guys, I'm almost done coding my project and I have come across 1 to 2 problems with the fading. Here is what my code looks like CATransition *animation = [CATransition animation]; [animation setDuration:0.5]; [animation setType:kCATransitionFade]; [animation setSubtype:kCATransitionFromRight, kCATransitionFromLeft]; [animation se...

calling an animation?

I have placed the following code in my program CATransition *animation = [CATransition animation]; [animation setDuration:0.5]; [animation setType:kCATransitionFade]; [animation setSubtype:kCATransitionFromLeft]; [animation setTimingFunction:[CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut]]; [[th...

simple fade in and fade out

I have one view controller with a UIscrollview built in. There are a total of 42+ images and i'm trying to fade each image into the next I know i have to use something called "begin animation and commit animation." I have tried tirelessy to get this to work. Could someone post up the code for me here and have me attempt it one more tim...

Screensaver in C++ with fading image

How can I make a screensaver in C++ that fades an image in and out at random places on the screen with a specified time delay on the fade out? Multimonitor support would be awesome. If you have a working code or know where I can get it, it would be great. Otherwise point me in the right direction. I'm looking for a method that has a sm...

JQuery mouseout timeout

Similar problems have been dealt with before but I believe mine's slightly different owing to the use of the bind() function. Anyhow... $('.overlay').bind("mouseenter",function(){ $(this).fadeTo('slow', 0); }).bind("mouseleave",function(){ setTimeout(function() { $(this).fadeTo('slow', 1); }, 2000); }); I want to fad...

Fading Element on Scroll

I'm curious how I can create a DIV (or anything really) that I can fade (or change opacity of) when a user scrolls down the page. This DIV would sit at the top of the page, but only be clearly visible when at the very top of the page. Additionally, it would be ideal if I I could have this element fade back in onmouseover, regardless of ...

Stopping a jquery function from acting multiple times

I have a toggle fade effect but when you click the button multiple times it fades in and out more than once. (So if i click the fade id 20 times fast it will fade in and out multiple times) How would I stop this and make it so that you can only toggle the fade when the animation was done? I tried getting the current value and making a if...

Fading a JLabel that contains html

I can fade out a normal JLabel using a Timer, as follows: public static void main(String[] args) { JFrame frame = new JFrame(); // final JLabel label = new JLabel("<html><font color=red>Red</font><font color=blue>Blue</font>"); final JLabel label = new JLabel("Hello"); label.setOpaque(true); label...

Fade in/Fade out for MAAttachedWindow

I'm using Matt Gemmell's MAAttachedWindow (http://mattgemmell.com/source) with an NSStatusItem to display a custom view in the menu bar. I'm confused as to how to get it to fade in and fade out. Normally I'd do something like this: [window makeKeyAndOrderFront:self]; [[window animator] setAlphaValue:1.0]; and to fade out: [[window an...

How to programmatically alpha fade a textured object in OpenGL ES 1.1 (iPhone)

I've been using OpenGL ES 1.1 on the iPhone for 10 months, and in that time there is one seemingly simple task I have been unable to do: programmatically fade a textured object. To keep it simple: how can I alpha fade, under code control, a simple 2D triangle that has a texture (with alpha) applied to it. I would like to fade it in/out w...

Javascript: Fade in and out

Hello, i have this PHP based doc (chatbox) where you can type your message and send it. Now, i have this fade animation where a message comes in when a message is send. Looks like this: Javascript: function stateChanged1() { if (xmlHttp1.readyState==4) { document.getElementById("sent").innerHTML="Sent!"; document.writeform.message...

Best approach to slideup and tabs with jQuery

I'm creating a page with an image at the top, and a menu below. When the user clicks on on of the 3 menu buttons, the image slideUp and the page scrolls down so the menu is at the top of the page, then the right .content div fades in. The slideUp should only happen the first time the user clicks on of the buttons. What the absolute best...

Jquery hover fadeIn/fadeOut problem

http://www.izrada-weba.com/orso On mouseover on link "NENATKRIVENA TERASA..." submenu and image fade in together. Submenu is faded using some downloaded script and image above is fading using my code: $(document).ready(function () { $("#slika1").hide(); $("#test,#submenu2").hover( function () { $("#slika1").fadeIn(); ...

JavaScript: I'm looking for a lightweight background color (div) fader

Does anyone know of a lightweight (small file size) HTML background color fader? Something like the below pseudo-JavaScript fadeDiv('div_element_to_fade','hex_start_color','hex_end_color','speed_of_fade'); ...

Fx on Javascript: How to fade stuff, etc without frameworks?

Hi, I would like to learn how to do fade, and similar effects on Javascript. I often get answers, like why not use Jquery, mootools, etc ? Well, I want to learn how stuff works, then I wont mind using any of these frameworks. I'm currently learning about making changes on the DOM, so, I've read a lot of stuff on this theme. Also, I've ...

How to callback the button animation?

I found a nice menu which have a background image fade out, as shown here http://www.queness.com/post/411/create-an-attractive-jquery-menu-with-fadein-and-fadeout-effect But however when I rapidly mouse over the button for few times, it will keep animate non stop. I was informed that I need to add in a "callback". I'm not a javascript ...

jQuery fade not working in IE

http://bit.ly/Veyy5 If you view the above URL in FireFox and try to change any of the search parameters you'll see that the search results portion of the page fades to a low opacity and then fades back in once the results are received. In IE this doesn't fade at all. Any ideas? Thanks, Shawn ...

adding fade to jquery image replacement

Hello- Im creating a nav that uses jquery to replace the image on rollover. Here is the code I am using: http://peps.ca/blog/easy-image-rollover-script-with-jquery/ basically, you add a suffix (_o) to the filename and when you rollover the src, jquery replaces it with the (_o).png. I want to add fade so when there is a rollover, the ...