elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Tutorial básico de Quickjs


+  Foro de elhacker.net
|-+  Programación
| |-+  Desarrollo Web (Moderador: #!drvy)
| | |-+  ¿Me ayudan con un codigo?
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] 2 Ir Abajo Respuesta Imprimir
Autor Tema: ¿Me ayudan con un codigo?  (Leído 4,437 veces)
Diaf96

Desconectado Desconectado

Mensajes: 119



Ver Perfil
¿Me ayudan con un codigo?
« en: 3 Abril 2012, 18:48 pm »

Hola, me gustaría que me ayudaran a añadir este header: http://i41.tinypic.com/i3c8c2.png un contador de visitas y decirme dodne esta el codigo del color del background para cambiarlo de este codigo, porfavor.
Gracias.

Código
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2.  
  3. <title>Convert Binary to ASCII or ASCII to Binary</title>
  4. <style type="text/css">
  5. BODY {font:12px Arial;}
  6. a {text-decoration: none}
  7. TD.ts {font:24px Arial;font-weight:bold;text-align:center;}
  8. TD.ts1 {font:12px Arial;text-align:center;background-color:silver;}
  9. TD.ts2 {font:10px Arial;text-align:left;vertical-align:top;background-color:white;}
  10. TD.ts3 {font:10px Arial;text-align:center;vertical-align:top;background-color:white;}
  11. </style>
  12. </head>
  13.  
  14. <body text="black" link="blue" vlink="blue" alink="red">
  15. <script language="JavaScript1.2">
  16. // Conversion from Binary to ASCII or ASCII to Binary
  17. // Created by G. Marshall Brown
  18. // Copyright 2002 G. Marshall Brown
  19. // version 1.0 -- created 4/29/02
  20. // version 1.1 -- modified 12/04/02 Added many characters that weren't in version 1.0.
  21. // version XX -- modified --/--/--
  22. // All rights reserved, no modification without prior consent from creator.
  23. // Usage is free if Copyright statement remains intact.
  24. function dobin(text,sepa) {
  25. var letbin = ""
  26. for (i=0; i<text.length;i++) {
  27.  
  28. let = text.substr(i,1);
  29. if (i>0) {
  30. var sep = sepa;
  31. if (i % 10 == 0) {
  32. letbin=letbin+'<BR>'
  33. }
  34. }
  35. else {
  36. var sep = "";
  37. }
  38.  
  39. //Ascii -- Binary Code
  40. if (let ==  "A") {letbin = letbin + sep + '01000001'}
  41. if (let ==  "B") {letbin = letbin + sep + '01000010'}
  42. if (let ==  "C") {letbin = letbin + sep + '01000011'}
  43. if (let ==  "D") {letbin = letbin + sep + '01000100'}
  44. if (let ==  "E") {letbin = letbin + sep + '01000101'}
  45. if (let ==  "F") {letbin = letbin + sep + '01000110'}
  46. if (let ==  "G") {letbin = letbin + sep + '01000111'}
  47. if (let ==  "H") {letbin = letbin + sep + '01001000'}
  48. if (let ==  "I") {letbin = letbin + sep + '01001001'}
  49. if (let ==  "J") {letbin = letbin + sep + '01001010'}
  50. if (let ==  "K") {letbin = letbin + sep + '01001011'}
  51. if (let ==  "L") {letbin = letbin + sep + '01001100'}
  52. if (let ==  "M") {letbin = letbin + sep + '01001101'}
  53. if (let ==  "N") {letbin = letbin + sep + '01001110'}
  54. if (let ==  "O") {letbin = letbin + sep + '01001111'}
  55. if (let ==  "P") {letbin = letbin + sep + '01010000'}
  56. if (let ==  "Q") {letbin = letbin + sep + '01010001'}
  57. if (let ==  "R") {letbin = letbin + sep + '01010010'}
  58. if (let ==  "S") {letbin = letbin + sep + '01010011'}
  59. if (let ==  "T") {letbin = letbin + sep + '01010100'}
  60. if (let ==  "U") {letbin = letbin + sep + '01010101'}
  61. if (let ==  "V") {letbin = letbin + sep + '01010110'}
  62. if (let ==  "W") {letbin = letbin + sep + '01010111'}
  63. if (let ==  "X") {letbin = letbin + sep + '01011000'}
  64. if (let ==  "Y") {letbin = letbin + sep + '01011001'}
  65. if (let ==  "Z") {letbin = letbin + sep + '01011010'}
  66. if (let ==  "a") {letbin = letbin + sep + '01100001'}
  67. if (let ==  "b") {letbin = letbin + sep + '01100010'}
  68. if (let ==  "c") {letbin = letbin + sep + '01100011'}
  69. if (let ==  "d") {letbin = letbin + sep + '01100100'}
  70. if (let ==  "e") {letbin = letbin + sep + '01100101'}
  71. if (let ==  "f") {letbin = letbin + sep + '01100110'}
  72. if (let ==  "g") {letbin = letbin + sep + '01100111'}
  73. if (let ==  "h") {letbin = letbin + sep + '01101000'}
  74. if (let ==  "i") {letbin = letbin + sep + '01101001'}
  75. if (let ==  "j") {letbin = letbin + sep + '01101010'}
  76. if (let ==  "k") {letbin = letbin + sep + '01101011'}
  77. if (let ==  "l") {letbin = letbin + sep + '01101100'}
  78. if (let ==  "m") {letbin = letbin + sep + '01101101'}
  79. if (let ==  "n") {letbin = letbin + sep + '01101110'}
  80. if (let ==  "o") {letbin = letbin + sep + '01101111'}
  81. if (let ==  "p") {letbin = letbin + sep + '01110000'}
  82. if (let ==  "q") {letbin = letbin + sep + '01110001'}
  83. if (let ==  "r") {letbin = letbin + sep + '01110010'}
  84. if (let ==  "s") {letbin = letbin + sep + '01110011'}
  85. if (let ==  "t") {letbin = letbin + sep + '01110100'}
  86. if (let ==  "u") {letbin = letbin + sep + '01110101'}
  87. if (let ==  "v") {letbin = letbin + sep + '01110110'}
  88. if (let ==  "w") {letbin = letbin + sep + '01110111'}
  89. if (let ==  "x") {letbin = letbin + sep + '01111000'}
  90. if (let ==  "y") {letbin = letbin + sep + '01111001'}
  91. if (let ==  "z") {letbin = letbin + sep + '01111010'}
  92. if (let ==  " ") {letbin = letbin + sep + '00100000'}
  93.  
  94. //Numbers:
  95. if (let ==  "0") {letbin = letbin + sep + '00110000'}
  96. if (let ==  "1") {letbin = letbin + sep + '00110001'}
  97. if (let ==  "2") {letbin = letbin + sep + '00110010'}
  98. if (let ==  "3") {letbin = letbin + sep + '00110011'}
  99. if (let ==  "4") {letbin = letbin + sep + '00110100'}
  100. if (let ==  "5") {letbin = letbin + sep + '00110101'}
  101. if (let ==  "6") {letbin = letbin + sep + '00110110'}
  102. if (let ==  "7") {letbin = letbin + sep + '00110111'}
  103. if (let ==  "8") {letbin = letbin + sep + '00111000'}
  104. if (let ==  "9") {letbin = letbin + sep + '00111001'}
  105.  
  106. //Special Characters:
  107. if (let ==  "!") {letbin = letbin + sep + '00100001'}
  108. if (let ==  "\"") {letbin = letbin + sep + '00100010'}
  109. if (let ==  "#") {letbin = letbin + sep + '00100011'}
  110. if (let ==  "$") {letbin = letbin + sep + '00100100'}
  111. if (let ==  "%") {letbin = letbin + sep + '00100101'}
  112. if (let ==  "&") {letbin = letbin + sep + '00100110'}
  113. if (let ==  "'") {letbin = letbin + sep + '00100111'}
  114. if (let ==  "(") {letbin = letbin + sep + '00101000'}
  115. if (let ==  ")") {letbin = letbin + sep + '00101001'}
  116. if (let ==  "*") {letbin = letbin + sep + '00101010'}
  117. if (let ==  "+") {letbin = letbin + sep + '00101011'}
  118. if (let ==  ",") {letbin = letbin + sep + '00101100'}
  119. if (let ==  "-") {letbin = letbin + sep + '00101101'}
  120. if (let ==  ".") {letbin = letbin + sep + '00101110'}
  121. if (let ==  "/") {letbin = letbin + sep + '00101111'}
  122. if (let ==  ":") {letbin = letbin + sep + '00111010'}
  123. if (let ==  ";") {letbin = letbin + sep + '00111011'}
  124. if (let ==  "<") {letbin = letbin + sep + '00111100'}
  125. if (let ==  "=") {letbin = letbin + sep + '00111101'}
  126. if (let ==  ">") {letbin = letbin + sep + '00111110'}
  127. if (let ==  "?") {letbin = letbin + sep + '00111111'}
  128. if (let ==  "@") {letbin = letbin + sep + '01000000'}
  129. if (let ==  "[") {letbin = letbin + sep + '01011011'}
  130. if (let ==  "\\") {letbin = letbin + sep + '01011100'}
  131. if (let ==  "]") {letbin = letbin + sep + '01011101'}
  132. if (let ==  "^") {letbin = letbin + sep + '01011110'}
  133. if (let ==  "_") {letbin = letbin + sep + '01011111'}
  134. if (let ==  "`") {letbin = letbin + sep + '01100000'}
  135. if (let ==  "{") {letbin = letbin + sep + '01111011'}
  136. if (let ==  "|") {letbin = letbin + sep + '01111100'}
  137. if (let ==  "}") {letbin = letbin + sep + '01111101'}
  138. if (let ==  "~") {letbin = letbin + sep + '01111110'}
  139. if (let ==  "€") {letbin = letbin + sep + '10000000'}
  140. if (let ==  "¡") {letbin = letbin + sep + '10100001'}
  141. if (let ==  "¢") {letbin = letbin + sep + '10100010'}
  142. if (let ==  "£") {letbin = letbin + sep + '10100011'}
  143. if (let ==  "¤") {letbin = letbin + sep + '10100100'}
  144. if (let ==  "¥") {letbin = letbin + sep + '10100101'}
  145. if (let ==  "¦") {letbin = letbin + sep + '10100110'}
  146. if (let ==  "§") {letbin = letbin + sep + '10100111'}
  147. if (let ==  "¨") {letbin = letbin + sep + '10100111'}
  148. if (let ==  "©") {letbin = letbin + sep + '10101001'}
  149. if (let ==  "ª") {letbin = letbin + sep + '10101010'}
  150. if (let ==  "«") {letbin = letbin + sep + '10101011'}
  151. if (let ==  "¬") {letbin = letbin + sep + '10101100'}
  152. if (let ==  "­") {letbin = letbin + sep + '10101101'}
  153. if (let ==  "®") {letbin = letbin + sep + '10101110'}
  154. if (let ==  "¯") {letbin = letbin + sep + '10101111'}
  155. if (let ==  "°") {letbin = letbin + sep + '10110000'}
  156. if (let ==  "±") {letbin = letbin + sep + '10110001'}
  157. if (let ==  "²") {letbin = letbin + sep + '10110010'}
  158. if (let ==  "³") {letbin = letbin + sep + '10110011'}
  159. if (let ==  "´") {letbin = letbin + sep + '10110100'}
  160. if (let ==  "µ") {letbin = letbin + sep + '10110101'}
  161. if (let ==  "¶") {letbin = letbin + sep + '10110110'}
  162. if (let ==  "·") {letbin = letbin + sep + '10110111'}
  163. if (let ==  "¸") {letbin = letbin + sep + '10111000'}
  164. if (let ==  "¹") {letbin = letbin + sep + '10111001'}
  165. if (let ==  "º") {letbin = letbin + sep + '10111010'}
  166. if (let ==  "»") {letbin = letbin + sep + '10111011'}
  167. if (let ==  "¼") {letbin = letbin + sep + '10111100'}
  168. if (let ==  "½") {letbin = letbin + sep + '10111101'}
  169. if (let ==  "¾") {letbin = letbin + sep + '10111110'}
  170. if (let ==  "¿") {letbin = letbin + sep + '10111111'}
  171. if (let ==  "À") {letbin = letbin + sep + '11000000'}
  172. if (let ==  "Á") {letbin = letbin + sep + '11000001'}
  173. if (let ==  "") {letbin = letbin + sep + '11000010'}
  174. if (let ==  "Ã") {letbin = letbin + sep + '11000011'}
  175. if (let ==  "Ä") {letbin = letbin + sep + '11000100'}
  176. if (let ==  "Å") {letbin = letbin + sep + '11000101'}
  177. if (let ==  "Æ") {letbin = letbin + sep + '11000110'}
  178. if (let ==  "Ç") {letbin = letbin + sep + '11000111'}
  179. if (let ==  "È") {letbin = letbin + sep + '11001000'}
  180. if (let ==  "É") {letbin = letbin + sep + '11001001'}
  181. if (let ==  "Ê") {letbin = letbin + sep + '11001010'}
  182. if (let ==  "Ë") {letbin = letbin + sep + '11001011'}
  183. if (let ==  "Ì") {letbin = letbin + sep + '11001100'}
  184. if (let ==  "Í") {letbin = letbin + sep + '11001101'}
  185. if (let ==  "Î") {letbin = letbin + sep + '11001110'}
  186. if (let ==  "Ï") {letbin = letbin + sep + '11001111'}
  187. if (let ==  "Ð") {letbin = letbin + sep + '11010000'}
  188. if (let ==  "Ñ") {letbin = letbin + sep + '11010001'}
  189. if (let ==  "Ò") {letbin = letbin + sep + '11010010'}
  190. if (let ==  "Ó") {letbin = letbin + sep + '11010011'}
  191. if (let ==  "Ô") {letbin = letbin + sep + '11010100'}
  192. if (let ==  "Õ") {letbin = letbin + sep + '11010101'}
  193. if (let ==  "Ö") {letbin = letbin + sep + '11010110'}
  194. if (let ==  "×") {letbin = letbin + sep + '11010111'}
  195. if (let ==  "Ø") {letbin = letbin + sep + '11011000'}
  196. if (let ==  "Ù") {letbin = letbin + sep + '11011001'}
  197. if (let ==  "Ú") {letbin = letbin + sep + '11011010'}
  198. if (let ==  "Û") {letbin = letbin + sep + '11011011'}
  199. if (let ==  "Ü") {letbin = letbin + sep + '11011100'}
  200. if (let ==  "Ý") {letbin = letbin + sep + '11011101'}
  201. if (let ==  "Þ") {letbin = letbin + sep + '11011110'}
  202. if (let ==  "ß") {letbin = letbin + sep + '11011111'}
  203. if (let ==  "à") {letbin = letbin + sep + '11100000'}
  204. if (let ==  "á") {letbin = letbin + sep + '11100001'}
  205. if (let ==  "") {letbin = letbin + sep + '11100010'}
  206. if (let ==  "ã") {letbin = letbin + sep + '11100011'}
  207. if (let ==  "ä") {letbin = letbin + sep + '11100100'}
  208. if (let ==  "å") {letbin = letbin + sep + '11100101'}
  209. if (let ==  "æ") {letbin = letbin + sep + '11100110'}
  210. if (let ==  "ç") {letbin = letbin + sep + '11100111'}
  211. if (let ==  "è") {letbin = letbin + sep + '11101000'}
  212. if (let ==  "é") {letbin = letbin + sep + '11101001'}
  213. if (let ==  "ê") {letbin = letbin + sep + '11101010'}
  214. if (let ==  "ë") {letbin = letbin + sep + '11101011'}
  215. if (let ==  "ì") {letbin = letbin + sep + '11101100'}
  216. if (let ==  "í") {letbin = letbin + sep + '11101101'}
  217. if (let ==  "î") {letbin = letbin + sep + '11101110'}
  218. if (let ==  "ï") {letbin = letbin + sep + '11101111'}
  219. if (let ==  "ð") {letbin = letbin + sep + '11110000'}
  220. if (let ==  "ñ") {letbin = letbin + sep + '11110001'}
  221. if (let ==  "ò") {letbin = letbin + sep + '11110010'}
  222. if (let ==  "ó") {letbin = letbin + sep + '11110011'}
  223. if (let ==  "ô") {letbin = letbin + sep + '11110100'}
  224. if (let ==  "õ") {letbin = letbin + sep + '11110101'}
  225. if (let ==  "ö") {letbin = letbin + sep + '11110110'}
  226. if (let ==  "÷") {letbin = letbin + sep + '11110111'}
  227. if (let ==  "ø") {letbin = letbin + sep + '11111000'}
  228. if (let ==  "ù") {letbin = letbin + sep + '11111001'}
  229. if (let ==  "ú") {letbin = letbin + sep + '11111010'}
  230. if (let ==  "û") {letbin = letbin + sep + '11111011'}
  231. if (let ==  "û") {letbin = letbin + sep + '11111100'}
  232. if (let ==  "ý") {letbin = letbin + sep + '11111101'}
  233. if (let ==  "þ") {letbin = letbin + sep + '11111110'}
  234. if (let ==  "ÿ") {letbin = letbin + sep + '11111111'}
  235.  
  236. }
  237. binary.innerHTML = letbin
  238. return false;
  239. }
  240.  
  241. function doasc(text) {
  242.  
  243. if (text.length % 8 != 0) {
  244. alert (text + " is not an even binary.\n\nYou may have missed a digit or maybe added an additional digit/character.\n\nSeparaters are NOT required here.")
  245. return false;
  246. last;
  247. }
  248. var letasc = ""
  249. lettot = text.length / 8
  250. j=0
  251. for (i=0; i<lettot;i++) {
  252.  
  253. let = text.substr(j,8);
  254.  
  255.  
  256.  
  257. if (let ==  "01000001") {letasc = letasc + 'A'}
  258. if (let ==  "01000010") {letasc = letasc + 'B'}
  259. if (let ==  "01000011") {letasc = letasc + 'C'}
  260. if (let ==  "01000100") {letasc = letasc + 'D'}
  261. if (let ==  "01000101") {letasc = letasc + 'E'}
  262. if (let ==  "01000110") {letasc = letasc + 'F'}
  263. if (let ==  "01000111") {letasc = letasc + 'G'}
  264. if (let ==  "01001000") {letasc = letasc + 'H'}
  265. if (let ==  "01001001") {letasc = letasc + 'I'}
  266. if (let ==  "01001010") {letasc = letasc + 'J'}
  267. if (let ==  "01001011") {letasc = letasc + 'K'}
  268. if (let ==  "01001100") {letasc = letasc + 'L'}
  269. if (let ==  "01001101") {letasc = letasc + 'M'}
  270. if (let ==  "01001110") {letasc = letasc + 'N'}
  271. if (let ==  "01001111") {letasc = letasc + 'O'}
  272. if (let ==  "01010000") {letasc = letasc + 'P'}
  273. if (let ==  "01010001") {letasc = letasc + 'Q'}
  274. if (let ==  "01010010") {letasc = letasc + 'R'}
  275. if (let ==  "01010011") {letasc = letasc + 'S'}
  276. if (let ==  "01010100") {letasc = letasc + 'T'}
  277. if (let ==  "01010101") {letasc = letasc + 'U'}
  278. if (let ==  "01010110") {letasc = letasc + 'V'}
  279. if (let ==  "01010111") {letasc = letasc + 'W'}
  280. if (let ==  "01011000") {letasc = letasc + 'X'}
  281. if (let ==  "01011001") {letasc = letasc + 'Y'}
  282. if (let ==  "01011010") {letasc = letasc + 'Z'}
  283. if (let ==  "01100001") {letasc = letasc + 'a'}
  284. if (let ==  "01100010") {letasc = letasc + 'b'}
  285. if (let ==  "01100011") {letasc = letasc + 'c'}
  286. if (let ==  "01100100") {letasc = letasc + 'd'}
  287. if (let ==  "01100101") {letasc = letasc + 'e'}
  288. if (let ==  "01100110") {letasc = letasc + 'f'}
  289. if (let ==  "01100111") {letasc = letasc + 'g'}
  290. if (let ==  "01101000") {letasc = letasc + 'h'}
  291. if (let ==  "01101001") {letasc = letasc + 'i'}
  292. if (let ==  "01101010") {letasc = letasc + 'j'}
  293. if (let ==  "01101011") {letasc = letasc + 'k'}
  294. if (let ==  "01101100") {letasc = letasc + 'l'}
  295. if (let ==  "01101101") {letasc = letasc + 'm'}
  296. if (let ==  "01101110") {letasc = letasc + 'n'}
  297. if (let ==  "01101111") {letasc = letasc + 'o'}
  298. if (let ==  "01110000") {letasc = letasc + 'p'}
  299. if (let ==  "01110001") {letasc = letasc + 'q'}
  300. if (let ==  "01110010") {letasc = letasc + 'r'}
  301. if (let ==  "01110011") {letasc = letasc + 's'}
  302. if (let ==  "01110100") {letasc = letasc + 't'}
  303. if (let ==  "01110101") {letasc = letasc + 'u'}
  304. if (let ==  "01110110") {letasc = letasc + 'v'}
  305. if (let ==  "01110111") {letasc = letasc + 'w'}
  306. if (let ==  "01111000") {letasc = letasc + 'x'}
  307. if (let ==  "01111001") {letasc = letasc + 'y'}
  308. if (let ==  "01111010") {letasc = letasc + 'z'}
  309. if (let ==  "00100000") {letasc = letasc + ' '}
  310.  
  311. //Numbers:
  312. if (let ==  "00110000") {letasc = letasc + '0'}
  313. if (let ==  "00110001") {letasc = letasc + '1'}
  314. if (let ==  "00110010") {letasc = letasc + '2'}
  315. if (let ==  "00110011") {letasc = letasc + '3'}
  316. if (let ==  "00110100") {letasc = letasc + '4'}
  317. if (let ==  "00110101") {letasc = letasc + '5'}
  318. if (let ==  "00110110") {letasc = letasc + '6'}
  319. if (let ==  "00110111") {letasc = letasc + '7'}
  320. if (let ==  "00111000") {letasc = letasc + '8'}
  321. if (let ==  "00111001") {letasc = letasc + '9'}
  322.  
  323. //Special Characters:
  324. if (let ==  "00100001") {letasc = letasc + '!'}
  325. if (let ==  "00100010") {letasc = letasc + '\"'}
  326. if (let ==  "00100011") {letasc = letasc + '#'}
  327. if (let ==  "00100100") {letasc = letasc + '$'}
  328. if (let ==  "00100101") {letasc = letasc + '%'}
  329. if (let ==  "00100110") {letasc = letasc + '&'}
  330. if (let ==  "00100111") {letasc = letasc + '\''}
  331. if (let ==  "00101000") {letasc = letasc + '('}
  332. if (let ==  "00101001") {letasc = letasc + ')'}
  333. if (let ==  "00101010") {letasc = letasc + '*'}
  334. if (let ==  "00101011") {letasc = letasc + '+'}
  335. if (let ==  "00101100") {letasc = letasc + ','}
  336. if (let ==  "00101101") {letasc = letasc + '-'}
  337. if (let ==  "00101110") {letasc = letasc + '.'}
  338. if (let ==  "00101111") {letasc = letasc + '/'}
  339. if (let ==  "00111010") {letasc = letasc + ':'}
  340. if (let ==  "00111011") {letasc = letasc + ';'}
  341. if (let ==  "00111100") {letasc = letasc + '<'}
  342. if (let ==  "00111101") {letasc = letasc + '='}
  343. if (let ==  "00111110") {letasc = letasc + '>'}
  344. if (let ==  "00111111") {letasc = letasc + '?'}
  345. if (let ==  "01000000") {letasc = letasc + '@'}
  346. if (let ==  "01011011") {letasc = letasc + '['}
  347. if (let ==  "01011100") {letasc = letasc + '\\'}
  348. if (let ==  "01011101") {letasc = letasc + ']'}
  349. if (let ==  "01011110") {letasc = letasc + '^'}
  350. if (let ==  "01011111") {letasc = letasc + '_'}
  351. if (let ==  "01100000") {letasc = letasc + '`'}
  352. if (let ==  "01111011") {letasc = letasc + '{'}
  353. if (let ==  "01111100") {letasc = letasc + '|'}
  354. if (let ==  "01111101") {letasc = letasc + '}'}
  355. if (let ==  "01111110") {letasc = letasc + '~'}
  356. if (let ==  "10000000") {letasc = letasc + '€'}
  357. if (let ==  "10100001") {letasc = letasc + '¡'}
  358. if (let ==  "10100010") {letasc = letasc + '¢'}
  359. if (let ==  "10100011") {letasc = letasc + '£'}
  360. if (let ==  "10100100") {letasc = letasc + '¤'}
  361. if (let ==  "10100101") {letasc = letasc + '¥'}
  362. if (let ==  "10100110") {letasc = letasc + '¦'}
  363. if (let ==  "10100111") {letasc = letasc + '§'}
  364. if (let ==  "10100111") {letasc = letasc + '¨'}
  365. if (let ==  "10101001") {letasc = letasc + '©'}
  366. if (let ==  "10101010") {letasc = letasc + 'ª'}
  367. if (let ==  "10101011") {letasc = letasc + '«'}
  368. if (let ==  "10101100") {letasc = letasc + '¬'}
  369. if (let ==  "10101101") {letasc = letasc + '­'}
  370. if (let ==  "10101110") {letasc = letasc + '®'}
  371. if (let ==  "10101111") {letasc = letasc + '¯'}
  372. if (let ==  "10110000") {letasc = letasc + '°'}
  373. if (let ==  "10110001") {letasc = letasc + '±'}
  374. if (let ==  "10110010") {letasc = letasc + '²'}
  375. if (let ==  "10110011") {letasc = letasc + '³'}
  376. if (let ==  "10110100") {letasc = letasc + '´'}
  377. if (let ==  "10110101") {letasc = letasc + 'µ'}
  378. if (let ==  "10110110") {letasc = letasc + '¶'}
  379. if (let ==  "10110111") {letasc = letasc + '·'}
  380. if (let ==  "10111000") {letasc = letasc + '¸'}
  381. if (let ==  "10111001") {letasc = letasc + '¹'}
  382. if (let ==  "10111010") {letasc = letasc + 'º'}
  383. if (let ==  "10111011") {letasc = letasc + '»'}
  384. if (let ==  "10111100") {letasc = letasc + '¼'}
  385. if (let ==  "10111101") {letasc = letasc + '½'}
  386. if (let ==  "10111110") {letasc = letasc + '¾'}
  387. if (let ==  "10111111") {letasc = letasc + '¿'}
  388. if (let ==  "11000000") {letasc = letasc + 'À'}
  389. if (let ==  "11000001") {letasc = letasc + 'Á'}
  390. if (let ==  "11000010") {letasc = letasc + ''}
  391. if (let ==  "11000011") {letasc = letasc + 'Ã'}
  392. if (let ==  "11000100") {letasc = letasc + 'Ä'}
  393. if (let ==  "11000101") {letasc = letasc + 'Å'}
  394. if (let ==  "11000110") {letasc = letasc + 'Æ'}
  395. if (let ==  "11000111") {letasc = letasc + 'Ç'}
  396. if (let ==  "11001000") {letasc = letasc + 'È'}
  397. if (let ==  "11001001") {letasc = letasc + 'É'}
  398. if (let ==  "11001010") {letasc = letasc + 'Ê'}
  399. if (let ==  "11001011") {letasc = letasc + 'Ë'}
  400. if (let ==  "11001100") {letasc = letasc + 'Ì'}
  401. if (let ==  "11001101") {letasc = letasc + 'Í'}
  402. if (let ==  "11001110") {letasc = letasc + 'Î'}
  403. if (let ==  "11001111") {letasc = letasc + 'Ï'}
  404. if (let ==  "11010000") {letasc = letasc + 'Ð'}
  405. if (let ==  "11010001") {letasc = letasc + 'Ñ'}
  406. if (let ==  "11010010") {letasc = letasc + 'Ò'}
  407. if (let ==  "11010011") {letasc = letasc + 'Ó'}
  408. if (let ==  "11010100") {letasc = letasc + 'Ô'}
  409. if (let ==  "11010101") {letasc = letasc + 'Õ'}
  410. if (let ==  "11010110") {letasc = letasc + 'Ö'}
  411. if (let ==  "11010111") {letasc = letasc + '×'}
  412. if (let ==  "11011000") {letasc = letasc + 'Ø'}
  413. if (let ==  "11011001") {letasc = letasc + 'Ù'}
  414. if (let ==  "11011010") {letasc = letasc + 'Ú'}
  415. if (let ==  "11011011") {letasc = letasc + 'Û'}
  416. if (let ==  "11011100") {letasc = letasc + 'Ü'}
  417. if (let ==  "11011101") {letasc = letasc + 'Ý'}
  418. if (let ==  "11011110") {letasc = letasc + 'Þ'}
  419. if (let ==  "11011111") {letasc = letasc + 'ß'}
  420. if (let ==  "11100000") {letasc = letasc + 'à'}
  421. if (let ==  "11100001") {letasc = letasc + 'á'}
  422. if (let ==  "11100010") {letasc = letasc + ''}
  423. if (let ==  "11100011") {letasc = letasc + 'ã'}
  424. if (let ==  "11100100") {letasc = letasc + 'ä'}
  425. if (let ==  "11100101") {letasc = letasc + 'å'}
  426. if (let ==  "11100110") {letasc = letasc + 'æ'}
  427. if (let ==  "11100111") {letasc = letasc + 'ç'}
  428. if (let ==  "11101000") {letasc = letasc + 'è'}
  429. if (let ==  "11101001") {letasc = letasc + 'é'}
  430. if (let ==  "11101010") {letasc = letasc + 'ê'}
  431. if (let ==  "11101011") {letasc = letasc + 'ë'}
  432. if (let ==  "11101100") {letasc = letasc + 'ì'}
  433. if (let ==  "11101101") {letasc = letasc + 'í'}
  434. if (let ==  "11101110") {letasc = letasc + 'î'}
  435. if (let ==  "11101111") {letasc = letasc + 'ï'}
  436. if (let ==  "11110000") {letasc = letasc + 'ð'}
  437. if (let ==  "11110001") {letasc = letasc + 'ñ'}
  438. if (let ==  "11110010") {letasc = letasc + 'ò'}
  439. if (let ==  "11110011") {letasc = letasc + 'ó'}
  440. if (let ==  "11110100") {letasc = letasc + 'ô'}
  441. if (let ==  "11110101") {letasc = letasc + 'õ'}
  442. if (let ==  "11110110") {letasc = letasc + 'ö'}
  443. if (let ==  "11110111") {letasc = letasc + '÷'}
  444. if (let ==  "11111000") {letasc = letasc + 'ø'}
  445. if (let ==  "11111001") {letasc = letasc + 'ù'}
  446. if (let ==  "11111010") {letasc = letasc + 'ú'}
  447. if (let ==  "11111011") {letasc = letasc + 'û'}
  448. if (let ==  "11111100") {letasc = letasc + 'û'}
  449. if (let ==  "11111101") {letasc = letasc + 'ý'}
  450. if (let ==  "11111110") {letasc = letasc + 'þ'}
  451. if (let ==  "11111111") {letasc = letasc + 'ÿ'}
  452. if (letasc == "") {
  453. alert ("not found")
  454. break;
  455. }
  456. j=j+8
  457. }
  458. ascii.innerHTML = letasc
  459. return false;
  460. }
  461. E-mail any comments to <a href="mailto:theskull@theskull.com?SUBJECT=Ascii--Binary Converter"><strong>THe SKuLL!!™</strong></a><br><br>
  462. << <a href="/">http://www.theskull.com</a> >><br><br>
  463. <strong><font color="#FF0000">NOTE:</font></strong><br>
  464. Not all characters are supported.<br>
  465. However, I have updated the list.<br>
  466. <a href="ascii-binary-list.html" target="_blank">A list of characters is also availabe here.</a><br>
  467. <strong><font color="#FF0000">Updated: Dec 4, 2002</font></strong><br>
  468.  
  469. <form name="asc2bin">
  470. <strong>Convert to Binary</strong><br>
  471. Enter Text: <input type="Text" name="text" size="92"><br>
  472. Separate with: <input type="Text" name="separater" maxlength="1" size="1"> (optional)<br>
  473. <input type="Submit" value="Convert" onclick="dobin(document.asc2bin.text.value,document.asc2bin.separater.value);return false"><br>
  474. </form><div name="binary" id="binary">Binary Conversion will show here.</div><br><br>
  475. <form name="bin2asc">
  476. <strong>Convert to Ascii</strong><br>
  477. Enter Binary: <input type="Text" name="text" size="90"><br>
  478. <input type="Submit" value="Convert" onclick="doasc(document.bin2asc.text.value);return false"><br>
  479. </form>
  480. <div name="ascii" id="ascii">ASCII Conversion will show here.</div><br><br>
  481. <table align="center"><tr><td align="center" class="ts3"><strong><font color="#FF0000">010000100111100101110100011001010010000001001101011001010010000100100001</font></strong><br><img src="/iremember.gif" alt="I Remember Sep 11, 2001" width="203" height="40" border="0"><br>© 2002 G. Marshall Brown<br>
  482. Since Apr 29, 2002<br>
  483. <img src="digits/1.gif" align="absmiddle">
  484. </td></tr></table></body>
  485. </html>



