facebook

Changing images

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #331871 Reply

    mansilvcas
    Member

    Hello !! Thanks a lot for your support !!!

    One quick question related to an answer I was given the other day. When changing images in an image button I use this code:

    function updateImages01 (){
    $(‘#m1-Maka-image3’).css(‘-webkit-border-image’, ‘url(“0101.jpg” ) 1 1 1 1 stretch stretch’ );
    setTimeout(“hide()”, 10000); // 10 seconds
    }

    function hide(){
    document.getElementById(‘m1-Maka-image3’).style.display=”none”;
    }

    My problem now is that “Maka” is the name of the first screen, but what if the second screen is named “Maka1” and I want to change images there? Changing “Maka” for “Maka2” in the previous code does not work, also I have tried Maka-Maka2…

    Can you help?

    Thanks a lot !!!

    #331931

    Hi mansilvcas,

    Does your hide function work? It seems to be fine. I’ve used your line code as example and works fine, try changing ‘m1-Maka-image3’
    for ‘m1-Maka-image3’

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Changing images

You must be logged in to post in the forum log in