Staff en línea

[Resuelto] Sistema de Acordes Versión Movil (Guitarra)
Tema iniciado por y Añadir a favoritos

Buenos días, ya lo habíamos conversado en el tema anterior @Chalo generar la función de acordes para guitarra partiendo de este código

Código:
var post = document.getElementsByClassName("post-section"),
    a = "<a class=Ntoltipo>Do<span><IMG SRC='http://micuatro.com/cuatroblog/acordes/v2/c.jpg'></span></a>",
    b = "<a class=Ntoltipo>Dom<span><IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/cm.jpg'></span></a>",
    c = "<a class=Ntoltipo>Dom<span><IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v3/cm_iii.jpg'></span></a>",
    d = "<a class=Ntoltipo>Do<span><IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/c_ii.jpg'></span></a>",
    e = "<a class=Ntoltipo>Do7<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/c7.jpg'></span></a>",
    f = "<a class=Ntoltipo>Do#<span><IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/cs.jpg'></span></a>",
    g = "<a class=Ntoltipo>Do#m<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/csm.jpg'></span></a>",
    h = "<a class=Ntoltipo>Do#7<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/cs7.jpg'></span></a>",
    i = "<a class=Ntoltipo>Re<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/d.jpg'></span></a>",
    j = "<a class=Ntoltipo>Rem<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/dm.jpg'></span></a>",
    k = "<a class=Ntoltipo>Rem<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v3/dm_ii.jpg'></span></a>",
    l = "<a class=Ntoltipo>Re<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/d_ii.jpg'></span></a>",
    m = "<a class=Ntoltipo>Re#<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/ds_ii.jpg'></span></a>",
    n = "<a class=Ntoltipo>Re7<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/d7.jpg'></span></a>",
    ñ = "<a class=Ntoltipo>Re#<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/ds.jpg'></span></a>",
    o = "<a class=Ntoltipo>Rem#<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/dsm.jpg'></span></a>",
    p = "<a class=Ntoltipo>Reb<span><IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/cs.jpg'></span></a>",
    q = "<a class=Ntoltipo>Rebm<span><IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/csm.jpg'></span></a>",
    r = "<a class=Ntoltipo>Rem7<span><IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/dm7.jpg'></span></a>",
    s = "<a class=Ntoltipo>Re#7<span><IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/ds7.jpg'></span></a>",
    t = "<a class=Ntoltipo>Re#/Re<span><IMG SRC='http://i.imgur.com/WDHouo8.jpg'></span></a>",
    u = "<a class =Ntoltipo>Re#/Re<span><IMG SRC = 'http://i.imgur.com/3fh32DZ.jpg'></span></a>",
    v = "<a class=Ntoltipo>Mi<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/e.jpg'></span></a>",
    w = "<a class=Ntoltipo>Mim<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/em.jpg'></span></a>",
    y = "<a class=Ntoltipo>Mim<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/emt710.png'></span></a>",
    z = "<a class=Ntoltipo>Mip2<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/e_ii.jpg'></span></a>",
    A = "<a class=Ntoltipo>Mi7<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/e7.jpg'></span></a>",
    B = "<a class=Ntoltipo>Fa<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/f.jpg'></span></a>",
    C = "<a class=Ntoltipo>Fam<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/fm.jpg'></span></a>",
    D = "<a class=Ntoltipo>Fam<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v3/fm_ii.jpg'></span></a>",
    E = "<a class=Ntoltipo>Fam<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v3/fm_ii.jpg'></span></a>",
    F = "<a class=Ntoltipo>Fa<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/f_ii.jpg'></span></a>",
    G = "<a class=Ntoltipo>Fa7<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/f7.jpg'></span></a>",
    H = "<a class=Ntoltipo>Fa#<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/fs.jpg'></span></a>",
    I = "<a class=Ntoltipo>FM#<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/fsm.jpg'></span></a>",
    J = "<a class=Ntoltipo>F#7<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/fs7.jpg'></span></a>",
    K = "<a class=Ntoltipo>Sol<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/g.jpg'></span></a>",
    L = "<a class=Ntoltipo>Solm<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/gm.jpg'></span></a>",
    M = "<a class=Ntoltipo>Sol<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/g_ii.jpg'></span></a>",
    N = "<a class=Ntoltipo>Solm<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v3/gm_iii.jpg'></span></a>",
    Ñ = "<a class=Ntoltipo>Solm<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v3/gm_ii.jpg'></span></a>",
    O = "<a class=Ntoltipo>Sol7<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/g7.jpg'></span></a>",
    P = "<a class=Ntoltipo>Sol#<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/gs.jpg'></span></a>",
    Q = "<a class=Ntoltipo>Sol#m<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/gsm.jpg'></span></a>",
    R = "<a class=Ntoltipo>Solm7<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/gm7.jpg'></span></a>",
    S = "<a class=Ntoltipo>La<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/a.jpg'></span></a>",
    T = "<a class=Ntoltipo>Lam<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/am.jpg'></span></a>",
    U = "<a class=Ntoltipo>Lam<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v3/am_ii.jpg'></span></a>",
    V = "<a class=Ntoltipo>La<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/a_ii.jpg'></span></a>",
    W = "<a class=Ntoltipo>La7<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/a7.jpg'></span></a>",
    Y = "<a class=Ntoltipo>La#<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/as.jpg'></span></a>",
    Z = "<a class=Ntoltipo>La#m<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/asm.jpg'></span></a>",
    aa = "<a class=Ntoltipo>La#7<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/as7.jpg'></span></a>",
    bb = "<a class=Ntoltipo>Si<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/b.jpg'></span></a>",
    cc = "<a class=Ntoltipo>Sim<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/bm.jpg'></span></a>",
    dd = "<a class=Ntoltipo>Sim<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v3/bm_ii.jpg'></span></a>",
    ee = "<a class=Ntoltipo>Si<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/b_ii.jpg'></span></a>",
    dd = "<a class=Ntoltipo>Si7<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/b7.jpg'></span></a>";
