SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Evangelist FCC's Avatar
    Join Date
    May 2006
    Posts
    417
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    What language does this?

    Hello All,

    I got a question that can be related to this forum. You know how when you press on the like the Bold symbol or like Center, it pops up a popup box and then when you press enter it directly puts the stuff into the textfield.

    Are they using Javascript to do this? Where can I find some tutorials to teach me how to do this?

  2. #2
    SitePoint Wizard bronze trophy Tyssen's Avatar
    Join Date
    Oct 2005
    Location
    Brisbane, QLD
    Posts
    4,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It sounds like javascript but I'd need to see an example of what you're talking about to suggest some tutorials.

  3. #3
    SitePoint Evangelist FCC's Avatar
    Join Date
    May 2006
    Posts
    417
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well...an exampe would be like when you are posting on this forum....like pressing the "bold" button brings up a popup window to ask what you want to be bolded..

  4. #4
    SitePoint Zealot
    Join Date
    Nov 2005
    Posts
    181
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  5. #5
    Steve Benjamins tnrstudios's Avatar
    Join Date
    Jun 2003
    Location
    canada
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    its definetly javascript.

  6. #6
    SitePoint Enthusiast myinnet's Avatar
    Join Date
    Jul 2006
    Posts
    68
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hope the following code can give you some hints:
    Code:
    <SCRIPT language="JavaScript"> 
    <!--hide  
     var yourname= prompt('Please enter your name, so you can get a special greeting', ' ');
    
     if ( (yourname==' ') || (yourname==null) ) 
     { 
       yourname="Dude"; 
     } 
    
    //--> 
    </SCRIPT> 
    
    </HEAD> 
    
    <BODY> 
    
    <SCRIPT language="JavaScript"> 
    <!--hide 
     document.write("<CENTER><H1>Hello, " + yourname + " ! Welcome to My Page! <\/H1><\/CENTER>");
    
    //--> 
    </SCRIPT> 
    
    </BODY>

  7. #7
    dooby dooby doo silver trophybronze trophy
    spikeZ's Avatar
    Join Date
    Aug 2004
    Location
    Manchester UK
    Posts
    13,806
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    quick google search for bbcode should help. Take the script from wikipedia and have a look at the way it's constructed!
    Mike Swiffin - Community Team Advisor
    Only a woman can read between the lines of a one word answer.....

  8. #8
    SitePoint Evangelist FCC's Avatar
    Join Date
    May 2006
    Posts
    417
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I was using that rte posted earlier, and I noticed it doesn't support chinese text properly. Is there a way to fix this?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •