Jump to content

Chocolate570

Members
  • Posts

    1,550
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Chocolate570

  1. Hey guys,Just wondering what your internet speeds are, out of curiosity.If you don't know yours, you can either write what type of service you get (Like DSL or Dialup or Cable) or you can go here and get your stats. Just copy and paste the stuff underneath the test when you're done with it. :) So, what's your speed? :) -Choco

  2. I am a Mod at another Forum that uses IPB and we have an "sql" bbcode and a "highlight=color" bbcode.
    if(isset $_GET['id'])){$id = $_GET['id'];// --------- here code to connect to mysql and select database -----------$query= mysql_query("delete FROM comment where id =$id")or die(mysql_error());}

    [highlight=yellow] test this forum [/highlight]*edit* I guess the highlight code is maybe something added over there by the Admins. Doesn't seem to work here.A Tutorial can be found at the trap17 Forum.The conText editor also display files using the file extension as a guide to the colour coding. Wonder how that is done???

    Yea, IPB does have the custom bbcode options. But how would you code syntax highlighting for over 20 languages? Does anyone have the time to do so? :)
  3. When it comes to mods, we did a pretty good job spreading them around (well, not use. It just happens to be so.) the world, so we get more coverage than the average forum. It doesn't take too many mods--it takes less overlapping of mod times and more time coverage. We really don't need any mods. We're fine right now--it's not like we keep up at night thinking about the spam we're going to see in the morning. At least I don't. :)What we really need to think of is how to stop the spam. And we're doing a pretty good job with that too. We're doing okay. We should wait till next year before even thinking of another mod. Maybe when the member list hits 10000. :)

  4. Point taken skemcin,I mistook the general section to be anything off topicThanks for the guidance
    Many members do that. Don't worry about it. :)It is slightly misleading, but unfortunately, the moderators and admins feel that an offtopic section would lead this forum's main topic, web building, astray. :)
  5. Yeah I agree with Tarte. Every time I come online in the morning 8 eastern time, there's never a mod online. I usually see some spam also.
    I'm on every day at 6:45-7:25 in the morning, eastern time. I'll start looking for spam in that time frame :)
  6. So you want it in that format? So that you could do something like this:x[0]=["radio station link","radio station name","radio station description","genre"]And it'll replace the current tables with only the ones thats' stations start with the letter you choose?I can change the code so it does that. :)

  7. I don't bother making a good site for myself because I know it'll never live up to the standards I have. :) When you're making something for other people, you're going with their instructions, what they want, and as long as they're happy, you don't care. But when you're making something for yourself, you want it well done, or you'll feel disappointed. So I just stick with other people's stuff. :)

  8. You just add more things to the array. For example, if I also wanted to add the words "lol", "hel", and "choc", I'd do this:

    <script type="text/javascript">function sort(let) { x=[]; //This array contains all of the words. y=[]; //This will, at the end of the script, contain all words beginning with the variable let out of the array x. x[0]="hello" //Element num 1... x[1]="helo" //num 2... x[2]="ff" //num 3... x[3]="lol"; x[4]="hel"; x[5]="choc"; for(i=0;i<x.length;i++) { //Looping through the array... if(x.substr(0,1).toLowerCase()==let) { //This checks if the letter at space 1 in the string is equal to the let... y[y.length]=x; //If so, add it to the y variable... } } return y; //Send y to whoever's calling this thing...}</script>
    See? :)Now if we do this underneath:alert(sort("h"));It'll alert this:
    hello,helo,hel
    :)
  9. Here:

    <script type="text/javascript">function sort(let) {  x=[]; //This array contains all of the words.  y=[]; //This will, at the end of the script, contain all words beginning with the variable let out of the array x.  x[0]="hello" //Element num 1...  x[1]="helo" //num 2...  x[2]="ff" //num 3...  for(i=0;i<x.length;i++) { //Looping through the array...	if(x[i].substr(0,1).toLowerCase()==let) { //This checks if the letter at space 1 in the string is equal to the let...	  y[y.length]=x[i]; //If so, add it to the y variable...	}  }  return y; //Send y to whoever's calling this thing...}</script>

    Basically, now if you do this:x=sort("a");The variable x, now an array, will contain all of the array elements that start with a. Is that what you'd like? :)

  10. You'd have to loop through all of the names. While in the loop, substring the first letter of the current name out. Check if it is the letter you're trying to sort. If it is, add it to an array.At the end of the loop, just display all of the array elements. :)

  11. innerHTML is very much a web standard :)The innerHTML of an element is a property which contains all of the HTML inside the element.For example,<p>blahblahblah<b>blka</b></p>If you retrieved the innerHTML of the p element, you'd get:blahblahblah<b>blka</b>Hope that helps. :)Choco

  12. From what I can see, everything is working fine. I just commented out the HTML comments in the javascript. That made it work like a charm.And nice AI. I can't win :) :)seekond.com/scripts/tictac.txtYour code is located there, fixed. I didn't want to paste it here...it gets screwed up by IPB.Hope that helps. :)Choco

  13. Actually, you can simulate the effect quite closely. Just click "Restore Down" button on the top right corner (to the left of the Close button) of the Photoshop application window. Then just resize the application window down. That way, you can see your computer desktop, your graphics file that is opened, and your photoshop toolbars, palettes and menus.Hope that helps. wink.gifps. if you're into color correction of your photos for example, the usual advise is to use the grey background, so your colour sense is not affected by a colourful desktop picture.
    Was just about to post that :)The photoshop image/tool/info windows are kept seperate from the background if you just press the restore button, not the minimize button. :)
×
×
  • Create New...