Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6900219
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:31:08+00:00 2026-05-27T07:31:08+00:00

I’m trying to achieve an effect of content sliding (and easing) in a menu

  • 0

I’m trying to achieve an effect of content sliding (and easing) in a menu button when it is clicked. It would be for a normal site with different content (gallery, portfolio, videos, etc) and submenus on some pages that would slide in.

I have learned about all the sliding plugins (like coda slider) that slide through pre loaded and hidden divs. but i have concerns that if i load the whole website on the first page, that just sound wrong. on the other hand doing it with iframes and loading in data with load() i’m unsure i can slide and ease the data in (like coda slider example 8).

has anyone done this before or had the same idea and wouldn’t mind sharing?
would be greatly appreciated!

http://www.ndoherty.biz/demos/coda-slider/2.0/#2

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T07:31:09+00:00Added an answer on May 27, 2026 at 7:31 am

    I am currently working on a similar feature for our api. I and loading a menu div with rows of links which pull ajax content into a”view” div, I then animate the menu away and then animate the view into the main iFrame. This was so easy to do so check out some of my javascript and html bellow. When I push this up i’ll come back and update the answer you you can have a dig around the finished product. Hope this helps.

    <!-- list all the available matches first -->
        <div id="MatchContainer">
            <div id="spinner"></div>
            <div id="matchesListHolder">
                <% if @matches %>
                    <% @matches.each do |match| %>
                        <%= render :partial => 'plugins/live/clubs/matches_list_item', :locals => {:match => match} %>
                    <% end %>
                <% else %>
                    There are currently no matches to display
                <% end %>
            </div>
            <div id="matchHolder">
    
            </div>
            <div id="closeMatchView">x</div>
        </div>
    

    The matchHolder is used to display the loaded and content and is given a -600px position so its hidden outside the top of the iFrame. Then I make a call to get the scorecard for a match

    $(function() {
    
        // click event fired to change to the match view window
        $('.matchLink').click(function(event) {
            if (!clicked) {
                clicked = true; // stop click reptition
                event.preventDefault();
                var live = ($(this).attr('live') == 'true') ? true : false;
                var matchId = Number($(this).attr('id'));
                $('#matchesListHolder').animate({top: -600}, 500, function() {
                    $(this).hide();
                    $('#spinner').show();
                    if (live) { 
                        displayLiveMatch(matchId);
                    } else {
                        displayMatch(matchId);
                    }
                });
            }
        });
    
        // click function on the close button when the match view window is open
        $('#closeMatchView').click(function() {
            closeMatchView();
        });
    
    });
    
    // display a scorecard for a finished match
    function displayMatch(id) {
        $.get('/plugins/matches/scorecard/' + id, function(response) {
            $('#matchHolder').empty().html(response);
            moveDownMatchHolder();
        });
    }
    
    // move down the match holder container into the iframe
    function moveDownMatchHolder() {
        $('#spinner').hide();
        $('#matchHolder').show().animate({top: 0}, 500, function() {
            $('#closeMatchView').show();
        });
    }
    
    // close the match view and re open the matches list
    function closeMatchView() {
        $('#closeMatchView').hide();
        clicked = false;
        $('#matchHolder').animate({top: -600}, 500, function() {
            $(this).hide();
            $('#matchesListHolder').show().animate({top: 0}, 500, function() {
    
            });
        });
    }
    

    All very loosely put together at the moment but I hope this gives you an indication of where to start and that it is possible to do it. Thanks.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I would like to count the length of a string with PHP. The string
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I am trying to render a haml file in a javascript response like so:
I have a French site that I want to parse, but am running into
I would like to run a str_replace or preg_replace which looks for certain words
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.