Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 1580 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     Other Programming Languages :

Animating to a link in ajax?

Thread title: Animating to a link in ajax?
Reply    
    Thread tools Search this thread Display Modes  
03-09-2012, 02:50 AM
#1
BoyWonder is offline BoyWonder
Status: Member
Join date: Mar 2012
Location: Brooklyn, United States
Expertise: Programming
Software: Notepad++
 
Posts: 102
iTrader: 0 / 0%
 

BoyWonder is on a distinguished road

  Old  Animating to a link in ajax?

I want to make a sliding animation in jquery that will dynamically load another web page when the animation ends.

Reply With Quote
03-09-2012, 04:58 AM
#2
DDS is offline DDS
Status: Member
Join date: Jan 2011
Location: CT
Expertise: HTML/CSS
Software: Dreamweaver
 
Posts: 121
iTrader: 0 / 0%
 

DDS is on a distinguished road

  Old

http://api.jquery.com/animate/
If you think we are going to write this code for you..........
You'll be surprised what a google search can turn up.

It looks like the animation has a Complete Function....

05-30-2012, 01:26 PM
#3
Ant is offline Ant
Status: Member
Join date: Apr 2005
Location: England
Expertise:
Software:
 
Posts: 209
iTrader: 5 / 100%
 

Ant is on a distinguished road

  Old

You could use this kind of thing to send the window to a location upon finishing an animation.

The example here animates #container_to_animate when the element with id #clickme has been clicked.

Code:
$('#clickme').click(function() {

  $('#container_to_animate').animate({
    opacity: 0.25,
    left: '+=50',
    height: 'toggle'
  }, 300, function() {
    window.location = 'http://google.com';
  });

});

Reply    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed