Cannot rename an "a" tag attribute in a DWT. I go to Modify, Templates, Make Attribute Editable. In the pop up I click add, another pop_up box asks me to name the new attribute. However it will not let me type anyting in the naming box.
Any assitance is appreciated.
Close. Here what we are supposed to do from the lesson from class. Taking intermediate Dreamweaver CS6.
What we need to do now is go through the links one at a time, selecting the anchor tags and then modifying the template so that the class attribute is editable for each anchor tag. Is your head spinning yet? Don't panic—this is easy.
Let's do it:
There's only one problem—the attribute listed in the Attribute field isn't the one we want. The dialog box defaults to whatever attribute the tag currently has, and the only attribute in place right now is the href one. We want the class attribute, so we need to add it to the menu. We do that by clicking the Add button.
Above are the instructions for the lesson. I tried what you suggested but I stil cannot type in the pop up box
I don't really need a lesson on all this . It's works fine for me.
Can you tell us which version & build # of DW you're using?
Also, elaborate a bit on what isn't working for you and in which screen shots?
Using Dreamweaver CS6 Version 12.0 Build 5861 for Mac, MAC OS Mountain Lion 10.8.5
When I get to the last screen shot , click add and the pop up shows, I try to type the word class in the box the cursor just blinks. I can't type anything.
Does your Template.dwt contain any class attributes in the code like this?
<li><a class="home" href="home.html"></a></li>
<li><a class="about" href="about.html"></a></li>
<li><a class="contact" href="contact.html"></a></li>
After you make the class attribute editable -- in this example "home," your code should look like this:
<li><a href="home.html" class="@@(home)@@"></a></li>
I've tested it both ways -- with and without classes in the code. It works for me on Win with CS6 12.2 build 6006.
This is the code I have so far:
<li><a href="#">Discovery of Hypertext</a></li>
<li><a href="#">Creation of the Web</a></li>
The way I am reading the lesson is I am supposed to be adding a class attribute. Still fairly new to all this. Truely do appreciate your time to assist me.
I can't reproduce your problem at my end. When things don't work the way they should, it's sometimes a bad Cache or Personal Configuration file.
See Deleting Corrupted Cache in DW