• Login
  • Register
  • Zoeken
Dit topic
  • Overal
  • Dit topic
  • Dit forum
  • Artikelen
  • Pagina's
  • Forum
  • Filebase-item
  • Meer opties

ICTscripters

Dé plek voor IT

Dé plek voor IT

Aanmelden

Geavanceerde opties
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
  3. ICT Nieuws
  4. Blog
  5. Marktplaats
    1. Werk
    2. Advertenties
    3. Domeinnamen
    4. Websites
    5. Design & lay-outs
    6. Scripts
    7. Overige
  6. Design
  7. Leden
    1. Actieve bezoekers
    2. Team
    3. Leden zoeken
  8. Downloads
  9. Goedkope domeinnamen
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
  3. ICT Nieuws
  4. Blog
  5. Marktplaats
    1. Werk
    2. Advertenties
    3. Domeinnamen
    4. Websites
    5. Design & lay-outs
    6. Scripts
    7. Overige
  6. Design
  7. Leden
    1. Actieve bezoekers
    2. Team
    3. Leden zoeken
  8. Downloads
  9. Goedkope domeinnamen
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
  3. ICT Nieuws
  4. Blog
  5. Marktplaats
    1. Werk
    2. Advertenties
    3. Domeinnamen
    4. Websites
    5. Design & lay-outs
    6. Scripts
    7. Overige
  6. Design
  7. Leden
    1. Actieve bezoekers
    2. Team
    3. Leden zoeken
  8. Downloads
  9. Goedkope domeinnamen
  1. Dé plek voor IT - ICTscripters
  2. Forum
  3. Games
  4. Criminals & Maffiagames
  5. Uitbreidingen en Overige
  6. Archief
  7. Banditi

Forum

  • [PROJECT] Gamekeuring.nl - Hét onafhankelijke keuringsplatform voor maffiagames & RPG's!

    frio 22 september 2026 om 16:40
  • Ictscripters / Koen

    Aaron 22 september 2026 om 15:07
  • 🚀 WE ZOEKEN TESTERS! 🚀

    Lijno 19 september 2026 om 19:37
  • Kweekrijk - van stekje tot Imperium

    Lijno 14 september 2026 om 23:00
  • Crimora.nl

    Jeffrey.Hoekman 8 september 2026 om 18:49
  • Programmeren geocht die samen met mij maffiaskrill.com

    Dennii 2 september 2026 om 11:15
  • Gezocht mafiasnextkill

    mrsenati 1 september 2026 om 17:38
  • nieuwe game

    tigermaffia 27 augustus 2026 om 18:02

Marktplaats

  • 402 Nieuwe Domeinnamen Augustus 2026

    shiga 19 september 2026 om 13:53
  • Ik verkoop maffiaskrill.com voor 30 eur0

    Jeffrey.Hoekman 9 september 2026 om 11:55
  • Straatbaas.eu – complete Nederlandstalige en Engelstalige online maffia-RPG

    Syntax 25 augustus 2026 om 14:41

