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 8995691
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T23:39:13+00:00 2026-06-15T23:39:13+00:00

i have created a Windows 8 app using HTML & JavaScript. Here i want

  • 0

i have created a Windows 8 app using HTML & JavaScript.

Here i want to slide a div[contains two textbox and a button] from right side of the screen towards left.

hopes the question is clear.

  • 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-06-15T23:39:13+00:00Added an answer on June 15, 2026 at 11:39 pm

    Problem solved by using the following piece of code:

    CSS:
      position: fixed;  
      right: 0px;
      top: 0px;
      width: 308px;
      height: 100%;
      color: white;
      background-color: bisque;
      opacity: 0;
      z-index: 1;
    

    Then in JavaScript I have just set the opacity property to one.

    JS:
    
     (function () {
     "use strict";
     var page = WinJS.UI.Pages.define("/default.html", {
         ready: function (element, options) {
             btnname.addEventListener("click", togglePanelUI, false);
    
             myPanel = element.querySelector("#divname");        }     //div name is name of div which u wants to slide
     });
    
     var animating = WinJS.Promise.wrap();
     var myPanel;
     function togglePanelUI() {               // If element is already animating, wait until current animation is complete before starting the show animation.
         animating = animating
            .then(function () {
                // Set desired final opacity on the UI element.
                myPanel.style.opacity = "1";
    
                // Run show panel animation.
                // Element animates from the specified offset to its actual position.
                // For a panel that is located at the edge of the screen, the offset should be the same size as the panel element.
                // When possible, use the default offset by leaving the offset argument empty to get the best performance.
                return WinJS.UI.Animation.showPanel(myPanel);
            });
    
    }
    })();
    

    for more information regarding animations of windows 8, have a look at here

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

Sidebar

Related Questions

I am new to develop Windows 8 app using HTML/Javascript. I want to create/remove
I have created android phonegap app using html,css,javascript and jquery.When i hit the back
I have created a Quiz app for Android using the tutorial here: http://automateddeveloper.blogspot.co.uk/2011/06/getting-started-complete-android-app.html For
I have created an windows phone 7 app. I need to test it in
I have an app.Config that was created on the dev machine running Windows 7.
I have created a windows mobile application in Visual Studio. I want to templatize
I have created a Windows CE6 Image through Platform Builder, and I now want
I have created a Windows Store class library. This contains some user controls and
I have created an application in VS C# Express 2008 using Windows 7 as
I have created an OData/WCF service using Visual Studio 2010 on Windows XP SP3

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.