Jump to content

Chocolate570

Members
  • Posts

    1,550
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Chocolate570

  1. I'm really not liking how the navigation gloss is basically the same color as the background---it may seem to 'flow' for some people, but it just really looks like a mess to me (just the navigation.)I love the rest of the site! As always, your color choice is amazing and contrasts perfectly. I love the logo. It's unique and I can still remember it after looking at your site a day ago, which is a plus on my list.Man, that more button is amazing. I sat there for 5 minutes just clicking it, over and over again. Totally awesome.But for things like this:welcome.gifYou should use text. I checked your speed report, and let me tell you something---it's not very good, unfortunately.14.4K----------92.07 seconds28.8K----------46.14 seconds33.6K----------39.57 seconds56K------------23.82 secondsISDN 128K----7.43 secondsT1 1.44Mbps---0.83 secondsMore than one and a half minutes on the slowest dial up, and three quarters of a minute on 28.8k.Sure, 56k (the common dialup modem) is half a minute, but I'm not liking the speed.Of course, I'm on T2, so I'm loading so fast it's unimaginable...but...not everyone has internet that fast.In comparison, this forum page (the one you're looking at now, since you're reading this post) takes about 150 seconds to load in 14.4k. And it has 51 images and objects and so on to load remotely. You have 16.Something needs to be done. :)I'm sorry if this seems harsh. I was just giving you an honest opinion so you can improve your awesome site even further. =)

  2. I was just wondering if anyone could help me edit this script. I'd like to use this hide/reveal script so that when someone clicks a checkbox or radio button (whichever I decide to use) it reveals whatever was hiding. And it disappears again if they unclick it. I've tried this before with a different hide/reveal script I'm using on my website, but it didn't work. I'd also need to know what switch to use in the select tag. (IE... onclick/onselect/onchange... ) Thanks in advance for any help.Here's the script.
    function hideshow(which){if (!document.getElementById)returnif (which.style.display=="block")which.style.display="none"elsewhich.style.display="block"}

    Don't worry--your script works perfectly. You only have a couple of problems with how you're calling it.First of all, in the element whose visibility you want to toggle, add this:style="display:block;" (or display:none;)And also, in the element you're using to toggle, you have to call the hideshow function like this:onclick="hideshow(document.getElementById('your element id here'))"And it'll work perfectly. =)
  3. Rather than registering test as an event handler for the keydown event on the document ( document.onkeydown = test; ) try registering it for the keydown event for your ricttext element. This way, if someone has focus on the area outside of the editor and clicks CTRL-B to open his/her bookmarks window, it'll still let him/her.Without looking too deeply at your code, maybe rather than:
    document.onkeydown = test;

    You might try something like:

    document.getElementById(iframe.id).contentDocument.onkeydown = test;

    Thanks so much! I tried that, but I forgot the contentDocument part, so nothing worked. I'll try it again. =)
  4. Yeah. And it's been going on in the US for 50 or 60 years to prevent cavities in teeth.
    Shoot--and I've actually bothered to lower my candy intake? :/Looks really interesting. Nice find. :)
  5. You could set a variable to keep track of whether CTRL is pressed and check it when you look for what key is being pressed:
    var isCtrl = e.ctrlKeyswitch(keycode){	case 48: // b		if(isCtrl)			 // make bold!		break;	case 23: // i		if(isCtrl)			// make italic!		break;}

    No matter what I do, that code doesn't work. Why not? =[
  6. Sorry I didn't see your post. No sorry wasn't me hehe....Nice work Chocolate570, now the banner is fine.
    I wish I could say that I did it, and I will say that I did it, but I didn't do it. :)Someone else snuck up and did my job. Hmph. :)
  7. I got sick of the signature fad and just mocked you all. But, alas, the only way to do so was to jump on the bandwagon myself, so you can tear me apart too. =)

  8. Check out this page, Choco: http://www.w3schools.com/htmldom/event_ctrlkey.asp
    e = (e) ? e : window.event;var keycode = (e.which) ? e.which : e.keyCode;if(e.ctrlKey && keycode == 13){   alert("CTRL-ENTER was typed!");}

    Well, the problem is I can't detect more than one key with that. :/
    Pressing CTRL once or twice in a row + a letter might be a good idea too, but I have no idea how would you implement that.
    What I could do is the moment the ctrl key is pressed, I could set a timer for about 1 second and if the key is pressed again in that time (I'd keep a while running, keeping check on the window events, and when the timer goes off, set a variable which ends the while) then set another timer the same way and look for another key. Then store that key and perform the action.But would that work? :/
  9. True. But I don't want to use access keys---they wont exactly add what I'm really looking for.Maybe I could require the user to press an obscure short cut---or, if they press control twice and then a key, it'll add that formatting? =)

  10. Hey guys. =)I'm writing a rich text editor (it's almost done. :)) but I was hoping to add some advanced functionality and execute the bold command if you click ctrl+b and the italic command if you press ctrl+i, and so on. But I don't know how to do that. =[i found a code that does detect those on blogger (their rich text editor has the functionality) but I don't want to steal it.Here it is, if it helps you:http://www.blogger.com/app/scripts/event.keypress.jsCan you help me a bit? I know how to detect regular presses, but control presses along with it... :/

  11. The logo will be fixed soon--it's at the top of my to-do list. I used the previous skin's header image, which doesn't work on this one. Check back in 1 or 2 days and it'll be working. :)

  12. however, there are ways of making it secure by making it so hard to understand, take a look at this script.- that was the first I found, though I don't know if it works properly or w/e - i put in some sample code and it looks damn dodgey!
    That compressor is quite amazing, actually. But I suggest you compress it at least 3 times if you're actually going to encrypt it---and make sure you choose a different algorithm every time, and note it down. =)
  13. Oh gosh. Now, whenever I want a layout sliced by Aspnetguy, I have to go sacrifice a goat. =[:)Grr. Okay guys, I apologize, but my first item on the to do list of doom is to add an :) smiley. It's the only one I ever use anyway. :/I call mascot though. I'm definitely the most peppy out of the group. :)

  14. The new skin and updates ROCK!So much eyecandy :blink: . vchris, do you have anything to do with it :) ?I especially like the new quick BBCodes like topic link and post link. I know they've been around for a while, but only now they are right there ready to be generated. And I just LOVE the the Acronym tag (is it new actually? I haven't seen it before). :)AND SPELLCHECK!!! Could things get any better?!?! :) Wait, they can. What is this tryit BBCode? Let me try it (excuse the pun)Tryit Editor<html><body>This HTML code was entered from the W3Schools' forum via the tryit BBCode.</body></html>There's MORE!!!!! If your BBCodes are invalid, you can't post your message!!!
    Man, you really have been lazy haven't you? I added the tryit bbcode ages ago. :blink:Just kidding. I really do like the new skin, and the whole look of the forum in general. Would anyone like to fork out some cash so we can get the W3S forum skinned to fit the W3S look? =O
  15. Replace this:tmp= document.getElementById('txt1').value + document.getElementById('txt2').value;With this:tmp= eval("document.getElementById('txt1').value + document.getElementById('txt2').value")

  16. Since I started I cannot answer this problem, but I can still comment. I never knew preg_match() had to have the // delimeters.So would ereg_match() work for ## delimeters?And yes I did know that you would post next. :)
    You broke rule #2 of section #1 of Boen's rules. *whistles*Err...Okay, since I totally ###### at XML, I'll give it a try. :):D:D
    <?xml version="1.0" encoding="utf-8" ?>  <rootelement>	<element>	  <element />	  <atri barti="ute" />	  <atri>barti</atri>	</element>  </rootelement>

    My first XML document. I'm so proud. :)Okay. For my problem, I'll go for CSS:

    //This is a class|manife [drawers: 23	px;//Omg what to do//jonas: cool; //I ran out of attributes. :P}//This is an id-go {z-index: 30%;position: relative;]//I'm done.

    Hah. Fix it up, man!Next:JavaScript, PHP, or XHTML, listed by preference.;D

  17. That seekond project seemed pretty well started though, sad it didn't work out.
    Tell me about it. Took forever to plan. :/But guys, if he wants to try getting members, please leave him alone. From now on, only post on this topic if you are suggesting something (besides quitting) or joining his forum group.Thanks.
×
×
  • Create New...