Message.php, smileys..

  • L.Groot
  • 25 juli 2009 om 14:03
  • Gesloten
  • L.Groot
    Elite members
    Ontvangen likes
    31
    Berichten
    4.888
    • 25 juli 2009 om 14:03
    • #1

    Hallo, ik heb geprobeerd de smiley functie uit het forum te knutselen, en in message.php te plakken.
    Dit is me deels gelukt, alleen als ik op een smiley klik, gaat ie naar http://osbanditi.twfhosting.nl/#
    En dat moet niet, hij moet je Javascript functie uitvoeren. Mis ik iets, of is er iets niet goed?
    Stukje script wat ik eruit heb gehaald:

    PHP
    <a href="#" onclick="insert_text(':D', true); return 
    
    
    false;" style="line-height: 20px;"><img src="./images/smilesphpbb/icon_e_biggrin.gif" width="15" height="17" alt=":D" 
    
    
    title="Zeer gelukkig" hspace="2" vspace="2" /></a>
    									<a href="#" onclick="insert_text(':)', true); return 
    
    
    false;" style="line-height: 20px;"><img src="./images/smilesphpbb/icon_e_smile.gif" width="15" height="17" alt=":)" 
    
    
    title="Lach" hspace="2" vspace="2" /></a>
    									<a href="#" onclick="insert_text(';)', true); return 
    
    
    false;" style="line-height: 20px;"><img src="./images/smilesphpbb/icon_e_wink.gif" width="15" height="17" alt=";)" 
    
    
    title="Knipoog" hspace="2" vspace="2" /></a>
    									<a href="#" onclick="insert_text(':(', true); return 
    
    
    false;" style="line-height: 20px;"><img src="./images/smilesphpbb/icon_e_sad.gif" width="15" height="17" alt=":(" 
    
    
    title="Droevig" hspace="2" vspace="2" /></a>
    									<a href="#" onclick="insert_text(':o', true); return 
    
    
    false;" style="line-height: 20px;"><img src="./images/smilesphpbb/icon_e_surprised.gif" width="15" height="17" alt=":o" 
    
    
    title="Verbaasd" hspace="2" vspace="2" /></a>
    									<a href="#" onclick="insert_text(':shock:', true); 
    
    
    return false;" style="line-height: 20px;"><img src="./images/smilesphpbb/icon_eek.gif" width="15" height="17" alt=":shock:" 
    
    
    title="Gechoqueerd" hspace="2" vspace="2" /></a>
    									<a href="#" onclick="insert_text(':?', true); return 
    
    
    false;" style="line-height: 20px;"><img src="./images/smilesphpbb/icon_e_confused.gif" width="15" height="17" alt=":?" 
    
    
    title="Verstrooid" hspace="2" vspace="2" /></a>
    									<a href="#" onclick="insert_text('8-)', true); return 
    
    
    false;" style="line-height: 20px;"><img src="./images/smilesphpbb/icon_cool.gif" width="15" height="17" alt="8-)" 
    
    
    title="Cool" hspace="2" vspace="2" /></a>
    									<a href="#" onclick="insert_text(':lol:', true); 
    
    
    return false;" style="line-height: 20px;"><img src="./images/smilesphpbb/icon_lol.gif" width="15" height="17" alt=":lol:" 
    
    
    title="Lachend" hspace="2" vspace="2" /></a>
    									<a href="#" onclick="insert_text(':x', true); return 
    
    
    false;" style="line-height: 20px;"><img src="./images/smilesphpbb/icon_mad.gif" width="15" height="17" alt=":x" title="Kwaad" 
    
    
    hspace="2" vspace="2" /></a>
    									<a href="#" onclick="insert_text(':P', true); return 
    
    
    false;" style="line-height: 20px;"><img src="./images/smilesphpbb/icon_razz.gif" width="15" height="17" alt=":P" title="Razz" 
    
    
    hspace="2" vspace="2" /></a>
    									<a href="#" onclick="insert_text(':oops:', true); 
    
    
    return false;" style="line-height: 20px;"><img src="./images/smilesphpbb/icon_redface.gif" width="15" height="17" 
    
    
    alt=":oops:" title="Beschaamd" hspace="2" vspace="2" /></a>
    									<a href="#" onclick="insert_text(':cry:', true); 
    
    
    return false;" style="line-height: 20px;"><img src="./images/smilesphpbb/icon_cry.gif" width="15" height="17" alt=":cry:" 
    
    
    title="Huilend of zeer droevig" hspace="2" vspace="2" /></a>
    									<a href="#" onclick="insert_text(':evil:', true); 
    
    
    return false;" style="line-height: 20px;"><img src="./images/smilesphpbb/icon_evil.gif" width="15" height="17" alt=":evil:" 
    
    
    title="Slecht of heel kwaad" hspace="2" vspace="2" /></a>
    									<a href="#" onclick="insert_text(':twisted:', true); 
    
    
    return false;" style="line-height: 20px;"><img src="./images/smilesphpbb/icon_twisted.gif" width="15" height="17" 
    
    
    alt=":twisted:" title="Geniepig slecht" hspace="2" vspace="2" /></a>
    									<a href="#" onclick="insert_text(':roll:', true); 
    
    
    return false;" style="line-height: 20px;"><img src="./images/smilesphpbb/icon_rolleyes.gif" width="15" height="17" 
    
    
    alt=":roll:" title="Rollende ogen" hspace="2" vspace="2" /></a>
    									<a href="#" onclick="insert_text(':!:', true); return 
    
    
    false;" style="line-height: 20px;"><img src="./images/smilesphpbb/icon_exclaim.gif" width="15" height="17" alt=":!:" 
    
    
    title="Uitroepingsteken" hspace="2" vspace="2" /></a>
    									<a href="#" onclick="insert_text(':?:', true); return 
    
    
    false;" style="line-height: 20px;"><img src="./images/smilesphpbb/icon_question.gif" width="15" height="17" alt=":?:" 
    
    
    title="Vraag" hspace="2" vspace="2" /></a>
    									<a href="#" onclick="insert_text(':idea:', true); 
    
    
    return false;" style="line-height: 20px;"><img src="./images/smilesphpbb/icon_idea.gif" width="15" height="17" alt=":idea:" 
    
    
    title="Idee" hspace="2" vspace="2" /></a>
    									<a href="#" onclick="insert_text(':arrow:', true); 
    
    
    return false;" style="line-height: 20px;"><img src="./images/smilesphpbb/icon_arrow.gif" width="15" height="17" alt=":arrow:" 
    
    
    title="Pijl" hspace="2" vspace="2" /></a>
    									<a href="#" onclick="insert_text(':|', true); return 
    
    
    false;" style="line-height: 20px;"><img src="./images/smilesphpbb/icon_neutral.gif" width="15" height="17" alt=":|" 
    
    
    title="Neutraal" hspace="2" vspace="2" /></a>
    									<a href="#" onclick="insert_text(':mrgreen:', true); 
    
    
    return false;" style="line-height: 20px;"><img src="./images/smilesphpbb/icon_mrgreen.gif" width="15" height="17" 
    
    
    alt=":mrgreen:" title="Mr. Green" hspace="2" vspace="2" /></a>
    									<a href="#" onclick="insert_text(':geek:', true); 
    
    
    return false;" style="line-height: 20px;"><img src="./images/smilesphpbb/icon_e_geek.gif" width="17" height="17" alt=":geek:" 
    
    
    title="Sul" hspace="2" vspace="2" /></a>
    									<a href="#" onclick="insert_text(':ugeek:', true); 
    
    
    return false;" style="line-height: 20px;"><img src="./images/smilesphpbb/icon_e_ugeek.gif" width="17" height="18" 
    
    
    alt=":ugeek:" title="&Uuml;ber nerd" hspace="2" vspace="2" /></a>
    		<script type="text/javascript">
    		// <![CDATA[
    			var form_name = 'postform';
    			var text_name = 'content';
    		// ]]>
    		</script>
    Meer tonen
  • Darsstar
    Vreemd
    Berichten
    1.173
    • 25 juli 2009 om 14:22
    • #2
    PHP
    <script type="text/javascript">
            // <![CDATA[
                var form_name = 'postform';
                var text_name = 'content';
            // ]]>
            </script>


    pas die variabele aan...
    of nog liever pas de javascript functie aan en gebruik getElementById()

    kijk maar eens leuk naar het name attribuut van de form en textarea tags uit het forum en vergelijk die met de variabelen...

    miauw!

  • Stefan.J
    Meester
    Ontvangen likes
    9
    Berichten
    2.358
    • 25 juli 2009 om 16:49
    • #3

    Ik vrees dat je de Javascript functie insert_text() niet hebt gedefinieerd. De definitie van deze functie zul je dus ook even op moeten zoeken in het originele script.

Participate now!

Nog geen account? Registreer je nu en word deel van onze community!

Nu registreren Aanmelden

Blogs

  • Functioneel ontwerp

    Dees 28 december 2014 om 12:38
  • Access Control List implementatie in PHP/MySQL - deel 1/2

    FangorN 28 december 2018 om 12:35
  • Access Control List implementatie in PHP/MySQL - deel 2/2

    FangorN 29 december 2018 om 12:37
  1. Marktplaats
  2. Design
  3. Voorwaarden
  4. Ons team
  5. Leden
  6. Geschiedenis
  7. Regels
  8. Links
  9. Privacyverklaring
ICTscripters ©2005 - 2026 , goedkope hosting door DiMoWeb.com, BE0558.915.582
Sponsors: Beste kattenhotel provincie Antwerpen | Beste Zetes eid kaartlezer webshop
Style: Nexus by cls-design
Stylename
Nexus
Manufacturer
cls-design
Licence
Commercial styles
Help
Supportforum
Visit cls-design