facebook

Difference between jquery for HTML and mobione?

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

    Mjx9
    Member

    Hello,

    I have been trying to figure out how to use jquery on mobione so I can learn how to make my on combo generator for specific words that martial arts trickers can understand. So far, I have gotten no where. There are two problems that occur:

    1. I don’t know how to make a random word generator (based on an array of words of my own choosing) because there I no set way. I don’t know any functions besides: “if”, “var”, and “eq”.

    2. The stuff I am learning for jquery (which I am learning from YouTube) has only taught me how to show it in an HTML document. Someone may say they are the same but when I use the TC I can’t understand anything. I mean look at this mess!:

    var m1Design = function() { m1Design = {}; (function() {var c="0px";var f="1000";var g="5px";var h="9px";var i="Created by MobiOne Studio - Free Trial";var j="Helvetica";var k="Trickadex_Combo_Generator";var l="a";var m="absolute";var n="appendChild";var o="body";var p="color";var q="createElement";var r="document";var s="e0";var t="e1";var u="e10";var v="e11";var w="e12";var x="e13";var y="e14";var z="e15";var A="e16";var B="e17";var C="e18";var D="e19";var E="e2";var F="e20";var G="e21";var H="e22";var I="e23";var J="e24";var K="e25";var L="e26";
    var M="e27";var N="e28";var O="e29";var P="e3";var Q="e30";var R="e31";var S="e32";var T="e33";var U="e34";var V="e35";var aa="e36";var W="e37";var X="e38";var ba="e39";var ca="e4";var da="e40";var Y="e41";var ea="e42";var fa="e43";var Z="e7";var ga="fontFamily";var ha="fontSize";var ia="href";var ja="http://genuitec.com/mobile/buy.html";var ka="innerText";var la="m1-";var ma="m1-Trickadex_-_Combo_Generator-back1";var na="m1-Trickadex_-_Combo_Generator-push1";var oa="m1-Trickadex_-_Combo_Generator-text1";
    var pa="m1-Trickadex_-_Combo_Generator_-_options-combobox1";var qa="m1-Trickadex_-_Combo_Generator_-_options-combobox2";var ra="m1-Trickadex_-_Combo_Generator_-_options-text1";var sa="m1-Trickadex_-_Combo_Generator_-_options-text10";var ta="m1-Trickadex_-_Combo_Generator_-_options-text11";var ua="m1-Trickadex_-_Combo_Generator_-_options-text2";var va="m1-Trickadex_-_Combo_Generator_-_options-text4";var wa="m1-Trickadex_-_Combo_Generator_-_options-text6";var xa="m1-Trickadex_-_Combo_Generator_-_options-text8";
    var ya="m1-Trickadex_-_Combo_Generator_-_options-text9";var za="m1-Trickadex_-_Combo_Generator_-_options-toggle1";var Aa="m1-Trickadex_-_Combo_Generator_-_options-toggle2";var Ba="m1-Trickadex_-_Combo_Generator_-_options-toggle4";var Ca="m1-Trickadex_-_Combo_Generator_-_options-toggle6";var Da="m1-Trickadex_-_Combo_Generator_-_options-toggle8";var Ea="m1-Trickadex_-_Combo_Generator_-_options-toggle9";var Fa="m1-comp";var Ga="m1-comp2";var Ha="m1-comp3";var Ia="m1-comp4";var Ja="m1-comp5";var Ka="m1-comp6";
    var La="position";var $="px";var Ma="red";var Na="right";var Oa="style";var Pa="top";var Qa="zIndex";var Ra=function(e){return la+e};
    var Xa={"Trickadex_Combo_Generator":{"id":k,"anchor_id":"#m1-Trickadex_Combo_Generator","resize":function(e,d){var a;var b={};var Sa;a=b[E]={w:e,h:d,py:0};try{a=b[s]={w:0,h:0,py:0,p:b[E]};a.w=Math.max(a.p.w,0);a.h=43;a.p.py+=43}catch(Ta){}try{a=b[t]={e:document.getElementById(na),w:0,h:0,py:0,p:b[s]};a.w=100;a.e.style.height=30+$;a.e.style.top=Math.max(a.p.h-36,0)-a.p.py+$;a.h=30;a.p.py+=30}catch(Ua){}try{a=b[P]={e:document.getElementById(ma),w:0,h:0,py:0,p:b[s]};a.w=60;a.e.style.height=30+$;a.e.style.top=
    Math.max(a.p.h-36,0)-a.p.py+$;a.h=30;a.p.py+=30}catch(Va){}try{a=b[ca]={e:document.getElementById(oa),w:0,h:0,py:0,p:b[s]};a.e.style.width=86+$;a.e.style.left=Math.max((a.p.w-86)*0.5,0)+$;a.w=86;a.e.style.height=29+$;a.e.style.top=Math.max(a.p.h-36,0)-a.p.py+$;a.h=29;a.p.py+=29}catch(Wa){}}},"Trickadex_Combo_Generator_options":{"id":"Trickadex_Combo_Generator_options","anchor_id":"#m1-Trickadex_Combo_Generator_options","resize":function(e,d){var a;var b={};var Sa;a=b[w]={w:e,h:d,py:0};try{a=b[Z]=
    {w:0,h:0,py:0,p:b[w]};a.w=Math.max(a.p.w,0);a.h=108;a.p.py+=108}catch(Ta){}try{a=b[u]={w:0,h:0,py:0,p:b[Z]};a.w=Math.max(a.p.w,0);a.h=44;a.p.py+=44}catch(Ua){}try{a=b[v]={e:document.getElementById(ra),w:0,h:0,py:0,p:b[u]};a.w=43;a.e.style.height=23+$;a.e.style.top=Math.max((a.p.h-23)*0.4762,0)-a.p.py+$;a.h=23;a.p.py+=23}catch(Va){}try{a=b[x]={e:document.getElementById(za),w:0,h:0,py:0,p:b[u]};a.w=94;a.e.style.height=27+$;a.e.style.top=Math.max((a.p.h-27)*0.4706,0)-a.p.py+$;a.h=27;a.p.py+=27}catch(Wa){}try{a=
    b[y]={e:document.getElementById(Fa),w:0,h:0,py:0,p:b[x]};a.e.style.width=77+$;a.e.style.left=Math.max((a.p.w-77)*0.4706,0)+$;a.w=77;a.e.style.height=27+$;a.e.style.top=Math.max(a.p.h-27,0)-a.p.py+$;a.h=27;a.p.py+=27}catch(Ya){}try{a=b[z]={w:0,h:0,py:0,p:b[Z]};a.w=Math.max(a.p.w,0);a.h=44;a.p.py+=44}catch(Za){}try{a=b[A]={e:document.getElementById(ua),w:0,h:0,py:0,p:b[z]};a.w=51;a.e.style.height=23+$;a.e.style.top=Math.max((a.p.h-23)*0.4762,0)-a.p.py+$;a.h=23;a.p.py+=23}catch($a){}try{a=b[B]={e:document.getElementById(Aa),
    w:0,h:0,py:0,p:b[z]};a.w=94;a.e.style.height=27+$;a.e.style.top=Math.max((a.p.h-27)*0.4706,0)-a.p.py+$;a.h=27;a.p.py+=27}catch(ab){}try{a=b[C]={e:document.getElementById(Ga),w:0,h:0,py:0,p:b[B]};a.e.style.width=77+$;a.e.style.left=Math.max((a.p.w-77)*0.4706,0)+$;a.w=77;a.e.style.height=27+$;a.e.style.top=Math.max(a.p.h-27,0)-a.p.py+$;a.h=27;a.p.py+=27}catch(bb){}try{a=b[D]={w:0,h:0,py:0,p:b[w]};a.w=Math.max(a.p.w,0);a.h=88;a.p.py+=88}catch(cb){}try{a=b[F]={w:0,h:0,py:0,p:b[D]};a.w=Math.max(a.p.w,
    0);a.h=44;a.p.py+=44}catch(db){}try{a=b[G]={e:document.getElementById(va),w:0,h:0,py:0,p:b[F]};a.w=37;a.e.style.height=23+$;a.e.style.top=Math.max((a.p.h-23)*0.4762,0)-a.p.py+$;a.h=23;a.p.py+=23}catch(eb){}try{a=b[H]={e:document.getElementById(Ba),w:0,h:0,py:0,p:b[F]};a.w=94;a.e.style.height=27+$;a.e.style.top=Math.max((a.p.h-27)*0.4706,0)-a.p.py+$;a.h=27;a.p.py+=27}catch(fb){}try{a=b[I]={e:document.getElementById(Ha),w:0,h:0,py:0,p:b[H]};a.e.style.width=77+$;a.e.style.left=Math.max((a.p.w-77)*0.4706,
    0)+$;a.w=77;a.e.style.height=27+$;a.e.style.top=Math.max(a.p.h-27,0)-a.p.py+$;a.h=27;a.p.py+=27}catch(gb){}try{a=b[J]={w:0,h:0,py:0,p:b[D]};a.w=Math.max(a.p.w,0);a.h=44;a.p.py+=44}catch(hb){}try{a=b[K]={e:document.getElementById(wa),w:0,h:0,py:0,p:b[J]};a.w=116;a.e.style.height=23+$;a.e.style.top=Math.max((a.p.h-23)*0.4762,0)-a.p.py+$;a.h=23;a.p.py+=23}catch(ib){}try{a=b[L]={e:document.getElementById(Ca),w:0,h:0,py:0,p:b[J]};a.w=94;a.e.style.height=27+$;a.e.style.top=Math.max((a.p.h-27)*0.4706,0)-
    a.p.py+$;a.h=27;a.p.py+=27}catch(jb){}try{a=b[M]={e:document.getElementById(Ia),w:0,h:0,py:0,p:b[L]};a.e.style.width=77+$;a.e.style.left=Math.max((a.p.w-77)*0.4706,0)+$;a.w=77;a.e.style.height=27+$;a.e.style.top=Math.max(a.p.h-27,0)-a.p.py+$;a.h=27;a.p.py+=27}catch(kb){}try{a=b[N]={w:0,h:0,py:0,p:b[w]};a.w=Math.max(a.p.w,0);a.h=88;a.p.py+=88}catch(lb){}try{a=b[O]={w:0,h:0,py:0,p:b[N]};a.w=Math.max(a.p.w,0);a.h=44;a.p.py+=44}catch(mb){}try{a=b[Q]={e:document.getElementById(xa),w:0,h:0,py:0,p:b[O]};
    a.w=77;a.e.style.height=23+$;a.e.style.top=Math.max((a.p.h-23)*0.4762,0)-a.p.py+$;a.h=23;a.p.py+=23}catch(nb){}try{a=b[R]={e:document.getElementById(Da),w:0,h:0,py:0,p:b[O]};a.w=94;a.e.style.height=27+$;a.e.style.top=Math.max((a.p.h-27)*0.4706,0)-a.p.py+$;a.h=27;a.p.py+=27}catch(ob){}try{a=b[S]={e:document.getElementById(Ja),w:0,h:0,py:0,p:b[R]};a.e.style.width=77+$;a.e.style.left=Math.max((a.p.w-77)*0.4706,0)+$;a.w=77;a.e.style.height=27+$;a.e.style.top=Math.max(a.p.h-27,0)-a.p.py+$;a.h=27;a.p.py+=
    27}catch(pb){}try{a=b[T]={w:0,h:0,py:0,p:b[N]};a.w=Math.max(a.p.w,0);a.h=44;a.p.py+=44}catch(qb){}try{a=b[U]={e:document.getElementById(ya),w:0,h:0,py:0,p:b[T]};a.w=106;a.e.style.height=23+$;a.e.style.top=Math.max((a.p.h-23)*0.4762,0)-a.p.py+$;a.h=23;a.p.py+=23}catch(rb){}try{a=b[V]={e:document.getElementById(Ea),w:0,h:0,py:0,p:b[T]};a.w=94;a.e.style.height=27+$;a.e.style.top=Math.max((a.p.h-27)*0.4706,0)-a.p.py+$;a.h=27;a.p.py+=27}catch(sb){}try{a=b[aa]={e:document.getElementById(Ka),w:0,h:0,py:0,
    p:b[V]};a.e.style.width=77+$;a.e.style.left=Math.max((a.p.w-77)*0.4706,0)+$;a.w=77;a.e.style.height=27+$;a.e.style.top=Math.max(a.p.h-27,0)-a.p.py+$;a.h=27;a.p.py+=27}catch(tb){}try{a=b[W]={w:0,h:0,py:0,p:b[w]};a.w=Math.max(a.p.w,0);a.h=88;a.p.py+=88}catch(ub){}try{a=b[X]={w:0,h:0,py:0,p:b[W]};a.w=Math.max(a.p.w,0);a.h=44;a.p.py+=44}catch(vb){}try{a=b[ba]={e:document.getElementById(sa),w:0,h:0,py:0,p:b[X]};a.w=145;a.e.style.height=23+$;a.e.style.top=Math.max((a.p.h-23)*0.4762,0)-a.p.py+$;a.h=23;a.p.py+=
    23}catch(wb){}try{a=b[da]={e:document.getElementById(pa),w:0,h:0,py:0,p:b[X]};a.w=Math.max(a.p.w-248,0);a.e.style.height=20+$;a.e.style.top=Math.max((a.p.h-20)*0.5,0)-a.p.py+$;a.h=20;a.p.py+=20}catch(xb){}try{a=b[Y]={w:0,h:0,py:0,p:b[W]};a.w=Math.max(a.p.w,0);a.h=44;a.p.py+=44}catch(yb){}try{a=b[ea]={e:document.getElementById(ta),w:0,h:0,py:0,p:b[Y]};a.w=194;a.e.style.height=23+$;a.e.style.top=Math.max((a.p.h-23)*0.4762,0)-a.p.py+$;a.h=23;a.p.py+=23}catch(zb){}try{a=b[fa]={e:document.getElementById(qa),
    w:0,h:0,py:0,p:b[Y]};a.w=Math.max(a.p.w-248,0);a.e.style.height=20+$;a.e.style.top=Math.max((a.p.h-20)*0.5,0)-a.p.py+$;a.h=20;a.p.py+=20}catch(Ab){}}}};window["addEventListener"]("load",function(){var e=window[r][o];var d=window[r][q](l);d[ka]=i;d[ia]=ja;var a=d[Oa];a[La]=m;a[ga]=j;a[ha]=h;a[p]=Ma;a[Pa]=c;a[Na]=g;a[Qa]=f;e[n](d)});m1Design["css"]=Ra;m1Design["pages"]=Xa;m1Design["_resizing"]={};m1Design["softSpinnerEnabled"]=true;m1Design["shouldHideAddressBar"]=true;m1Design["root"]=function(){return k};})(); return m1Design; }();m1Design['actions']={'action3':function() { phoneui.back();
    ; },'action0':function() { phoneui.gotoPage('m1-Trickadex_Combo_Generator_options', 'SLIDE_LEFT');
    ; },'action2':function() { var ex; try { eval('alert("aerial>bs10>b-twist>boxcutter");'); } catch (ex) { console.log(ex); };
    ; }};m1Design['actions']['action1']=m1Design['actions']['action3']​

    I can’t read that!

    The only thing I know is that when I hit the button, an alert comes up with the words, “aerial>bs10>b-twist>boxcutter”. (I only know that for certain because in the mobione editor’s GUI I put it so that when you hit the button it come up with an alert and I just put those words there.

    My goal is to create a set of about 50 – 100 tricking words that will randomly pop up when you hit the alert button.

    So, for example, if I hit the button the first time it will say:
    “double full>pop flash>bs9>hook>jackknife”

    Then if I hit the button again, it will make a completely random new set of words like:

    “cheat900>sideswipe>raiz>corkscrew”

    I know it maybe difficult but I am not looking for a handout. (unless someone wants to give a handout.lol) I just want a start in the right direction.

    Like for starters:

    1. How can I test what I make in notepad++ to work on an object in mobione, by clicking on it?

    2. What is the best way to make a generator from an array of my own choicing of words?

    3. What are the functions to be able to manipulate iPhone buttons (like the item button, on/off button, or push button.

    Any small help in the right way would be greatly appreciated.

    Jaton Justice

    #334065 Reply
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Difference between jquery for HTML and mobione?

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