if (post.length) {
    for (var i = 0; i < post.length; i++) {
        post[i].innerHTML = post[i].innerHTML.replace(/domy/gi, a).replace(/domn/g, b).replace(/d3p/g, c).replace(/dop2/gi, d).replace(/do7/gi, e).replace(/do#/g, f).replace(/dmo#/gi, g).replace(/7o#/gi, h).replace(/remy/gi, i).replace(/rem/gi, j).replace(/remp2/gi, k).replace(/rep2/gi, l).replace(/rp#2/gi, m).replace(/re7/gi, n).replace(/re#/g, ñ).replace(/rm#/gi, o).replace(/rebmy/gi, p).replace(/rebmn/gi, q).replace(/rm7/gi, r).replace(/r#7/gi, s).replace(/rssr/gi, t).replace(/r2sr/gi, u).replace(/mimy/gi, v).replace(/mimn/gi, w).replace(/mimp2/gi, y).replace(/mip2/gi, z).replace(/mi7/gi, A).replace(/famy/gi, B).replace(/famn/gi, C).replace(/famp2/gi, D).replace(/fp3/gi, E).replace(/fap2/gi, F).replace(/fa7/gi, G).replace(/fa#/g, H).replace(/fm#/gi, I).replace(/f7#/gi, J).replace(/solmy/gi, K).replace(/solmn/gi, L).replace(/solp2/gi, M).replace(/3pms/gi, N).replace(/2pms/gi, Ñ).replace(/sol7/gi, O).replace(/sol#/g, P).replace(/sl#m/gi, Q).replace(/solm7/gi, R).replace(/lamy/g, S).replace(/lamn/gi, T).replace(/lamp2/gi, U).replace(/lap2/gi, V).replace(/la7/gi, W).replace(/la#/g, Y).replace(/lm#/gi, Z).replace(/l7a#/gi, aa).replace(/simy/gi, bb).replace(/simn/gi, cc).replace(/simp2/gi, dd).replace(/sip2/gi, ee).replace(/si7/gi, dd);
    }
}

Mensaje automático



[ok]Cierro tema, y muevo a Temas resueltos[/ok]
mrsrz
avatar

¿Que estoy pensando? :

... [table class=fecha_up][td]Se modifico:25/11/16 - 19:20 hrs.[/td][/table]


Banner en temas :

http://profilerehab.com/facebook_covers/musical/cool_guitar_cover_9.jpg


Color de titulos :

#fff


Sombra titulo :

1px 1px 1px #fff


Mensajes :

424


Puntos :

596


Me gusta :

62


ingreso :

23/12/2014


Sexo :

Masculino

Plataforma :

PunBB


Navegador :

Chrome


Ver perfil de usuario http://musicinstant.host-es.com/

Volver arriba Ir abajo

Este es el código de los acordes de Guitarra

Código:
$(function ($) {
  var acordes = {
    cmy: {
      : '<a class=Ntooltip>C<span><img src="http://i19.servimg.com/u/f19/16/62/84/62/c10.png"></span></a>'
    },
    cmn: {
      replacement: '<a class=Ntooltip>Cm<span><img src="http://i19.servimg.com/u/f19/16/62/84/62/cmt310.png"></span></a>'
    },
    cii: {
      replacement: '<a class=Ntooltip>CII<span><img src="http://i19.servimg.com/u/f19/16/62/84/62/ct310.png"></span></a>'
    },
    c5: {
      replacement: '<a class=Ntooltip>C5<span><img src="http://i19.servimg.com/u/f19/16/62/84/62/c5t310.png"></span></a>'
    },
    c7: {
      replacement: '<a class=Ntooltip>C7<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/c710.png"></span></a>'
    },
    CH: {
      replacement: '<a class=Ntooltip>C#<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/cnt410.png"></span></a>'
    },
    cHm: {
      replacement: '<a class=Ntooltip>C#m<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/cnmt411.png"></span></a>'
    },
    dmy: {
      replacement: '<a class=Ntooltip>D<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/d10.png"></span></a>'
    },
    dmn: {
      replacement: '<a class=Ntooltip>Dm<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/dm10.png"></span></a>'
    },
    dmii: {
      replacement: '<a class=Ntooltip>DmII<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/dmt510.png"></span></a>'
    },
    dii: {
      replacement: '<a class=Ntooltip>DII<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/dt510.png"></span></a>'
    },
    d5: {
      replacement: '<a class=Ntooltip>D5<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/d5t510.png"></span></a>'
    },
    d7: {
      replacement: '<a class=Ntooltip>D7<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/d711.png"></span></a>'
    },
    DH: {
      replacement: '<a class=Ntooltip>D#<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/dnt610.png"></span></a>'
    },
    dHm: {
      replacement: '<a class=Ntooltip>D#m<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/dnmt610.png"></span></a>'
    },
    dyb: {
      replacement: '<a class=Ntooltip>Db<span><img src="http://i68.servimg.com/u/f68/16/62/84/62/dbt411.png"></span></a>'
    },
    dbmn: {
      replacement: '<a class=Ntooltip>Dbm<span><img src="http://i19.servimg.com/u/f19/16/62/84/62/c10.png"></span></a>'
    },
    dfb: {
      replacement: '<a class=Ntooltip>Db/F<span><img src="http://i68.servimg.com/u/f68/16/62/84/62/drfn_210.png"></span></a>'
    },
    d4: {
      replacement: '<a class=Ntooltip>D4<span><img src="http://www.guitaracordes.com/archivos/ACORDES/Dsus4.png"></span></a>'
    },
    db5: {
      replacement: '<a class=Ntooltip>Db5<span> <img src="http://i68.servimg.com/u/f68/16/62/84/62/eb512.png"></span></a>'
    },
    emy: {
      replacement: '<a class=Ntooltip>E<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/e10.png"></span></a>'
    },
    emn: {
      replacement: '<a class=Ntooltip>Em<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/em10.png"></span></a>'
    },
    em7: {
      replacement: '<a class=Ntooltip>Em7<span> <img src="http://www.guitaracordes.com/archivos/ACORDES/Em7_2.png"></span></a>'
    },
    emii: {
      replacement: '<a class=Ntooltip>EmII<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/emt710.png"></span></a>'
    },
    eii: {
      replacement: '<a class=Ntooltip>EII<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/et710.png"></span></a>'
    },
    e5: {
      replacement: '<a class=Ntooltip>E5<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/e510.png"></span></a>'
    },
    e7: {
      replacement: '<a class=Ntooltip>E7<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/e710.png"></span></a>'
    },
    eb5: {
      replacement: '<a class=Ntooltip>Eb5<span> <img src="http://i68.servimg.com/u/f68/16/62/84/62/eb511.png"></span></a>'
    },
    eyb: {
      replacement: '<a class=Ntooltip>Eb<span> <img src="http://i68.servimg.com/u/f68/16/62/84/62/eb10.png"></span></a>'
    },
    fmy: {
      replacement: '<a class=Ntooltip>F<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/f10.png"></span></a>'
    },
    fmn: {
      replacement: '<a class=Ntooltip>Fm<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/fm10.png"></span></a>'
    },
    fmii: {
      replacement: '<a class=Ntooltip>FmII<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/fmt810.png"></span></a>'
    },
    fii: {
      replacement: '<a class=Ntooltip>FII<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/frct810.png"></span></a>'
    },
    f5: {
      replacement: '<a class=Ntooltip>F5<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/f510.png"></span></a>'
    },
    f7: {
      replacement: '<a class=Ntooltip>F7<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/f710.png"></span></a>'
    },
    FH: {
      replacement: '<a class=Ntooltip>F#<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/fn10.png"></span></a>'
    },
    fHm: {
      replacement: '<a class=Ntooltip>F#m<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/fnm10.png"></span></a>'
    },
    f6sb5: {
      replacement: '<a class=Ntooltip>F6/B5<span><img src="http://i18.servimg.com/u/f18/16/62/84/62/f610.png"></span></a>'
    },
    Hf7: {
      replacement: '<a class=Ntooltip>F#7<span><img src="http://www.guitaracordes.com/archivos/ACORDES/Fn7.png"></span></a>'
    },
    gmy: {
      replacement: '<a class=Ntooltip>G<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/g10.png"></span></a>'
    },
    gmn: {
      replacement: '<a class=Ntooltip>Gm<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/gmt310.png"></span></a>'
    },
    gii: {
      replacement: '<a class=Ntooltip>GII<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/gt310.png"></span></a>'
    },
    g5: {
      replacement: '<a class=Ntooltip>G5<span> <img src="http://i68.servimg.com/u/f68/16/62/84/62/gb511.png"></span></a>'
    },
    g7: {
      replacement: '<a class=Ntooltip>G7<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/g710.png"></span></a>'
    },
    GH: {
      replacement: '<a class=Ntooltip>G#<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/gnt410.png"></span></a>'
    },
    gHm: {
      replacement: '<a class=Ntooltip>G#m<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/gmt410.png"></span></a>'
    },
    gsd: {
      replacement: '<a class=Ntooltip>G/D<span> <img src="http://www.guitaracordes.com/archivos/ACORDES/GrD.png"></span></a>'
    },
    gsb: {
      replacement: '<a class=Ntooltip>G/B<span> <img src="http://www.guitaracordes.com/archivos/ACORDES/GrB_3.png"></span></a>'
    },
    gsfh: {
      replacement: '<a class=Ntooltip>G/F#<span> <img src="http://www.guitaracordes.com/archivos/ACORDES/GrFn.png"></span></a>'
    },
    gb5: {
      replacement: '<a class=Ntooltip>Gb5<span> <img src="http://i68.servimg.com/u/f68/16/62/84/62/gb512.png"></span></a>'
    },
    gmb: {
      replacement: '<a class=Ntooltip>Gb<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/fn10.png"></span></a>'
    },
    amy: {
      replacement: '<a class=Ntooltip>A<span> <img src="http://www.servimg.com/u/f19/16/62/84/62/a10.png"></span></a>'
    },
    amn: {
      replacement: '<a class=Ntooltip>Am<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/am10.png"></span></a>'
    },
    amii: {
      replacement: '<a class=Ntooltip>AmII<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/amt510.png"></span></a>'
    },
    aii: {
      replacement: '<a class=Ntooltip>AII<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/at510.png"></span></a>'
    },
    a5: {
      replacement: '<a class=Ntooltip>A5<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/a510.png"></span></a>'
    },
    a7: {
      replacement: '<a class=Ntooltip>a7<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/a710.png"></span></a>'
    },
    AH: {
      replacement: '<a class=Ntooltip>A#<span><img src="http://i19.servimg.com/u/f19/16/62/84/62/an10.png"></span></a>'
    },
    aHm: {
      replacement: '<a class=Ntooltip>A#m<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/anm10.png"></span></a>'
    },
    ab5: {
      replacement: '<a class=Ntooltip>Ab5<span> <img src="http://i68.servimg.com/u/f68/16/62/84/62/ab512.png"></span></a>'
    },
    ayb: {
      replacement: '<a class=Ntooltip>Ab<span> <img src="http://i68.servimg.com/u/f68/16/62/84/62/abt410.png"></span></a>'
    },
    ae7: {
      replacement: '<a class=Ntooltip>A7/E<span> <img src="http://www.guitaracordes.com/archivos/ACORDES/A7rE_2.png"></span></a>'
    },
    bmy: {
      replacement: '<a class=Ntooltip>B<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/b10.png"></span></a>'
    },
    bmn: {
      replacement: '<a class=Ntooltip>Bm<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/bm10.png"></span></a>'
    },
    bmii: {
      replacement: '<a class=Ntooltip>BmII<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/bnt710.png"></span></a>'
    },
    bii: {
      replacement: '<a class=Ntooltip>BII<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/bt710.png"></span></a>'
    },
    b5: {
      replacement: '<a class=Ntooltip>B5<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/b510.png"></span></a>'
    },
    b7: {
      replacement: '<a class=Ntooltip>B7<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/b710.png"></span></a>'
    },
    b7: {
      replacement: '<a class=Ntooltip>B7<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/b710.png"></span></a>'
    },
    bmb: {
      replacement: '<a class=Ntooltip>Bb<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/an10.png"></span></a>'
    },
    bb5: {
      replacement: '<a class=Ntooltip>Bb5<span> <img src="http://www.guitaracordes.com/archivos/ACORDES/Bb5.png"></span></a>'
    }
 
  };
  var content = $('.entry-content');
  $.each(acordes, function (key, value) {
    tag = new RegExp('\\[' + key + '\=?"?(.*?)"?\]', 'g');
   
      a = '$1';
   
    value.replacement = value.replacement.replace(/{ATTR}/g, a);
    content.html(function () {
      return
      $(this).html().replace(tag, value.replacement);
    });
  });
});


Enviado desde mi UnknownPhone
mrsrz
avatar

¿Que estoy pensando? :

... [table class=fecha_up][td]Se modifico:25/11/16 - 19:20 hrs.[/td][/table]


Banner en temas :

http://profilerehab.com/facebook_covers/musical/cool_guitar_cover_9.jpg


Color de titulos :

#fff


Sombra titulo :

1px 1px 1px #fff


Mensajes :

424


Puntos :

596


Me gusta :

62


ingreso :

23/12/2014


Sexo :

Masculino

Plataforma :

PunBB


Navegador :

Chrome


Ver perfil de usuario http://musicinstant.host-es.com/

Volver arriba Ir abajo

staff
ok este ultimo code es bueno ya recorde, es mejor que el anterior deja lo reviso de nuevo
Chalo
avatar

¿Que estoy pensando? :

vamos a hacer cosas geniales :) [table class=fecha_up][td]Se modifico:24/05/18 - 11:11 hrs. [/td][/table]


