Forum Replies Created

Viewing 15 posts - 16 through 30 (of 87 total)
  • Author
    Posts
  • #349199 Score: 1
    Profile photo of Math Notermans
    Math Notermans
    Member
    contributor
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    LUC16 Attendee
    LUC16
    wise owl
    curious george
    119 pts
    @mnotermans5114

    This can be caused by several things. To get actions working properly when using an image as button can be tricky. For sure the easiest way is using a transparant button with the actions showing / hiding the respective images on enter/exit. When you really insist on using the image as button ( i can think of scenarios where that would be preferred ) you can do that by using the change content action.

    1. Add both images to the title. Hide the over one.
    2. Add 2 actions to the image that needs to be the button
    3. Action1: Mouse Enter -> Change Contents
      Target: image1
      Resource:image2.png
    4. Action2:Mouse Exit -> Change Contents
      Target:image1
      Resource:image1.png

    This will work without stuttering.

    This post has received 1 vote up.
    #380073 Score: 1
    Profile photo of Math Notermans
    Math Notermans
    Member
    contributor
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    LUC16 Attendee
    LUC16
    wise owl
    curious george
    119 pts
    @mnotermans5114

    There is no failure, its just a process of constant learning. For all of us. I learn each day, not only by discovering things myself, but also by reading and helping here. Thats what i love most about elearning, as a developer you learn constantly too.

    This post has received 1 vote up.
    #304206 Score: 1
    Profile photo of Math Notermans
    Math Notermans
    Member
    contributor
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    LUC16 Attendee
    LUC16
    wise owl
    curious george
    119 pts
    @mnotermans5114

    Hi Laura,

    No problem, love helping out.

    The textblock has a class attached to it.

    Check properties… -> the little triangle right to Appearance.. and there you see the textblock has a class named ‘pointerCursor’ to it. In the included CSS file, ‘style.css’ is the appropriate css code to ensure that it changes on hover.

    .pointerCursor {
    cursor: -moz-zoom-in;
    cursor:-webkit-zoom-in;
    cursor: url(‘magIE.cur’), auto;
    }

    the first 2 lines with cursor make sure Firefox and Chrome behave well.
    the 3rd line with cursor point to the cur.file so IE works as supposed.

    Regarding your other questions. Yes, all possible. Just define what page element triggers the cursorchange and voila. I do think there is a crossbrowser code for a crosshair… so you can use that for all browsers..

     

    Kind regards,

    Math

     

    This post has received 1 vote up.
    #353305 Score: 1
    Profile photo of Math Notermans
    Math Notermans
    Member
    contributor
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    LUC16 Attendee
    LUC16
    wise owl
    curious george
    119 pts
    @mnotermans5114

    In this sample i show a solution for limiting the amount of decimals.

    Grocery shopping Store


    Happy Egghunt,

    Math

    This post has received 1 vote up.
    #316432 Score: 1
    Profile photo of Math Notermans
    Math Notermans
    Member
    contributor
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    LUC16 Attendee
    LUC16
    wise owl
    curious george
    119 pts
    @mnotermans5114

    On LUC2016 John showed a new feature in upcoming releases: One-Page-Publishing. That will kill the White Flash!

    This post has received 1 vote up.
    #415073 Score: 1
    Profile photo of Math Notermans
    Math Notermans
    Member
    contributor
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    LUC16 Attendee
    LUC16
    wise owl
    curious george
    119 pts
    @mnotermans5114

    As a workaround for this one:
    Allow selection of objects in separate groups from Title Explorer – can currently only select objects in different groups via the canvas

    You can select multiple objects in separate groups by freehand dragging a rectangle around the wanted objects in the stage-view. Offcourse this is limited, but sometimes its a workaround when selecting objects in separate groups.
    Doing it like this, you select all elements which bounding box falls completely within your drag-selection.

    This post has received 1 vote up.
    #349319 Score: 1
    Profile photo of Math Notermans
    Math Notermans
    Member
    contributor
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    LUC16 Attendee
    LUC16
    wise owl
    curious george
    119 pts
    @mnotermans5114

    %VAR(Question_Score)% might do the trick..

    As you say, changing content of a textfield removes all formatting. I solved that in several solutions by applying the formatting again after you changed content on a textfield…

    1. Change Content -> Target: sometextfield  -> Set Text ->Var(Question_Score)
      If you use GSAP-Tweenmax this works perfectly
    2.  TweenMax.set(sometextfield,{color:blue,fontSize:24,fontWeight:”bold”, fontFamily:”Arial”, textAlign:”left”});
      In fact you can tween/animate the formatting 😉
      If you dont use GSAP-Tweenmax use this..
      var tf = getSpanWithClass(“text39Font1”);
      tf.style.fontSize = “45px”;
      tf.style.fontColor = “#006400”;

      function getSpanWithClass(cssClass) {
      var elements = document.getElementsByTagName(‘span’);
      for (var i = 0; i < elements.length; i++) {
      if((‘ ‘ + elements[i].className + ‘ ‘).indexOf(‘ ‘ + cssClass + ‘ ‘) > -1) {
      return elements[i];
      }
      }
      }

    The function getSpanWithClass is a custom function i use a lot to get to the actual texts in Lectora… all dumpled in spans…

    This post has received 1 vote up.
    #385885 Score: 1
    Profile photo of Math Notermans
    Math Notermans
    Member
    contributor
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    LUC16 Attendee
    LUC16
    wise owl
    curious george
    119 pts
    @mnotermans5114

    Lets write that book together…

    This post has received 1 vote up.
    #306687 Score: 1
    Profile photo of Math Notermans
    Math Notermans
    Member
    contributor
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    LUC16 Attendee
    LUC16
    wise owl
    curious george
    119 pts
    @mnotermans5114

    Actually grouping actions into an action group is in a lot of cases better.
    Imagine you want to add some action to occur in the same line of events…
    Or want exact the same set of actions to happen on other parts of your project.
    In all these cases it works better to group actions into an actiongroup and call them alltogether with one action run_actiongroup. Also when you need a reset or undo option… copy the actiongroup, and reverse all the actions in it… and bingo you have a reset or undoGroup

    my 5 cents 😉

    Kind regards,

    Math

    This post has received 1 vote up.
    #401176 Score: 1
    Profile photo of Math Notermans
    Math Notermans
    Member
    contributor
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    LUC16 Attendee
    LUC16
    wise owl
    curious george
    119 pts
    @mnotermans5114

    17.1.3 introduced all kind of bugs for me too. Courses not publishing correctly if at all. Going back to 17.0.6 seems the only viable solution.

    This post has received 1 vote up.
    #323281 Score: 1
    Profile photo of Math Notermans
    Math Notermans
    Member
    contributor
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    LUC16 Attendee
    LUC16
    wise owl
    curious george
    119 pts
    @mnotermans5114

    I do not know what i did, but now its replacing my images in all views properly. Weird…

    This post has received 1 vote up.
    #369997 Score: 1
    Profile photo of Math Notermans
    Math Notermans
    Member
    contributor
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    LUC16 Attendee
    LUC16
    wise owl
    curious george
    119 pts
    @mnotermans5114

    Cornerstone has a setting to force IE to any version. Playing with the different settings there might solve this for you.

    This post has received 1 vote up.
    #419860 Score: 1
    Profile photo of Math Notermans
    Math Notermans
    Member
    contributor
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    LUC16 Attendee
    LUC16
    wise owl
    curious george
    119 pts
    @mnotermans5114

    Hi Ks,

    First you need some way to select the element. The function given returns the text of a textfield with
    the given css-class.

    var myText  = getText(“.someCssClass”);
    console.log(myText);

    The function and approach below dont use any extra libraries and still get the text of any given textfield:
    function getText(_cssClass){
    var elem = document.querySelector(_cssClass);// targets a textfield with class someTextfield
    var text = elem.textContent; // target the text content
    return text;
    };

     

    kind regards,
    Math

    This post has received 1 vote up.
    #387106 Score: 1
    Profile photo of Math Notermans
    Math Notermans
    Member
    contributor
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    LUC16 Attendee
    LUC16
    wise owl
    curious george
    119 pts
    @mnotermans5114

    Yes it is possible. Basically any Inspire version, you can use external javascript libraries to achieve what you want.
    With version 17 you can keep a page scenario and achieve it like you want using seamless play. With older versions..well you have to build a real one-page to hold all pages you use.

    Here you find a sample of a solution like that i made a while ago.

    One-page-Setup

    Kind regards,

    Math

    This post has received 1 vote up.
    #306778 Score: 1
    Profile photo of Math Notermans
    Math Notermans
    Member
    contributor
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    LUC16 Attendee
    LUC16
    wise owl
    curious george
    119 pts
    @mnotermans5114

    I will be there ( and at John Blackmons pre-conference session )

    This post has received 1 vote up.
Viewing 15 posts - 16 through 30 (of 87 total)

Math Notermans

Profile picture of Math Notermans

@mnotermans5114

active 4 hours, 8 minutes ago