This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > August 2004 > Alt text box





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Alt text box
minkymoo

2004-08-06, 7:14 am

When selecting an image, in the properties panel an Alt drop down / text box
appears. It always shows <empty>. How do I get dreamweaver to 'remember'
previous text that has been entered into this box?

Say for instance I have a gallery page with lots of images that link to bigger
pop-up versions. I want to use 'Click to enlarge' on every image. I have to
copy and paste every time as it doesn't get stored in the drop-down.

Is there an XML file I need to edit, or is there some other way to do this.
Typing 'Alt text box' in Dreamweaver help finds notyhing relevant

Mark Fletcher

2004-08-06, 12:14 pm

Have you tried using Find and Replace? DW includes the ability to search for
a specific tag (in this case img) and set an attribute (alt) / value 'Click
to enlarge'.

Regards,
Mark

"minkymoo" <webforumsuser@macromedia.com> wrote in message
news:cevhqj$qn5$1@forums.macromedia.com...
> When selecting an image, in the properties panel an Alt drop down / text

box
> appears. It always shows <empty>. How do I get dreamweaver to 'remember'
> previous text that has been entered into this box?
>
> Say for instance I have a gallery page with lots of images that link to

bigger
> pop-up versions. I want to use 'Click to enlarge' on every image. I have

to
> copy and paste every time as it doesn't get stored in the drop-down.
>
> Is there an XML file I need to edit, or is there some other way to do

this.
> Typing 'Alt text box' in Dreamweaver help finds notyhing relevant
>



darrel

2004-08-06, 12:15 pm

> I want to use 'Click to enlarge' on every image. I

Actually, you do not want that on every imag.

The alt attribute is used to describe the image for those that can't see it.

'Click to enlarge' is more of a command/tool-tip, in which case you want to
use the TITLE attribute for that.

-Darrel


darrel

2004-08-06, 12:15 pm

> Thanks, I see your point with using 'title', but that wasn't really the
> question.


No, but hopefully my answer will help you become a better web developer ;o)

> Is there a way to 'populate' this menu?


Well, here's the catch...you're supposed to use the TITLE tag for what you
want to do, and there is no TITLE field in Dreamweaver's Properties window
(one of the great mysteries of DW).

What I'd do is put in all your images. Then, go into source view and cut and
past all the HTML that contains your images. Paste that into a new file.

Search for:

'<img'

replace with:

'<img title="click to view a larger version"'

And then just cut and paste that edited HTML back into your source document.

-Darrel


minkymoo

2004-08-06, 12:15 pm

Thanks, I see your point with using 'title', but that wasn't really the
question.

When you select an image in Dreamweaver you get a drop down menu next to Alt
in the properties panel.
The only option in this menu is '<empty>'. Why have a drop down menu with 1
option.

Is there a way to 'populate' this menu?

Eg... The link menu in the properties box will disply a list of links you have
used before, saving you typing in a dupluicated link. This is what I expected
the Alt menu to do.

Murray *TMM*

2004-08-06, 12:15 pm

I just select the image, use Ctrl-T to flip up the QuickTagEdit window,
click inside it, enter "ti" and let code completion take over....

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"darrel" <notreal@hotmail.com> wrote in message
news:cf06co$jn3$1@forums.macromedia.com...
>
> No, but hopefully my answer will help you become a better web developer

;o)
>
>
> Well, here's the catch...you're supposed to use the TITLE tag for what you
> want to do, and there is no TITLE field in Dreamweaver's Properties window
> (one of the great mysteries of DW).
>
> What I'd do is put in all your images. Then, go into source view and cut

and
> past all the HTML that contains your images. Paste that into a new file.
>
> Search for:
>
> '<img'
>
> replace with:
>
> '<img title="click to view a larger version"'
>
> And then just cut and paste that edited HTML back into your source

document.
>
> -Darrel
>
>



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews