Staff en línea

Página 1 de 2. 1, 2  Siguiente

[Resuelto] Inconvenientes con el Sistema de Acordes
Tema iniciado por y Añadir a favoritos

URL:: http://musicinstant.forumotion.com/forum
Versión de mi foro:: PunBB
Navegador:: Chrome
Descripción del problema y Capturas de pantalla del problema: Buenas noches, hola a todos, colegas, @Amru y @Chalo, tengo que hablarles acerca de unas recomendaciones, mejoras o "bugs" que contiene el Sistema de Acordes que ustedes me crearon, no es algo por juzgar, se que no es fácil crear un javascript y mucho menos saber cual es el error que este contiene. Continuo... El sistema suele hacer estas cositas:




Si pueden ver, se confunde o agarra la similitud de textos, es decir, tengo el acorde "Rem (Re Menor)" y lo utilizo en una canción que tenga la frase "Remember" inmediata mente el Javascript agarra esa coincidencia y se buguea.

También debo decirles que coloque dos javascript de ese sistema, uno para los acordes de Guitarra, y el otro, (que es el mismo código) para acordes de Cuatro Venezolano (Un instrumento típico y famoso en mi país) por ende para que no interfiriese utilice la gramática musical universal de acordes (C, D, E, F, G, A, B) para los acordes de Guitarra, y para los Acordes del instrumento típico de Venezuela utilice la gramática latina ( Do, Re, Mi, Fa, Sol, La, Si) y gracias a esta buena idea, no he tenido problema de interferencias. Ahora, lo que pido es lo siguiente, no se si sea posible que el Javascript agarre solamente el texto estipulado en el. Es decir, tengo esta parte:

Código:
.replace(/rem/gi,"<a class=Ntoltipo>Rem<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/dm.jpg'></span></a>")

y quiero que el código no haga interferencia en similitudes es decir: (Remember, Remordimiento...). Que el código funcione solo con ese comando (Rem), que se puedan colocar esas palabras (Remember, Remordimiento...) y no interfiera con eso.

PD: Disculpen si no fui muy claro...







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 :

597


Me gusta :

63


ingreso :

23/12/2014


Sexo :

Masculino

Plataforma :

PunBB


Navegador :

Chrome


Ver perfil de usuario http://musicinstant.forumotion.com/

Volver arriba Ir abajo

staff
pega el code aquí para eso tendríamos que usar tags y colocar [re] [/re] por ejemplo
Chalo
avatar

¿Que estoy pensando? :

buen fin de semana, lunes con todo [table class=fecha_up][td]Se modifico:17/09/18 - 8:37 hrs. [/td][/table]


Banner en temas :

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


Color de titulos :

#fff


Sombra titulo :

0 0 1px #000


Mensajes :

6764


Puntos :

8849


Me gusta :

1022


ingreso :

17/04/2014


Sexo :

Masculino

Plataforma :

phpbb3


Navegador :

chrome


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

Volver arriba Ir abajo

Seria hasta mas recomendable...

