This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<!DOCTYPE html> | |
<html lang='es'> | |
<head> | |
<b:skin><![CDATA[]]></b:skin> | |
<link href='https://dl.dropboxusercontent.com/u/69931585/TUTORIALES/estilos.css' rel='stylesheet' type='text/css'/> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Explicación: | |
// Para que pueda funcionar, deberás establecer el selector correcto en la variable editor_url que contenga el parámetro href correcto. | |
//Si te genera confusión, copia este código debajo de <data:post.body/>: | |
// <a id="post-editor" expr:href="data:post.url" style="display:none;"><data:post.title/></a> | |
$(document).keydown(function(e) { | |
if(e.which == 69 && e.ctrlKey && e.altKey) { | |
var editor_url = $("#post-title, #post-editor").attr("href"); | |
var ventana_editar = window.open(editor_url, "Editar Entrada", "width=800, height=600"); |