« Última modificación: 4 Abril 2012, 14:34 pm por Aprendiz-Oscuro » En línea

Spider-Net


Desconectado Desconectado

Mensajes: 1.165


Un gran poder conlleva una gran responsabilidad


Ver Perfil WWW
Re: ¿Me ayudan con un codigo?
« Respuesta #1 en: 3 Abril 2012, 23:37 pm »

Hola me llamo Geshi y sirvo para colorear los códigos y que la gente se digne a leerlos:



De nada.


En línea

Diaf96

Desconectado Desconectado

Mensajes: 119



Ver Perfil
Re: ¿Me ayudan con un codigo?
« Respuesta #2 en: 4 Abril 2012, 13:54 pm »

Lo siento, no le entiendo.
En línea

Diaf96

Desconectado Desconectado

Mensajes: 119



Ver Perfil
Re: ¿Me ayudan con un codigo?
« Respuesta #3 en: 5 Abril 2012, 13:36 pm »

Creo que ya esta cambiado el codigo, he estado bsucando y no encuentro el sitio donde cambiar el codigo de color del fondo, ademas al meter el header se me va gran parte del codigo.
En línea

vanO


Desconectado Desconectado

Mensajes: 561


Hace tanto y es tan poco el q no estas...


Ver Perfil WWW
Re: ¿Me ayudan con un codigo?
« Respuesta #4 en: 8 Abril 2012, 21:44 pm »

