HighDots Forums  

Alt text box

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Alt text box in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
minkymoo
 
Posts: n/a

Default Alt text box - 08-06-2004 , 05:08 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


Reply With Quote
  #2  
Old   
Mark Fletcher
 
Posts: n/a

Default Re: Alt text box - 08-06-2004 , 06:41 AM






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 (AT) macromedia (DOT) com> wrote

Quote:
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




Reply With Quote
  #3  
Old   
darrel
 
Posts: n/a

Default Re: Alt text box - 08-06-2004 , 10:16 AM



Quote:
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




Reply With Quote
  #4  
Old   
minkymoo
 
Posts: n/a

Default Re: Alt text box - 08-06-2004 , 10:53 AM



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.


Reply With Quote
  #5  
Old   
darrel
 
Posts: n/a

Default Re: Alt text box - 08-06-2004 , 10:59 AM



Quote:
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)

Quote:
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




Reply With Quote
  #6  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Alt text box - 08-06-2004 , 11:01 AM



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 (AT) hotmail (DOT) com> wrote

Quote:
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





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.