Banner en temas :

https://coverfiles.alphacoders.com/322/32281.jpg


Color de titulos :

#fff


Sombra titulo :

0 0 1px #000


Mensajes :

6712


Puntos :

8776


Me gusta :

1007


ingreso :

17/04/2014


Sexo :

Masculino

Plataforma :

phpbb3


Navegador :

chrome


Ver perfil de usuario https://www.opensourcephpbb3.com

Volver arriba Ir abajo

Claro,echale el ojo a ver!
mrsrz
avatar

¿Que estoy pensando? :

... [table class=fecha_up][td]Se modifico:25/11/16 - 19:20 hrs.[/td][/table]


Banner en temas :

http://profilerehab.com/facebook_covers/musical/cool_guitar_cover_9.jpg


Color de titulos :

#fff


Sombra titulo :

1px 1px 1px #fff


Mensajes :

424


Puntos :

596


Me gusta :

62


ingreso :

23/12/2014


Sexo :

Masculino

Plataforma :

PunBB


Navegador :

Chrome


Ver perfil de usuario http://musicinstant.host-es.com/

Volver arriba Ir abajo

staff
@mrsrz escribió:[quotelink="/t1194-en-curso-sistema-de-acordes-version-movil-guitarra#13812"]
Claro,echale el ojo a ver!

es mejor el code asi como lo tienes quiza lo pueda mejorar con mas tiempo, cierro el tema
Chalo
avatar

¿Que estoy pensando? :

vamos a hacer cosas geniales :) [table class=fecha_up][td]Se modifico:24/05/18 - 11:11 hrs. [/td][/table]


Banner en temas :

https://coverfiles.alphacoders.com/322/32281.jpg


Color de titulos :

#fff


Sombra titulo :

0 0 1px #000


Mensajes :

6712


Puntos :

8776


Me gusta :

1007


ingreso :

17/04/2014


Sexo :

Masculino

Plataforma :

phpbb3


Navegador :

chrome


Ver perfil de usuario https://www.opensourcephpbb3.com

Volver arriba Ir abajo

 En la misma categoria


Permisos de este foro:
No puedes responder a temas en este foro.