Dreamweaver Shortcuts: Grouping and Multiplication

dw_capture

Today’s tiny win in saving time: grouping and multiplication in Dreamweaver.

(a[data-lightbox="preview" data-title=""]>img[alt=""])*28

Thanks to DW CC and all the neat tricks mentioned on this awesome cheatsheet, I saved time by adding the above formula to create twenty-eight hyperlinked images with included attributes!

It’s the little things that make web design a little better.

Update 2 hours later

I saved even more time by adding item numbering shortcuts:

(a[href="/images/traveling_exhibits/view/$.jpg" data-lightbox="preview" data-title="panel $"]>img[src="/images/traveling_exhibitions/view/$.jpg" alt="panel $"])*28

Advertisements

One Reply to “Dreamweaver Shortcuts: Grouping and Multiplication”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s