smart-wizard

outerHeight in Chrome giving wrong value, OK in IE and FireFox

南笙酒味 提交于 2020-12-12 17:50:29
问题 In the jquery.smartWizard plugin, there is a function called fixHeight which adjusts the height of a wizard step. This is used when a step is first displayed or when revealing hidden divs within the step. It works fine in IE (at least in IE 11 on Win8.1) and in FireFox. But, in the latest version of Chrome (Version 40.0.2214.94 m) the outerHeight is a much smaller value than it should be, by over 100 pixels or more. This is the function, out of the box: SmartWizard.prototype.fixHeight =

outerHeight in Chrome giving wrong value, OK in IE and FireFox

核能气质少年 提交于 2020-12-12 17:46:12
问题 In the jquery.smartWizard plugin, there is a function called fixHeight which adjusts the height of a wizard step. This is used when a step is first displayed or when revealing hidden divs within the step. It works fine in IE (at least in IE 11 on Win8.1) and in FireFox. But, in the latest version of Chrome (Version 40.0.2214.94 m) the outerHeight is a much smaller value than it should be, by over 100 pixels or more. This is the function, out of the box: SmartWizard.prototype.fixHeight =

outerHeight in Chrome giving wrong value, OK in IE and FireFox

隐身守侯 提交于 2020-12-12 17:44:20
问题 In the jquery.smartWizard plugin, there is a function called fixHeight which adjusts the height of a wizard step. This is used when a step is first displayed or when revealing hidden divs within the step. It works fine in IE (at least in IE 11 on Win8.1) and in FireFox. But, in the latest version of Chrome (Version 40.0.2214.94 m) the outerHeight is a much smaller value than it should be, by over 100 pixels or more. This is the function, out of the box: SmartWizard.prototype.fixHeight =

outerHeight in Chrome giving wrong value, OK in IE and FireFox

允我心安 提交于 2020-12-12 17:43:32
问题 In the jquery.smartWizard plugin, there is a function called fixHeight which adjusts the height of a wizard step. This is used when a step is first displayed or when revealing hidden divs within the step. It works fine in IE (at least in IE 11 on Win8.1) and in FireFox. But, in the latest version of Chrome (Version 40.0.2214.94 m) the outerHeight is a much smaller value than it should be, by over 100 pixels or more. This is the function, out of the box: SmartWizard.prototype.fixHeight =

updating model as user walks through wizard' steps

孤街浪徒 提交于 2020-01-15 11:43:30
问题 I'm going to use the SmartWizard jQuery plugin to create a wizard-like ASP.Net MVC application. The user will go through multiple steps to fill in data. [EDITED FOR CLARITY] Each step should be a Partial View. The ViewModel is common to all the Views: public class myViewModel { [Required] public int BM { get; set; } [Required] public int Cylindre { get; set; } } The first Partial View should show the field BM (of course I've simplified things here for clarity): @model MvcApplication3.Models

updating model as user walks through wizard' steps

半城伤御伤魂 提交于 2020-01-15 11:43:17
问题 I'm going to use the SmartWizard jQuery plugin to create a wizard-like ASP.Net MVC application. The user will go through multiple steps to fill in data. [EDITED FOR CLARITY] Each step should be a Partial View. The ViewModel is common to all the Views: public class myViewModel { [Required] public int BM { get; set; } [Required] public int Cylindre { get; set; } } The first Partial View should show the field BM (of course I've simplified things here for clarity): @model MvcApplication3.Models

Waiting for ajax response same function

◇◆丶佛笑我妖孽 提交于 2020-01-14 22:41:50
问题 I know that similar questions have been posted many times, however I've read many of them and can't find an answer to my problem. I have a function that waits for an ajax request response. Many of you will ask why? Well, I'm using a Wizard Jquery Plugin which executes a function onLeaveAStepFunction when a step is left, then the wizard goes to the selected step if the return value from onLeaveAStepFunction is true; else it remains in the same step. I'm doing this async: false for waiting and

How to go forward in smart wizard after ajax success

会有一股神秘感。 提交于 2020-01-06 03:04:10
问题 I want to go to the next step if the ajax call is successful, but i am not able to call the smart wizard methods inside the ajax call. My code is here. var wizard = $("#listing_wizard").smartWizard({onLeaveStep:stepSubmit}); //stepsubmit function stepSubmit(){ var that = this; //that.goForward ------- working here var step_no = this.curStepIdx+1; var form_data = $("#step_"+step_no+"_form").serialize(); $.ajax({ type:'post', url:"<?php echo URL_ADMIN ?>ajax.php", data:form_data, success

CSS floating issue being pushed to new line

半腔热情 提交于 2019-12-11 15:51:54
问题 Please see my jsfiddle example below. Can anyone figure out what I am doing wrong here? I am attempting to use a third party plugin called Smart Wizard it all works except for this one aspect as shown in the jsfiddle. The [X] is on a new line, it should be directly to the right of the error message. http://jsfiddle.net/jamesjw007/4wJv4/1/ 回答1: just add .content { width: 90%; float: left; } example fiddle: http://jsfiddle.net/4wJv4/9/ - Adjust the width of content element as you prefer 回答2:

All steps active in smartwizard 4

喜夏-厌秋 提交于 2019-12-07 13:11:46
问题 I've included smartwizard in the forms in my application, and it works great, during insert. However, during update, I want to show all steps visited, so that instead of clicking on the next button, the user can get directly to the tab s/he wants. How can I achieve that? I understand I may have to make changes in the _setEvents function in the main js file, i.e., jquery.smartWizard.min.js, but I can't seem to figure it out.. 回答1: Found the answer in anchorSettings. You add the anchorSettings