Jump to content

benjaminmorgan

Member
  • Posts

    226
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by benjaminmorgan

  1. Grr, Another problem. Now I can't hide the hit button when someone busts. If they keep hitting hit it makes them lose 10 points until the button is unclickable. I have tried to hide the hit buttons in the code but none seem to work. Apart from that the adding and busting is working right. Also if you click the deal button after you bust and there is still a hit button showing 2 of them will show up after you click deal. The 2 buttons call a different function.
  2. Happy Independence Day everyone! Hope everyone enjoys their selves.

  3. When I add this it doesn't work still. It should update it with the new yosco variable after the hit button is correct. The function is being called because the card is dislaying. yosco = num1 + num2 + number3; yougot.innerHTML = "Your cards equal: " + yosco; Well now it appears to be working, guess I had to clear my cache. Thanks Ben. Happy Independence Day.
  4. You might be able to do something to that effect if you put them all position: relative and have them be in one spot by adding left: amountpx; then add the z-index of the hovered one to be higher than the others. By the picture expanding do you mean stretching or showing more of the picture? If it is just expanding you could have divs floated and change the background image and then change the hover in CSS. Sorry if I am being confusing.
  5. My site is at http://blackjack.web44.net/blackjack and I am trying to make it where the numbers add together correctly but I can't get the numbers to add when I click the hit button it doesn't add the 3,4, or 5 number to the current score which is assigned in the variable yosco in deal function. I am trying to make it where it adds number 3 in the 1st hit function and if they hit again it adds all of the numbers plus number 4 then the same with 5.
  6. Yeah, but if you know the text that is being added you can style it with CSS. If it is being added dynamically it could extend the full width and that wouldn't work well.
  7. Actually if you are just talking about changing the drop down arrow you can do it with just CSS. The solution is to add a div before the select box and make the width smaller and so on and just read this it will explain it more http://bavotasan.com/2011/style-select-box-using-only-css/ It is a good read. Of course you would have to style the option tag as well.
  8. It might be good to add some padding left and right for each navigation button and change colors when hovered. Right now they look way to close.
  9. Besides uninstalling the piece of crap you can right click a text file and click Open With then click Choose Default Program... and find Notepad and make sure you have the box checked to make notepad the default.
  10. I moved from Firefox to Chrome as well because Fx got too heavy.
  11. Yes, notepad is fine, i personally prefer syntax highlighting. Don't use wordpad or microsoft word or open office. Always use a text editor when coding whether it be html / css/ javascript etc.
  12. %22 just means a quote mark " it is adding that because like Andrea said the quotes are formatted from another editor and once you retype them it should be fixed. Don't use editors that have rich text format. A good editor is notepad++ that has great syntax highlighting if you are on windows. %20 would be a space.
  13. http://www.zopim.com/ is a good one. Olark looks to be good but I haven't used it.
  14. Yeah, but it would still have to be a php page. It's not a big deal though. I was just wondering if there was something I was missing.
  15. Oh, i meant like with a form. After the form is processed i want to be able to leave a message on the page without having to make it a php file and add php code to the page that the form is on. Right now I am having to add the PHP code and make the form a php page. then I am using if($_GET['complete'] == true) { blah blah blah } but It is just in the middle of my content. I want to be able to do something like you could in javascript without having to rely on javascript.
  16. I want to be able to write stuff to a HTML page by finding the id/classname and adding text to a div but to write stuff to it it seems like I have to add php on that page. It is probably something I am completely forgetting. Is there a way to do this? Thanks.
  17. If you are wanting a book that is definitely one of the best I have read. I prefer videos but that book helped me a lot.
  18. Hmm, http://jigsaw.w3.org/css-validator/validator?uri=http://www.cdtestdesign.tk/navigation.css is the validation and it has errors with the gradient and the transitions even though it is validating it as CSS3.
  19. PROBLEM IS FIXED! It needed this line of code. Please someone tell me why. nav > li:first-child {} I uploaded it to the website if you want to test it. Link in signature.
  20. When I add it to the site it does the same thing. The guy that created it checked the css/html and it matched up. http://krymsonproductions.com/ is the site it is working with. You can check the site again to see it with the site. Also if you hit Ctrl + or Ctrl - to resize the page it goes to where its supposed to be. (weird)
  21. this is whats happening on my end. You can watch it here http://screencast-o-matic.com/watch/clhvodGBb Exactly what you described Eddie. The person that helped me create it uses it on his website and it works fine. eddie and gffects are you on a mac or pc?
  22. Yeah, but that isn't the point. The point is that it is hanging up when you click other links. I appreciate your input though.
  23. I'm sure you could do it with the jQuery add and remove class and hover function. I don't think there is a way to do it with just css.
  24. I have a problem with this menu http://cdtestdesign.tk/ its code is sortof like http://css.dzone.com/articles/pure-css3-lavalamp-menu . The problem is not the hover state. Its when i go to a new page with the class current and it should move the transition to there. You can go to the page and view source so I don't have to paste code here. NOTE: It only has a problem in Google Chrome and Safari.
×
×
  • Create New...