Reply
little help getting my moofx slide transition working
Old 10-08-2009, 09:08 AM little help getting my moofx slide transition working
Junior Talker

Posts: 2
Name: Matt
Trades: 0
thanks for looking in.

basically, im a bit of a copy and paste coder and i dont work on a massive amount of sites, but i have written a few small ones for mates.

the latest one is incorporating a few slick features which im sure you'll be familiar with, MooFX's slide transition.

you can see it in action on the next version of the sites frontpage
http://www.thesuninneskbank.co.uk/comingsoon/index.php

I've got the transition working and i've created some js which allows for next and previous buttons to change the background image behind the text. however i really wanted the transition to cause the text in the top left to change too. I've used the following code and it works on the first transition but not at all on any subsequent transitions.
Code:
    // When Horizontal Slide ends its transition, we check for its status
    // note that complete will not affect 'hide' and 'show' methods
    myHorizontalSlide.addEvent('complete', function() {
        if (status[myHorizontalSlide.open]) {
            $('horizontal_status').set('html', "Show Text")
        }else{
            $('horizontal_status').set('html', "Show Image")
        };
pretty sure this will be glaringly obvious for experts, so if you can see the issue please let me know.

im also a proper js noob, so any recommendations for good books are appreciated. any noob errors in the js files linked would love to know about them.
Matt
bytejunkie is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Reply     « Reply to little help getting my moofx slide transition working
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.09656 seconds with 13 queries