Guitarra
Código:
$(function(){$(function(){ $(".entry-content").each(function() { $(this).html($(this).html()

.replace(/cmy/gi,"<a class=Ntooltip>C<span><IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/c10.png'></span></a>")
.replace(/cmn/g,"<a class=Ntooltip>Cm<span><IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/cmt310.png'></span></a>")
.replace(/Cp3/gi,"<a class=Ntooltip>Cp3<span><IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/ct310.png'></span></a>")
.replace(/C5/gi,"<a class=Ntooltip>C5<span><IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/c5t310.png'></span></a>")
.replace(/C7/gi,"<a class=Ntooltip>C7<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/c710.png'></span></a>")
.replace(/C#/g,"<a class=Ntooltip>C#<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/cnt410.png'></span></a>")
.replace(/c#m/gi,"<a class=Ntooltip>C#m<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/cnmt411.png'></span></a>")
.replace(/dmy/gi,"<a class=Ntooltip>D<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/d10.png'></span></a>")
.replace(/dmn/gi,"<a class=Ntooltip>Dm<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/dm10.png'></span></a>")
.replace(/Dmp5/gi,"<a class=Ntooltip>Dmp5<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/dmt510.png'></span></a>")
.replace(/Dp5/gi,"<a class=Ntooltip>Dp5<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/dt510.png'></span></a>")
.replace(/D5/gi,"<a class=Ntooltip>D5<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/d5t510.png'></span></a>")
.replace(/D7/gi,"<a class=Ntooltip>D7<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/d711.png'></span></a>")
.replace(/D#/g,"<a class=Ntooltip>D#<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/dnt610.png'></span></a>")
.replace(/d#m/gi,"<a class=Ntooltip>D#m<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/dnmt610.png'></span></a>")
.replace(/dbmy/gi,"<a class=Ntooltip>Db<span><IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/c10.png'></span></a>")
.replace(/dbmn/gi,"<a class=Ntooltip>Dbm<span><IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/c10.png'></span></a>")
.replace(/emy/gi,"<a class=Ntooltip>E<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/e10.png'></span></a>")
.replace(/emn/gi,"<a class=Ntooltip>Em<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/em10.png'></span></a>")
.replace(/Emp7/gi,"<a class=Ntooltip>Emp7<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/emt710.png'></span></a>")
.replace(/Ep7/gi,"<a class=Ntooltip>Ep7<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/et710.png'></span></a>")
.replace(/E5/gi,"<a class=Ntooltip>E5<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/e510.png'></span></a>")
.replace(/jesiete/gi,"<a class=Ntooltip>E 7<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/e710.png'></span></a>")
.replace(/fmy/gi,"<a class=Ntooltip>F<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/f10.png'></span></a>")
.replace(/fmn/gi,"<a class=Ntooltip>Fm<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/fm10.png'></span></a>")
.replace(/Fmp8/gi,"<a class=Ntooltip>Fmp8<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/fmt810.png'></span></a>")
.replace(/Fp8/gi,"<a class=Ntooltip>Fp8<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/frct810.png'></span></a>")
.replace(/F5/gi,"<a class=Ntooltip>F5<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/f510.png'></span></a>")
.replace(/F7/gi,"<a class=Ntooltip>F7<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/f710.png'></span></a>")
.replace(/F#/g,"<a class=Ntooltip>F#<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/fn10.png'></span></a>")
.replace(/f#m/gi,"<a class=Ntooltip>F#m<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/fnm10.png'></span></a>")
.replace(/f6b5/gi,"<a class=Ntooltip>F6/B5<span><IMG SRC='http://i18.servimg.com/u/f18/16/62/84/62/f610.png'></span></a>")
.replace(/gmy/gi,"<a class=Ntooltip>G<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/g10.png'></span></a>")
.replace(/gmn/gi,"<a class=Ntooltip>Gm<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/gmt310.png'></span></a>")
.replace(/Gp3/gi,"<a class=Ntooltip>Gp3<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/gt310.png'></span></a>")
.replace(/G5/gi,"<a class=Ntooltip>G5<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/g5t310.png'></span></a>")
.replace(/G7/gi,"<a class=Ntooltip>G7<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/g710.png'></span></a>")
.replace(/G#/g,"<a class=Ntooltip>G#<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/gnt410.png'></span></a>")
.replace(/g#m/gi,"<a class=Ntooltip>G#m<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/gmt410.png'></span></a>")
.replace(/amy/g,"<a class=Ntooltip>A<span> <IMG SRC='http://www.servimg.com/u/f19/16/62/84/62/a10.png'></span></a>")
.replace(/amn/gi,"<a class=Ntooltip>Am<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/am10.png'></span></a>")
.replace(/Amp5/gi,"<a class=Ntooltip>Amp5<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/amt510.png'></span></a>")
.replace(/Ap5/gi,"<a class=Ntooltip>Ap5<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/at510.png'></span></a>")
.replace(/A5/gi,"<a class=Ntooltip>A5<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/a510.png'></span></a>")
.replace(/asiete/gi,"<a class=Ntooltip>a7<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/a710.png'></span></a>")
.replace(/A#/g,"<a class=Ntooltip>A#<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/an10.png'></span></a>")
.replace(/bmy/gi,"<a class=Ntooltip>B<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/b10.png'></span></a>")
.replace(/bmn/gi,"<a class=Ntooltip>Bm<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/bm10.png'></span></a>")
.replace(/Bmp7/gi,"<a class=Ntooltip>Bmp7<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/bnt710.png'></span></a>")
.replace(/Bp7/gi,"<a class=Ntooltip>Bp7<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/bt710.png'></span></a>")
.replace(/1b/gi,"<a class=Ntooltip>B5<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/b510.png'></span></a>")
.replace(/sisiete/gi,"<a class=Ntooltip>B7<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/b710.png'></span></a>")
.replace(/a#m/gi,"<a class=Ntooltip>A#m<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/anm10.png'></span></a>") ); }); })});

Cuatro Venezolano

Código:
$(function(){$(function(){ $(".entry-content").each(function() { $(this).html($(this).html()

.replace(/domy/gi,"<a class=Ntoltipo>Do<span><IMG SRC='http://micuatro.com/cuatroblog/acordes/v2/c.jpg'></span></a>")
.replace(/domn/g,"<a class=Ntoltipo>Dom<span><IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/cm.jpg'></span></a>")
.replace(/dop2/gi,"<a class=Ntoltipo>Dop2<span><IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/c_ii.jpg'></span></a>")
.replace(/do7/gi,"<a class=Ntoltipo>Do7<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/c7.jpg'></span></a>")
.replace(/do#/g,"<a class=Ntoltipo>Do#<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/cs.jpg'></span></a>")
.replace(/do#m/gi,"<a class=Ntoltipo>Do#m<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/csm.jpg'></span></a>")

.replace(/remy/gi,"<a class=Ntoltipo>Re<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/d.jpg'></span></a>")
.replace(/rem/gi,"<a class=Ntoltipo>Rem<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/dm.jpg'></span></a>")
.replace(/remp2/gi,"<a class=Ntoltipo>Remp2<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v3/dm_ii.jpg'></span></a>")
.replace(/rep2/gi,"<a class=Ntoltipo>Rep2<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/d_ii.jpg'></span></a>")
.replace(/re7/gi,"<a class=Ntoltipo>Re7<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/d7.jpg'></span></a>")
.replace(/resostenido/g,"<a class=Ntoltipoo>Eb<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/ds.jpg'></span></a>")
.replace(/rm#/gi,"<a class=Ntoltipo>Ebm<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/dsm.jpg'></span></a>")
.replace(/rebmy/gi,"<a class=Ntoltipo>Reb<span><IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/cs.jpg'></span></a>")
.replace(/rebmn/gi,"<a class=Ntoltipo>Rebm<span><IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/csm.jpg'></span></a>")
.replace(/rm7/gi,"<a class=Ntoltipo>Rem7<span><IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/dm7.jpg'></span></a>")

.replace(/mimy/gi,"<a class=Ntoltipo>Mi<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/e.jpg'></span></a>")
.replace(/mimn/gi,"<a class=Ntoltipo>Mim<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/em.jpg'></span></a>")
.replace(/mimp2/gi,"<a class=Ntoltipo>Mimp2<span> <IMG SRC='http://i19.servimg.com/u/f19/16/62/84/62/emt710.png'></span></a>")
.replace(/mip2/gi,"<a class=Ntoltipo>Mip2<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/e_ii.jpg'></span></a>")
.replace(/mi7/gi,"<a class=Ntoltipo>Mi7<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/e7.jpg'></span></a>")

.replace(/famy/gi,"<a class=Ntoltipo>Fa<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/f.jpg'></span></a>")
.replace(/famn/gi,"<a class=Ntoltipo>Fam<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/fm.jpg'></span></a>")
.replace(/famp2/gi,"<a class=Ntoltipo>Famp2<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v3/fm_ii.jpg'></span></a>")
.replace(/fap2/gi,"<a class=Ntoltipo>Fap2<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/f_ii.jpg'></span></a>")
.replace(/fa7/gi,"<a class=Ntoltipo>Fa7<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/f7.jpg'></span></a>")
.replace(/fa#/g,"<a class=Ntoltipo>Fa#<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/fs.jpg'></span></a>")
.replace(/fm#/gi,"<a class=Ntoltipo>FM#<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/fsm.jpg'></span></a>")

.replace(/solmy/gi,"<a class=Ntoltipo>Sol<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/g.jpg'></span></a>")
.replace(/solmn/gi,"<a class=Ntoltipo>Solm<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/gm.jpg'></span></a>")
.replace(/solp2/gi,"<a class=Ntoltipo>Solp2<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/g_ii.jpg'></span></a>")
.replace(/sol7/gi,"<a class=Ntoltipo>Sol7<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/g7.jpg'></span></a>")
.replace(/sol#/g,"<a class=Ntoltipo>Sol#<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/gs.jpg'></span></a>")
.replace(/sol#m/gi,"<a class=Ntoltipo>Sol#m<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/gsm.jpg'></span></a>")

.replace(/lamy/g,"<a class=Ntoltipo>La<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/a.jpg'></span></a>")
.replace(/lamn/gi,"<a class=Ntoltipo>Lam<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/am.jpg'></span></a>")
.replace(/lamp2/gi,"<a class=Ntoltipo>Lamp2<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v3/am_ii.jpg'></span></a>")
.replace(/lap2/gi,"<a class=Ntoltipo>Lap2<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/a_ii.jpg'></span></a>")
.replace(/la7/gi,"<a class=Ntoltipo>La7<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/a7.jpg'></span></a>")
.replace(/la#/g,"<a class=Ntoltipo>La#<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/as.jpg'></span></a>")
.replace(/la#m/gi,"<a class=Ntoltipo>La#m<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/asm.jpg'></span></a>")

.replace(/simy/gi,"<a class=Ntoltipo>Si<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/b.jpg'></span></a>")
.replace(/simn/gi,"<a class=Ntoltipo>Sim<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/bm.jpg'></span></a>")
.replace(/simp2/gi,"<a class=Ntoltipo>Simp2<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v3/bm_ii.jpg'></span></a>")
.replace(/sip2/gi,"<a class=Ntoltipo>Sip7<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/b_ii.jpg'></span></a>")
.replace(/si7/gi,"<a class=Ntoltipo>Si7<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/b7.jpg'></span></a>")  ); }); })});
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 :

597


Me gusta :

63


ingreso :

23/12/2014


Sexo :

Masculino

Plataforma :

PunBB


Navegador :

Chrome


Ver perfil de usuario http://musicinstant.forumotion.com/

Volver arriba Ir abajo

staff
vamos a probar este, el de guitarras primero

Código:

$(function () {
    $(function () {
        var cmy = "<a class=Ntooltip>C<span><img src='http://i19.servimg.com/u/f19/16/62/84/62/c10.png'></span></a>",
            cmn = "<a class=Ntooltip>Cm<span><img src='http://i19.servimg.com/u/f19/16/62/84/62/cmt310.png'></span></a>",
            cp3 = "<a class=Ntooltip>Cp3<span><img src='http://i19.servimg.com/u/f19/16/62/84/62/ct310.png'></span></a>",
            c5 = "<a class=Ntooltip>C5<span><img src='http://i19.servimg.com/u/f19/16/62/84/62/c5t310.png'></span></a>",
            c7 = "<a class=Ntooltip>C7<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/c710.png'></span></a>",
            cH = "<a class=Ntooltip>C#<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/cnt410.png'></span></a>",
            cHm = "<a class=Ntooltip>C#m<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/cnmt411.png'></span></a>",
            dmy = "<a class=Ntooltip>D<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/d10.png'></span></a>",
            dmn = "<a class=Ntooltip>Dm<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/dm10.png'></span></a>",
            dmp5 = "<a class=Ntooltip>Dmp5<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/dmt510.png'></span></a>",
            dp5 = "<a class=Ntooltip>Dp5<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/dt510.png'></span></a>",
            d5 = "<a class=Ntooltip>D5<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/d5t510.png'></span></a>",
            d7 = "<a class=Ntooltip>D7<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/d711.png'></span></a>",
            DH = "<a class=Ntooltip>D#<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/dnt610.png'></span></a>",
            dHm = "<a class=Ntooltip>D#m<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/dnmt610.png'></span></a>",
            dbmy = "<a class=Ntooltip>Db<span><img src='http://i19.servimg.com/u/f19/16/62/84/62/c10.png'></span></a>",
            dbmn = "<a class=Ntooltip>Dbm<span><img src='http://i19.servimg.com/u/f19/16/62/84/62/c10.png'></span></a>",
            emy = "<a class=Ntooltip>E<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/e10.png'></span></a>",
            emn = "<a class=Ntooltip>Em<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/em10.png'></span></a>",
            emp7 = "<a class=Ntooltip>Emp7<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/emt710.png'></span></a>",
            ep7 = "<a class=Ntooltip>Ep7<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/et710.png'></span></a>",
            e5 = "<a class=Ntooltip>E5<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/e510.png'></span></a>",
            jsiete = "<a class=Ntooltip>E 7<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/e710.png'></span></a>",
            fmy = "<a class=Ntooltip>F<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/f10.png'></span></a>",
            fmn = "<a class=Ntooltip>Fm<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/fm10.png'></span></a>",
            fmp8 = "<a class=Ntooltip>Fmp8<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/fmt810.png'></span></a>",
            fp8 = "<a class=Ntooltip>Fp8<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/frct810.png'></span></a>",
            f5 = "<a class=Ntooltip>F5<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/f510.png'></span></a>",
            f7 = "<a class=Ntooltip>F7<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/f710.png'></span></a>",
            fH = "<a class=Ntooltip>F#<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/fn10.png'></span></a>",
            fHm = "<a class=Ntooltip>F#m<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/fnm10.png'></span></a>",
            f6b5 = "<a class=Ntooltip>F6/B5<span><img src='http://i18.servimg.com/u/f18/16/62/84/62/f610.png'></span></a>",
            gmy = "<a class=Ntooltip>G<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/g10.png'></span></a>",
            gmn = "<a class=Ntooltip>Gm<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/gmt310.png'></span></a>",
            gp3 = "<a class=Ntooltip>Gp3<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/gt310.png'></span></a>",
            g5 = "<a class=Ntooltip>G5<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/g5t310.png'></span></a>",
            g7 = "<a class=Ntooltip>G7<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/g710.png'></span></a>",
            gH = "<a class=Ntooltip>G#<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/gnt410.png'></span></a>",
            gHm = "<a class=Ntooltip>G#m<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/gmt410.png'></span></a>",
            amy = "<a class=Ntooltip>A<span> <img src='http://www.servimg.com/u/f19/16/62/84/62/a10.png'></span></a>",
            amn = "<a class=Ntooltip>Am<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/am10.png'></span></a>",
            amp5 = "<a class=Ntooltip>Amp5<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/amt510.png'></span></a>",
            ap5 = "<a class=Ntooltip>Ap5<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/at510.png'></span></a>",
            a5 = "<a class=Ntooltip>A5<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/a510.png'></span></a>",
            asiete = "<a class=Ntooltip>a7<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/a710.png'></span></a>",
            aH = "<a class=Ntooltip>A#<span><img src='http://i19.servimg.com/u/f19/16/62/84/62/an10.png'></span></a>",
            bmy = "<a class=Ntooltip>B<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/b10.png'></span></a>",
            bmn = "<a class=Ntooltip>Bm<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/bm10.png'></span></a>",
            bmp7 = "<a class=Ntooltip>Bmp7<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/bnt710.png'></span></a>",
            bp7 = "<a class=Ntooltip>Bp7<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/bt710.png'></span></a>",
            unob = "<a class=Ntooltip>B5<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/b510.png'></span></a>",
            sisiete = "<a class=Ntooltip>B7<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/b710.png'></span></a>",
            aHm = "<a class=Ntooltip>A#m<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/anm10.png'></span></a>";
        $(".entry-content").each(function () {
            $(this).html($(this).html()
                .replace("[cmy]", cmy)
                .replace("[cmn]", cmn)
                .replace("[Cp3]", cp3)
                .replace("[C5]", c5)
                .replace("[C7]", c7)
                .replace("[C#]", cH)
                .replace("[c#m]", cHm)
                .replace("[dmy]", dmy)
                .replace("[dmn]", dmn)
                .replace("[Dmp5]", dmp5)
                .replace("[Dp5]", dp5)
                .replace("[D5]", d5)
                .replace("[D7]", d7)
                .replace("[D#]", DH)
                .replace("[d#m]", dHm)
                .replace("[dbmy]", dbmy)
                .replace("[dbmn]", dbmn)
                .replace("[emy]", emy)
                .replace("[emn]", emn)
                .replace("[Emp7]", emp7)
                .replace("[Ep7]", ep7)
                .replace("[E5]", e5)
                .replace("[jesiete]", jsiete)
                .replace("[fmy]", fmy)
                .replace("[fmn]", fmn)
                .replace("[Fmp8]", fmp8)
                .replace("[Fp8]", fp8)
                .replace("[F5]", f5)
                .replace("[F7]", f7)
                .replace("[F#]", fH)
                .replace("[f#m]", fHm)
                .replace("[f6b5]", f6b5)
                .replace("[gmy]", gmy)
                .replace("[gmn]", gmn)
                .replace("[Gp3]", gp3)
                .replace("[G5]", g5)
                .replace("[G7]", g7)
                .replace("[G#]", gH)
                .replace("[g#m]", gHm)
                .replace("[amy]", amy)
                .replace("[amn]", amn)
                .replace("[Amp5]", amp5)
                .replace("[Ap5]", ap5)
                .replace("[A5]", a5)
                .replace("[asiete]", asiete)
                .replace("[A#]", aH)
                .replace("[bmy]", bmy)
                .replace("[bmn]", bmn)
                .replace("[Bmp7]", bmp7)
                .replace("[Bp7]", bp7)
                .replace("[1b]", unob)
                .replace("[sisiete]", sisiete)
                .replace("[a#m]", aHm));
        });
    })
});
deberas colocarle corcheas al acorde, utilize los mismos que uso amru, solo añade [a#m] , en lugar de a#m
Chalo
avatar

¿Que estoy pensando? :

buen fin de semana, lunes con todo [table class=fecha_up][td]Se modifico:17/09/18 - 8:37 hrs. [/td][/table]


Banner en temas :

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


Color de titulos :

#fff


Sombra titulo :

0 0 1px #000


Mensajes :

6764


Puntos :

8849


Me gusta :

1022


ingreso :

17/04/2014


Sexo :

Masculino

Plataforma :

phpbb3


Navegador :

chrome


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

Volver arriba Ir abajo



Veo que no funciono... Pero si edite este nuevo codigo como de verdad deberia ser.

Código:
$(function () {
  $(function () {
    var cmy = "<a class=Ntooltip>C<span><img src='http://i19.servimg.com/u/f19/16/62/84/62/c10.png'></span></a>",
      cmn = "<a class=Ntooltip>Cm<span><img src='http://i19.servimg.com/u/f19/16/62/84/62/cmt310.png'></span></a>",
      cii = "<a class=Ntooltip>CII<span><img src='http://i19.servimg.com/u/f19/16/62/84/62/ct310.png'></span></a>",
      c5 = "<a class=Ntooltip>C5<span><img src='http://i19.servimg.com/u/f19/16/62/84/62/c5t310.png'></span></a>",
      c7 = "<a class=Ntooltip>C7<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/c710.png'></span></a>",
      cH = "<a class=Ntooltip>C#<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/cnt410.png'></span></a>",
      cHm = "<a class=Ntooltip>C#m<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/cnmt411.png'></span></a>",
      dmy = "<a class=Ntooltip>D<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/d10.png'></span></a>",
      dmn = "<a class=Ntooltip>Dm<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/dm10.png'></span></a>",
      dmii = "<a class=Ntooltip>DmII<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/dmt510.png'></span></a>",
      dii = "<a class=Ntooltip>DII<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/dt510.png'></span></a>",
      d5 = "<a class=Ntooltip>D5<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/d5t510.png'></span></a>",
      d7 = "<a class=Ntooltip>D7<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/d711.png'></span></a>",
      dH = "<a class=Ntooltip>D#<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/dnt610.png'></span></a>",
      dHm = "<a class=Ntooltip>D#m<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/dnmt610.png'></span></a>",
      dbmy = "<a class=Ntooltip>Db<span><img src='http://i19.servimg.com/u/f19/16/62/84/62/c10.png'></span></a>",
      dbmn = "<a class=Ntooltip>Dbm<span><img src='http://i19.servimg.com/u/f19/16/62/84/62/c10.png'></span></a>",
      emy = "<a class=Ntooltip>E<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/e10.png'></span></a>",
      emn = "<a class=Ntooltip>Em<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/em10.png'></span></a>",
      emii = "<a class=Ntooltip>EmII<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/emt710.png'></span></a>",
      eii = "<a class=Ntooltip>EII<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/et710.png'></span></a>",
      e5 = "<a class=Ntooltip>E5<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/e510.png'></span></a>",
      e7 = "<a class=Ntooltip>E7<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/e710.png'></span></a>",
      fmy = "<a class=Ntooltip>F<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/f10.png'></span></a>",
      fmn = "<a class=Ntooltip>Fm<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/fm10.png'></span></a>",
      fmii = "<a class=Ntooltip>FmII<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/fmt810.png'></span></a>",
      fii = "<a class=Ntooltip>FII<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/frct810.png'></span></a>",
      f5 = "<a class=Ntooltip>F5<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/f510.png'></span></a>",
      f7 = "<a class=Ntooltip>F7<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/f710.png'></span></a>",
      fH = "<a class=Ntooltip>F#<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/fn10.png'></span></a>",
      fHm = "<a class=Ntooltip>F#m<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/fnm10.png'></span></a>",
      f6b5 = "<a class=Ntooltip>F6/B5<span><img src='http://i18.servimg.com/u/f18/16/62/84/62/f610.png'></span></a>",
      gmy = "<a class=Ntooltip>G<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/g10.png'></span></a>",
      gmn = "<a class=Ntooltip>Gm<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/gmt310.png'></span></a>",
      gii = "<a class=Ntooltip>GII<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/gt310.png'></span></a>",
      g5 = "<a class=Ntooltip>G5<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/g5t310.png'></span></a>",
      g7 = "<a class=Ntooltip>G7<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/g710.png'></span></a>",
      gH = "<a class=Ntooltip>G#<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/gnt410.png'></span></a>",
      gHm = "<a class=Ntooltip>G#m<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/gmt410.png'></span></a>",
      amy = "<a class=Ntooltip>A<span> <img src='http://www.servimg.com/u/f19/16/62/84/62/a10.png'></span></a>",
      amn = "<a class=Ntooltip>Am<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/am10.png'></span></a>",
      amii = "<a class=Ntooltip>AmII<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/amt510.png'></span></a>",
      aii = "<a class=Ntooltip>AII<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/at510.png'></span></a>",
      a5 = "<a class=Ntooltip>A5<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/a510.png'></span></a>",
      a7 = "<a class=Ntooltip>a7<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/a710.png'></span></a>",
      aH = "<a class=Ntooltip>A#<span><img src='http://i19.servimg.com/u/f19/16/62/84/62/an10.png'></span></a>",
      bmy = "<a class=Ntooltip>B<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/b10.png'></span></a>",
      bmn = "<a class=Ntooltip>Bm<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/bm10.png'></span></a>",
      bmii = "<a class=Ntooltip>BmII<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/bnt710.png'></span></a>",
      bii = "<a class=Ntooltip>BII<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/bt710.png'></span></a>",
      b5 = "<a class=Ntooltip>B5<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/b510.png'></span></a>",
      b7 = "<a class=Ntooltip>B7<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/b710.png'></span></a>",
      aHm = "<a class=Ntooltip>A#m<span> <img src='http://i19.servimg.com/u/f19/16/62/84/62/anm10.png'></span></a>";
    $(".entry-content").each(function () {
      $(this).html($(this).html()
        .replace("[cmy]", cmy)
        .replace("[cmn]", cmn)
        .replace("[cii]", cii)
        .replace("[c5]", c5)
        .replace("[c7]", c7)
        .replace("[c#]", cH)
        .replace("[c#m]", cHm)
        .replace("[dmy]", dmy)
        .replace("[dmn]", dmn)
        .replace("[dmii]", dmii)
        .replace("[dii]", dii)
        .replace("[d5]", d5)
        .replace("[d7]", d7)
        .replace("[d#]", DH)
        .replace("[d#m]", dHm)
        .replace("[dbmy]", dbmy)
        .replace("[dbmn]", dbmn)
        .replace("[emy]", emy)
        .replace("[emn]", emn)
        .replace("[emii]", emii)
        .replace("[eii]", eii)
        .replace("[e5]", e5)
        .replace("[e7]", e7)
        .replace("[fmy]", fmy)
        .replace("[fmn]", fmn)
        .replace("[fmii]", fmii)
        .replace("[fii]", fii)
        .replace("[f5]", f5)
        .replace("[f7]", f7)
        .replace("[f#]", fH)
        .replace("[f#m]", fHm)
        .replace("[f6b5]", f6b5)
        .replace("[gmy]", gmy)
        .replace("[gmn]", gmn)
        .replace("[gii]", gii)
        .replace("[g5]", g5)
        .replace("[g7]", g7)
        .replace("[g#]", gH)
        .replace("[g#m]", gHm)
        .replace("[amy]", amy)
        .replace("[amn]", amn)
        .replace("[amii]", amii)
        .replace("[aii]", aii)
        .replace("[a5]", a5)
        .replace("[a7]", a7)
        .replace("[a#]", aH)
        .replace("[bmy]", bmy)
        .replace("[bmn]", bmn)
        .replace("[bmii]", bmii)
        .replace("[bii]", bii)
        .replace("[b5]", b5)
        .replace("[b7]", b7)
        .replace("[a#m]", aHm));
    });
  })
});
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 :

597


Me gusta :

63


ingreso :

23/12/2014


Sexo :

Masculino

Plataforma :

PunBB


Navegador :

Chrome


Ver perfil de usuario http://musicinstant.forumotion.com/

Volver arriba Ir abajo

staff
mmmm en mis pruebas si funciona, pero si repites el mismo acorde no, voy a ver que puedo hacer hoy
Chalo
avatar

¿Que estoy pensando? :

buen fin de semana, lunes con todo [table class=fecha_up][td]Se modifico:17/09/18 - 8:37 hrs. [/td][/table]


Banner en temas :

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


Color de titulos :

#fff


Sombra titulo :

0 0 1px #000


Mensajes :

6764


Puntos :

8849


Me gusta :

1022


ingreso :

17/04/2014


Sexo :

Masculino

Plataforma :

phpbb3


Navegador :

chrome


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

Volver arriba Ir abajo

staff
Por lo que veo modificaste el Js que se te dió (me parece que ese no te dió problema alguno) y lo adaptaste para que funcione con la otra nomenclatura (do, re , mi , etc) y es justamente en ese Js con el que tienes el problema, te dejo algo práctico y espero que te sirva.

Para ejemplo que dejaste arriba, cambia el rem por rmn quedandote de la siguiente forma.
Código:
.replace(/rmn/gi,"<a class=Ntoltipo>Rem<span> <IMG SRC='http://www.micuatro.com/cuatroblog/acordes/v2/dm.jpg'></span></a>")

Amru G
avatar

¿Que estoy pensando? :

Escribe lo que tienes en mente [table class=fecha_up][td]Se modifico:10/7/15 - 15:25 hrs.[/td][/table]


Banner en temas :

https://i.servimg.com/u/f19/19/17/54/05/portad11.jpg


Color de titulos :

#ffffff


Sombra titulo :

1px 1px 1px #fff


Mensajes :

450


Puntos :

537


Me gusta :

83


ingreso :

27/05/2015


Sexo :

Masculino

Plataforma :

PhpBB3


Navegador :

Chrome


Ver perfil de usuario http://elfutbol.activo.mx/

Volver arriba Ir abajo

staff
ok este code creo quedó bien en mi foro de pruebas va excelente

Código:
$(function ($) {
    var acordes = {
        cmy: {
            replacement: '<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>'
        },

        cp3: {
            replacement: '<a class=Ntooltip>Cp3<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>'
        },
        dmp5: {
            replacement: '<a class=Ntooltip>Dmp5<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/dmt510.png"></span></a>'
        },
        dp5: {
            replacement: '<a class=Ntooltip>Dp5<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>'
        },
        dbmy: {
            replacement: '<a class=Ntooltip>Db<span><img src="http://i19.servimg.com/u/f19/16/62/84/62/c10.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>'
        },
        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>'
        },
        emp7: {
            replacement: '<a class=Ntooltip>Emp7<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/emt710.png"></span></a>'
        },
        ep7: {
            replacement: '<a class=Ntooltip>Ep7<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>'
        },
        jsiete: {
            replacement: '<a class=Ntooltip>E 7<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/e710.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>'
        },
        fmp8: {
            replacement: '<a class=Ntooltip>Fmp8<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/fmt810.png"></span></a>'
        },
        fp8: {
            replacement: '<a class=Ntooltip>Fp8<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>'
        },
        f6b5: {
            replacement: '<a class=Ntooltip>F6/B5<span><img src="http://i18.servimg.com/u/f18/16/62/84/62/f610.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>'
        },
        gp3: {
            replacement: '<a class=Ntooltip>Gp3<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://i19.servimg.com/u/f19/16/62/84/62/g5t310.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>'
        },
        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>'
        },
        amp5: {
            replacement: '<a class=Ntooltip>Amp5<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/amt510.png"></span></a>'
        },
        ap5: {
            replacement: '<a class=Ntooltip>Ap5<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>'
        },
        asiete: {
            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>'
        },
        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>'
        },
        bmp7: {
            replacement: '<a class=Ntooltip>Bmp7<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/bnt710.png"></span></a>'
        },
        bp7: {
            replacement: '<a class=Ntooltip>Bp7<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/bt710.png"></span></a>'
        },
        unob: {
            replacement: '<a class=Ntooltip>B5<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/b510.png"></span></a>'
        },
        sisiete: {
            replacement: '<a class=Ntooltip>B7<span> <img src="http://i19.servimg.com/u/f19/16/62/84/62/b710.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>'
        }
     
    };
    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);
        });
    });
});

debes colocar los tags asi [el tag según el listado de variables] hubo algunos que cambie, asi que verifica que sean mayusculas o minusculas que estan en la variables acordes:{ listado, ahi puedes añadir mas
Chalo
avatar

¿Que estoy pensando? :

buen fin de semana, lunes con todo [table class=fecha_up][td]Se modifico:17/09/18 - 8:37 hrs. [/td][/table]


Banner en temas :

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


Color de titulos :

#fff


Sombra titulo :

0 0 1px #000


Mensajes :

6764


Puntos :

8849


Me gusta :

1022


ingreso :

17/04/2014


Sexo :

Masculino

Plataforma :

phpbb3


Navegador :

chrome


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

Volver arriba Ir abajo

staff
aqui ya esta instalado

http://musicinstant.forumotion.com/t173-acordes-rio-roma-cosas-que-nunca-te-dije

y deje unos cuantos de prueba tienes mucho trabajo
Chalo
avatar

¿Que estoy pensando? :

buen fin de semana, lunes con todo [table class=fecha_up][td]Se modifico:17/09/18 - 8:37 hrs. [/td][/table]


Banner en temas :

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


Color de titulos :

#fff


Sombra titulo :

0 0 1px #000


Mensajes :

6764


Puntos :

8849


Me gusta :

1022


ingreso :

17/04/2014


Sexo :

Masculino

Plataforma :

phpbb3


Navegador :

chrome


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

Volver arriba Ir abajo

staff
[tag]mrsrz[/tag]
Chalo
avatar

¿Que estoy pensando? :

buen fin de semana, lunes con todo [table class=fecha_up][td]Se modifico:17/09/18 - 8:37 hrs. [/td][/table]


Banner en temas :

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


Color de titulos :

#fff


Sombra titulo :

0 0 1px #000


Mensajes :

6764


Puntos :

8849


Me gusta :

1022


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.