-
Posts
12 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Downloads
Gallery
Store
Posts posted by squeezedjuicybits
-
-
This might seem silly so I appologise if you have addressed this already, however, have you started the WAMP services?
-
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.
-
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.
-
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.
-
Remove the margin on your p 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');
-
>> 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.
-
>> 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.
-
-
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.
-
Are the later versions any better, or would I be best sticking with what I have? I also have downloaded HTML-kit, but not tried it out yet.
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/
Dependent Dropdowns
in Dreamweaver
Posted
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.