Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to make 'more_examples' work out of the box #101

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions more_examples/services/service.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?
<?php

$action = $_REQUEST["action"];
switch($action){
case "1":
Expand All @@ -10,7 +11,7 @@

function getContent(){
//sleep(1);
$step_number = $_REQUEST["step_number"];
$step_number = $_POST["step_number"];
$html = '<h2 class="StepTitle">Step '.$step_number.' Content</h2>';
if($step_number == 1){
$html .='<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit,
Expand Down
8 changes: 4 additions & 4 deletions more_examples/smartwizard2-ajax.htm
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Smart Wizard 2 - Ajax Contents Example - a javascript jQuery wizard control plugin</title>
<link href="styles/demo_style.css" rel="stylesheet" type="text/css">
<link href="../styles/demo_style.css" rel="stylesheet" type="text/css">

<link href="styles/smart_wizard.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/jquery.smartWizard.js"></script>
<link href="../styles/smart_wizard.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../js/jquery-2.0.0.min.js"></script>
<script type="text/javascript" src="../js/jquery.smartWizard.js"></script>

<script type="text/javascript">
$(document).ready(function(){
Expand Down
8 changes: 4 additions & 4 deletions more_examples/smartwizard2-validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Smart Wizard 2 - Step Validation Example - a javascript jQuery wizard control plugin</title>
<link href="styles/demo_style.css" rel="stylesheet" type="text/css">
<link href="../styles/demo_style.css" rel="stylesheet" type="text/css">

<link href="styles/smart_wizard.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/jquery.smartWizard-2.0.min.js"></script>
<link href="../styles/smart_wizard.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../js/jquery-2.0.0.min.js"></script>
<script type="text/javascript" src="../js/jquery.smartWizard-2.0.min.js"></script>

<script type="text/javascript">

Expand Down