• 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

  • Beta-testers gezocht voor Crypto-oefenplatform

    Syntax 29 januari 2026 om 16:11
  • Na 15 jaar terug van weggeweest: iCriminals.nl is terug (BETA)!

    Syntax 19 januari 2026 om 09:34
  • Developer Gezocht

    Mikevdk 10 januari 2026 om 18:57
  • Op zoek naar de legends

    Syntax 5 januari 2026 om 13:50
  • [FREE] WeFact Hosting module

    Jeroen.G 13 oktober 2025 om 14:09
  • Help testers nodig voor android app Urgent

    urgentotservices 26 september 2025 om 10:21
  • Versio vervanger

    Jeroen.G 25 augustus 2025 om 15:56
  • Afspraken systeem met planbeperking

    Lijno 1 augustus 2025 om 23:04

Marktplaats

  • 321 Nieuwe Domeinnamen December 2025

    shiga 1 januari 2026 om 10:26
  • Meerdere mafia game template te koop

    Syntax 26 december 2025 om 00:07
  • Van een pixelige afbeelding naar een strakke, moderne website

    Syntax 21 december 2025 om 17:05

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

  • Fijne feestdagen

    tcbhome 28 december 2025 om 13:55
  • Kritieke update voor Really Simple Security-plug-in

    K.Rens 16 november 2024 om 16:12
  • ING Nederland streeft naar ondersteuning van Google Pay tegen eind februari

    K.Rens 2 november 2024 om 16:09

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

Gebruikers die dit topic bekijken

  • 1 Gasten
  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