• Login
  • Register
  • Zoek
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Filebase Entry
  • More Options

ICTscripters

Dé plek voor IT

Dé plek voor IT

Login

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

  • Crimora.nl

    Dennii 11 juli 2026 om 13:13
  • RPG game gebouwd met AI

    zwpgangster 9 juli 2026 om 11:25
  • (Verkoop) Criminals

    Syntax 5 juli 2026 om 13:22
  • Het Grote Vibe Code Topic

    Syntax 30 juni 2026 om 11:54
  • Ictscripters Chat

    Jeffrey.Hoekman 26 juni 2026 om 16:21
  • Het oorspronkelijke Criminals Script

    Jeroen.G 24 juni 2026 om 09:21
  • StraatBaas is back, maar hoe?!

    Syntax 17 juni 2026 om 10:28
  • PWYL source gezocht

    Syntax 29 mei 2026 om 14:03

Marktplaats

  • 306 Nieuwe Domeinnamen Juni 2026

    shiga 1 juli 2026 om 13:39
  • 4-letter domein: Togi.nl

    evesi 17 juni 2026 om 17:08
  • 359 Nieuwe Domeinnamen Mei 2026

    shiga 1 juni 2026 om 12:45

Message.php, smileys..

  • L.Groot
  • 25 juli 2009 om 14:03
  • Closed
  • L.Groot
    Elite members
    Ontvangen Reacties
    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>
    Toon Meer
  • Guest, wil je besparen op je domeinnamen? (ad)
  • 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
    Master
    Ontvangen Reacties
    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!

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

Maak een account aan Login

ICT Nieuws

  • Quanscient ontvangt €10M om AI- en kwantum-native hardware engineering te bevorderen - Tech.eu

    ICTscripters 27 mei 2026 om 12:03
  • Datalek bij leverancier Canvas - Universiteit van Amsterdam

    ICTscripters 10 mei 2026 om 12:03
  • Data privacy in 2026: Hoe de naleving van GDPR verandert

    ICTscripters 8 mei 2026 om 12:16

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. Privacy Policy
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