Jump to content

ahschmidt

Members
  • Content Count

    21
  • Joined

  • Last visited

Community Reputation

0 Neutral

About ahschmidt

  • Rank
    Newbie
  1. Fantastic stuff, DD. This is exactly what I was looking for. Is it considered good practice to do this with every button/link that needs to interact with JS?
  2. ShadowMage's example is handy, he combined the values of X and Y in one $ statement... the less jQuery wrappers you have to create the better. I am slowly getting my head around that concept.
  3. Here is a follow up question... can anyone recommend a good Javascript book? Oreilly?
  4. Hi all, I have heard that it is considered bad form to have handlers in the HTML on a site. I get why this is if you are trying to separate content, behavior, and style. What is considered the optimal way to have a handler trigger a JS function?
  5. Hi all, I would love some feedback on this draft of my site: http://www.ahschmidt.comLet me know what you think of the usability, and design. Any suggestions, and crit is welcome! Thank you. --Aaron
  6. Inside... <div class="box1"> Some content <div class="box2"> More content </div></div>
  7. I would like to have a box (made with divs) that always rests at the bottom of another box, no matter the height of the parent box. I would like the child box to be able to get larger as needed to accommodate more content as well, but not overlap the bottom of the parent box. I am a bit mixed up on how to do this, any thoughts?
  8. OK, that is what I was thinking as well. I forwarded the question to the client, and we'll see where it goes from here. Thanks for the reply!
  9. Hi all, I am working on a project where I am designing, and developing HTML templates which will be fed values from some sort of back end. It occurred to me that some of the data may include special characters that may need to be escaped or encoded to render correctly (%, $, &, ect).I have no idea whether that work is being done on the back end, or if it should be done as part of the template. What do you all think?The problem is that I don't have very much information about how the data is being handled other than some example tags that I am supposed to use in my markup for the template
  10. OK, you have to love it when it is something stupid... $('img').remove('img'+(i-1)); should be... $('img').remove('.img'+(i-1)); The '.' before the class name was left out. Cool.
  11. What I am trying to do is to create an effect where a element (called 'box') is rolled over, and an image appears. When you roll over it a second time another image appears, and so forth.The image urls are pulled from an array which will loop once the end of the array is reached.What I would like to do, and am not sure is working is the the previous image should be deleted so I don't have a crazy stack of images. I think that I am running into problems by the way that I am adding classes to the images to choose the right one to be deleted. $(document).ready(function(){ var i = 0; $(".bo
  12. Absolutely. I am teaching myself jQuery, so some of these concepts are becoming familiar to me. Thanks for the response!
  13. I was looking at a site that had urls in HREF attributes listed like CSS IDs...<a href="#thisLink" id="thisLinkID"><span></span></a>This was a link that changed its graphic, and updated only part of the screen. I am curious what the story behind this is, anyone have any wisdom on this? Is it only an HTML5 thing?Here is the site I was looking at: http://www.w3.org/html/logo/There are 8 icons that update the panel to the right of the icon region. Its about halfway down the page.
  14. Thanks for the tips. I am still learning how best to use jQuery, and am slowly getting my head around the ins and outs. I have a navigation which reveals a secondary nav when you click a link. I am altering the display of the 2nd nav UL elements to turn them on and off. I was initially changing which CSS class was attached to the element, but now I think that altering the one CSS property makes more sense.
×
×
  • Create New...