![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| ||||
| ||||
|
|
Q1: I'd like to be able to remove a link from a text button in pages made from a template. But I want the text itself locked. I was able to remove the link info with editable attributes, but I'm left with <a href = "">text on button</a> so the text button still acts like a live link. Can I use editable attributes or some other method to remove the link tag or make it inactive? |
|
Q2: Also using a template, I'd like to be able to edit the height and width of a colored layer without changing anything else about the layer. Using editable attributes, I could only figure out how to make the changes via the entire info for the style tag, making everything but the div id editable and defeating my purpose. Is there a way to change just the height and width of my layer in the child pages of the template? |
|
Any help appreciated--this has been driving me nuts for the last couple of days while this forum was down. I'm a newbie, so explanations of advice would be wonderful. Thanks in advance! |
#3
| |||
| |||
|
#4
| ||||||||
| ||||||||
|
|
Hi Murray, Thanks for your answer. I think I get the general idea, but more explanation would really help .!-- TemplateParam name="linkit" type="text" value="yes" -- I'm guessing this goes in the head of my template and shows up as editable in the child document, where I enter "yes" for value to have the link, and "no" for no link. |
|
Also, if I want to do this for five different buttons, I just repeat this statement five times with different names eg !-- TemplateParam name="linkit1" type="text" value="yes" --><!-- TemplateParam name="linkit2" type="text" value="no" --> and so forth. |
|
@@(linkit=="yes"?"<a href='foo.html'>FOO</a>":"FOO")@@ Where does this go in the template? Does it replace the link tag <a href = "/my/link">text for clicking</a>? |
|
Does it translate to mean "if there is a "yes" typed in the Template Param called linkit in the head of this child page, then the link to foo.html that is attached to the text FOO should be replaced with the unlinked text FOO on this page"? |
|
"Sure - use an embedded stylesheet in the editable region in the head of the child page - it couldn't possibly be simpler!" Even that's not simple for me ! Is an embedded stylesheet what I getwhen I click apply to this document only in the new CSS style dialog box? |
|
If the layer is locked, how do I apply a style to it in the child page? |
|
Or do I apply the style to the layer in the template, then just change the height and width in the stylesheet of the child page? If so, don't I need an embedded style sheet to define the style in the template also? To set a style for height and width of a layer, do I use the box section of the class dialog box? Please pardon my ignorance and many thanks for your help!! |
| |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
I really appreciate the clarity and detail |
|
Can you recommend a book on HTML that could take me from the basics to stuff like what you just explained? |
|
Ahhhh, that's better--you've solved both of my problems. Thank you, thank you!! It took me a few tries, but every time I got stuck I'd read your answers again and voila, there would be the info on how to get unstuck. I really appreciate the clarity and detail since my knowledge of HTML is based solely on clicking something in DW and watching what happens in the code window. Three more questions: Can you recommend a book on HTML that could take me from the basics to stuff like what you just explained? How do I access news://forums.macromedia.com/macromedia.dreamweaver ? Is there some insider reason for using "foo" to represent my names for things ?Thanks again! |
#7
| |||
| |||
|
|
Is there some insider reason for using "foo" to represent my names for things ? |
|
Ahhhh, that's better--you've solved both of my problems. Thank you, thank you!! It took me a few tries, but every time I got stuck I'd read your answers again and voila, there would be the info on how to get unstuck. I really appreciate the clarity and detail since my knowledge of HTML is based solely on clicking something in DW and watching what happens in the code window. Three more questions: Can you recommend a book on HTML that could take me from the basics to stuff like what you just explained? How do I access news://forums.macromedia.com/macromedia.dreamweaver ? Is there some insider reason for using "foo" to represent my names for things ?Thanks again! |
#8
| |||
| |||
|
|
You access the NNTP forum using a newsreader. I use OutlookExpress on WXPPro. Set your Read Messages number up to about 1000, and have a ball. No more sluggish screens.... I've never used a newsreader before so here goes...it's gotta be better than |
![]() |
| Thread Tools | |
| Display Modes | |
| |