Jump to content
Killersites Community

squeezedjuicybits

Member
  • Content Count

    12
  • Joined

  • Last visited

Community Reputation

0 Neutral

About squeezedjuicybits

  • Rank
    New member

Profile Information

  • Location
    Edinburgh, Scotland (UK)

Contact Methods

  • Other
    pxlfreak@live.com
  1. squeezedjuicybits

    Dependent Dropdowns

    I think you are looking for some dynamic select elements using AJAX. Either of the following appear to be quite good: http://php-ajax-code.blogspot.com/2007/07/ajax-triple-dropdown-with-states-cities.html http://www.chazzuka.com/blog/?p=206 I'm certain the others will also have a few to add.
  2. squeezedjuicybits

    PHP doesn't display

    This might seem silly so I appologise if you have addressed this already, however, have you started the WAMP services?
  3. squeezedjuicybits

    Keeping track of client information

    http://www.smashingmagazine.com/2008/12/17/the-ultimate-web-developers-christmas-wish-list/ Scroll down to section 16, it has a selection of password managers you may wish to look into.
  4. squeezedjuicybits

    Problem with css in firefox

    body { margin: 0; padding:0; background-image: url(images/blibackground.jpg); text-align: justify; font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #274690; } Should do it.
  5. squeezedjuicybits

    Problem with css in firefox

    Or: p { margin:0; padding:0; } // reset margins & padding on all paragraphs Sometimes it can be beneficial to reset all margins and padding for the whole document so you have a 'blank' canvas to start with: * { margin:0; padding:0; } Either method would work for you.
  6. squeezedjuicybits

    Problem with css in firefox

    Remove the margin on your p elements.
  7. squeezedjuicybits

    Using custom attributes to associate elements

    Any particular reason for creating the relationship? If it is so that your hyperlink knows which image to target, assuming you always add your hyperlinks after the image you could use the jQuery .prev() function. $(this).prev('img').attr('href');
  8. squeezedjuicybits

    Question on how to hide/show divs onClick

    >> I read over my post, and as usual, I was a bit short I get that way posting from work, but I mean well. I assumed it was constructive criticism, so that is how it was interpreted. >> even if only but a small margin, I do it Agreed. It's the small performance increases that cause the major performance increase.
  9. squeezedjuicybits

    Question on how to hide/show divs onClick

    >> Your jQuery attaches the event handler to every link in the document The second method does so yes. The first method of attaching click event handlers to hyperlinks does not. I was attempting to show different methods for achieving a similar effect. However I understand where you are coming from on this and agree it is very inefficient. >> Also, you've used the $('#box_' + ... ) I agree it is fairly poor, however I didn't see the harm for this example. >>it is better practice (and faster) to do $('div#someID') I didn't realise there was a performance benefit to that. I've seen official examples that include and exclude that step. I do so love conformity. Cheers for the heads up though. >> I posted a short bit of jQuery above that should do what the OP is trying to do, in less than 10 lines of code. True, I did notice your .toggle() event. There is always more than one way to skin a cat though. >> Your discussion of graceful degradation is spot on. I tend to be in the "progressive enhancement" crowd, but it is realyl two ways of saying the same thing. Haha, yeah. I'm becoming more and more of a fan of safe degradation. Come across a fair number of sites that don't degrade nicely and render the majority of the site useless. >> Also, I've not seen you around - welcome to KS! Thanks.
  10. squeezedjuicybits

    Question on how to hide/show divs onClick

    Click Me (div one (yellow)) Click Me (div two (blue)) Google.co.uk Toggle All On Toggle All Off Invert Toggle
  11. squeezedjuicybits

    time-delayed changing of a displayed image

    jQuery might be an ideal solution for you. Take a look at the following demo: http://malsup.com/jquery/cycle/ Has a few nice effects you can implement on your slideshow.
  12. squeezedjuicybits

    First to post on the Dreamweaver thread

    Dreamweaver 8 is getting pretty old and it does use an older rendering engine. So yes, Dreamweaver CS3 and CS4 are a big leap ahead. Of course, if you are just a coder, then using HTML-kit or some other inexpensive or free text editor can probably do the trick. Stefan Take a look at sub sections 4, 5 and 14 in the following link. They provide some nice examples of editors if you are looking to upgrade your current editor. http://www.smashingmagazine.com/2008/12/17/the-ultimate-web-developers-christmas-wish-list/
×