Spider-net, si no vas a explicar nada mejor no comentes  ;)

Y a ver... recordando mis tiempos de webmaster... cuando te refieres al color del background te estás refiriendo al background de la web? si es así entonces tienes que agregarle esa etiqueta a la línea esta:

<body text="black" link="blue" vlink="blue" alink="red" background="#000000">

Y cuando te refieres al header, te estás refiriendo a poner esa imagen como un banner principal de título de tu web? si es así entonces eso deberías ponerlo dentro del BODY... lo mejor sería que uses tablas para organizar todo el espacio.

Has probado usar Dreamweaver?
Suerte.
En línea

"Habia un elefante que llamaba maiz y un pollito   
                          se lo comio"


"Que es un punto morado en el cielo ??...Super Uvaa"

  vanO - > Mar de Copas -> Una banda de Culto -.-
Spider-Net


Desconectado Desconectado

Mensajes: 1.165


Un gran poder conlleva una gran responsabilidad


Ver Perfil WWW
Re: ¿Me ayudan con un codigo?
« Respuesta #5 en: 10 Abril 2012, 22:42 pm »

Perdona que te diga, pero le he enseñado como se usa el Geshi, que es bastante importante si quieres que alguien se moleste en leer tus códigos.

Por otro lado no sabía que eras el encargado de decidir quien debe y no debe comentar. Seguramente ha sido mucho más útil mi comentario que el tuyo. Así que deja de decir sandeces por favor..

