SA-MP Forums Archive
HTML code [Cracked! xD nearly completed now!!] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: HTML code [Cracked! xD nearly completed now!!] (/showthread.php?tid=108591)



HTML code [Cracked! xD nearly completed now!!] - [HLF]Southclaw - 14.11.2009

Hi, this might not only off topic but off forum! anyway i know nothing of html but i was wondering can i create a code that i can paste into my website that you cn type in something and it will come out in another text box but with each letter replaced with a different letter like this:

input:

southclaw

output:

ЉǾǖŦĦЗŁΛẄ

so i can configure it to put those cool letters on each letter of the alphabet

i've seen this before wth upside down letters [http://upsidedownletters.blogspot.co...n-letters.html]

thanks for any help [this probably sounds really stupid and pointless!]


Re: HTML code [is this the right place?] - iLinx - 14.11.2009

php and ajax would be the way i would do it


Re: HTML code [is this the right place?] - [HLF]Southclaw - 14.11.2009

lol don't know them either! any ideas on how to do it?


Re: HTML code [is this the right place?] - iLinx - 14.11.2009

using php string functions to replace each of the characters with new ones and using ajax to update the bottom textbox without the need of a refresh
i would use this to replace the characters ( http://w3schools.com/php/func_string_str_ireplace.asp )
and heres an example on how ajax can be used with php ( http://w3schools.com/php/php_ajax_suggest.asp )


Re: HTML code [is this the right place?] - Westie - 14.11.2009

You don't even need to use AJAX, you can just implement it straight in pure JS.


Re: HTML code [is this the right place?] - [HLF]Southclaw - 14.11.2009

lol i think this is a bit of a big thing for me to take on when i don't know anything about

i might try when i know a bit more about it

thnks for your replies tho


Re: HTML code [is this the right place?] - mamorunl - 14.11.2009

Aren't there a lot of these scripts on the net already?

If you want them to work differently, get the source code and edit them to your needs


Re: HTML code [is this the right place?] - [HLF]Southclaw - 15.11.2009

i could probably work it out if i had the source but i don't know how to get it lol


Re: HTML code [is this the right place?] - iLinx - 15.11.2009

if its javascript -> go to page -> view source
The code will probably be somewhere in the <head></head> tags, either directly in the <head></head> or as a link to an external js script file


Re: HTML code [is this the right place?] - Westie - 15.11.2009

Quote:
Originally Posted by iLinx
if its javascript -> go to page -> view source
The code will probably be somewhere in the <head></head> tags, either directly in the <head></head> or as a link to an external js script file
.. or anywhere where <script> is valid.