protected void tutorialLinkButton_Click(object sender, EventArgs e) { /* if(Request.Cookies["StudentMode"]!=null) * { * if (Request.Cookies["StudentMode"].Value == "Preview" || Request.Cookies["StudentMode"].Value == "Study") * { * // tutorial.Attributes["FrameBorder"] = "0"; * // tutorial.Attributes["src"] = "subscribe.htm"; * // MainMultiView.SetActiveView(tutorialView); * AnimationLinkButton_Click(sender, e); * return; * } * } * else * return; * */ if (quizName.Text.Contains("Addition")) { tutorial.Attributes["src"] = "Tutorials/Addition.htm"; } else if (quizName.Text.Contains("Subtraction")) { tutorial.Attributes["src"] = "Tutorials/Subtraction.htm"; } else if (quizName.Text.Contains("Remainder")) { tutorial.Attributes["src"] = "Tutorials/Division.htm"; } else { tutorial.Attributes["src"] = "Tutorials/Multiplication.htm"; } MainMultiView.SetActiveView(tutorialView); }
protected void AnimationLinkButton_Click(object sender, EventArgs e) { /* if (Request.Cookies["StudentMode"] != null) * { * if (Request.Cookies["StudentMode"].Value == "Preview" || Request.Cookies["StudentMode"].Value == "Study") * { * animationLabel.Visible = false; * anime.Attributes["src"] = "subscribe.htm"; * MainMultiView.SetActiveView(animationView); * return; * } * } * else * return; */ if (quizName.Text.Contains("Addition")) { anime.Attributes["src"] = "Animations/Addition/anime.html"; } else if (quizName.Text.Contains("Subtraction")) { anime.Attributes["src"] = "Animations/Subtraction/anime.html"; } else if (quizName.Text.Contains("Remainder")) { anime.Attributes["src"] = "Animations/Division/anime.html"; } else { anime.Attributes["src"] = "Animations/Multiplication/anime.html"; } MainMultiView.SetActiveView(animationView); }
protected void VideoLinkButton_Click(object sender, EventArgs e) { //if (VideoLinkButton.Text == "View Video") // VideoLinkButton.Text = "Comming Soon.."; //else // VideoLinkButton.Text = "View Video"; //if (quizName.Text.Contains("Addition")) // video.Attributes["src"] = "Videos/Addition/video.html"; //else if (quizName.Text.Contains("Subtraction")) // video.Attributes["src"] = "Videos/Subtraction/video.html"; //else if (quizName.Text.Contains("Remainder")) // video.Attributes["src"] = "Videos/Division/video.html"; //else video.Attributes["src"] = "Videos/Videos.htm"; MainMultiView.SetActiveView(videoView); }
protected void VideoLinkButton_Click(object sender, EventArgs e) { if (quizName.Text.Contains("Addition")) { video.Attributes["src"] = "Videos/Addition/video.html"; } else if (quizName.Text.Contains("Subtraction")) { video.Attributes["src"] = "Videos/Subtraction/video.html"; } else if (quizName.Text.Contains("Remainder")) { video.Attributes["src"] = "Videos/Division/video.html"; } else { video.Attributes["src"] = "Videos/Multiplication/video.html"; } MainMultiView.SetActiveView(videoView); }
protected void QuizLinkButton_Click(object sender, EventArgs e) { MainMultiView.SetActiveView(quizView); }