Documéntate un poquito acerca de CSS antes de decirle cosas desfasadas al usuario
« Última modificación: 10 Abril 2012, 22:44 pm por Spider-Net » En línea

vanO


Desconectado Desconectado

Mensajes: 561


Hace tanto y es tan poco el q no estas...


Ver Perfil WWW
Re: ¿Me ayudan con un codigo?
« Respuesta #6 en: 11 Abril 2012, 04:39 am »

Citar
« Última modificación: Hoy a las 05:44 por Spider-Net »

 :laugh:

No sé por qué te exaltas xD, yo digo lo que pienso y solo ví que tomaste una foto a la parte de respuestas... y si no te has dado cuenta el muchacho necesita ayuda en un entorno HTML... no a poner colorsito a sus mensajes de foro.
En línea

"Habia un elefante que llamaba maiz y un pollito   
                          se lo comio"


"Que es un punto morado en el cielo ??...Super Uvaa"

  vanO - > Mar de Copas -> Una banda de Culto -.-
Spider-Net


Desconectado Desconectado

Mensajes: 1.165


Un gran poder conlleva una gran responsabilidad


Ver Perfil WWW
Re: ¿Me ayudan con un codigo?
« Respuesta #7 en: 11 Abril 2012, 13:49 pm »

Su código no estaba coloreado hasta que yo se lo expliqué, además veo que tú tampoco tienes ni idea de lo que es Geshi así que tampoco te vendría mal echarle un vistazo. Si no sabes de que va el asunto mejor no opines, porque quedas mal...
En línea

vanO


Desconectado Desconectado

Mensajes: 561


Hace tanto y es tan poco el q no estas...


Ver Perfil WWW
Re: ¿Me ayudan con un codigo?
« Respuesta #8 en: 12 Abril 2012, 17:39 pm »

Ayayayay... pero acaso Geshi sirve para usarlo dentro de una web? pensé que solo era para usarlo en el foro, para resaltar textos xD.... en fin... el amigo Diaf aún no responde xD, quizás él pueda guiarnos en qué es lo que necesita =).
En línea

"Habia un elefante que llamaba maiz y un pollito   
                          se lo comio"


"Que es un punto morado en el cielo ??...Super Uvaa"

  vanO - > Mar de Copas -> Una banda de Culto -.-
Spider-Net


Desconectado Desconectado

Mensajes: 1.165


Un gran poder conlleva una gran responsabilidad


Ver Perfil WWW
Re: ¿Me ayudan con un codigo?
« Respuesta #9 en: 12 Abril 2012, 19:09 pm »

Sigues sin entender el por qué le expliqué lo del Geshi... déjalo... veo que no lo pillas.
En línea

Páginas: [1] 2 Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
me ayudan??
Juegos y Consolas
mul_tpreg 0 1,522 Último mensaje 17 Junio 2005, 23:20 pm
por mul_tpreg
ME ayudan a conertir este codigo a VB6???
Programación Visual Basic
shaggikpo 2 3,300 Último mensaje 2 Noviembre 2009, 17:40 pm
por shaggikpo
¿Cuál es la diferencia entre código objeto, código máquina y código binario?
Programación General
Aikanáro Anário 9 28,774 Último mensaje 23 Diciembre 2010, 15:19 pm
por pucheto
[?] Me ayudan a entender el porque de este código?
Programación C/C++
mastersuv 1 2,312 Último mensaje 9 Julio 2011, 10:15 am
por Akai
¿Me ayudan a tratar de entender este código?
Scripting
Panic0 2 2,651 Último mensaje 7 Enero 2021, 10:50 am
por Panic0
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines