| | |
|
|
|
Is this possible? |
| message from enriqueda on 16 Jul 2004 |
Hi all,
Wondering if the below is possible and if so, how.
I would like to link to a page internal or external and have a specific word
highlighted if present in the content.
Thanks in advance,
Enrique
|
| SpiritoftheRadio replied to enriqueda on 16 Jul 2004 |
found this.. does this explain ?
Dreamweaver handles updates to editable and noneditable (locked) regions
differently. Changes in the locked regions will be reflected in the updated
pages, while changes in editable regions will not.
The only time that the template affects the content in the editable region of
a template-based page is the first time the page is opened from the template
(File > New from Template). After that point it is not possible to update the
editable regions of this page globally. Doing so would erase the existing
content in the editable region, so Dreamweaver does not allow it. To change
this content in the editable region you must make the change in the page
itself, rather than in the original template.
Explanation
Content in templates will be either in a locked region or in an editable
region. A locked region contains content that will always be written to pages
based on the template. This region cannot be selected or changed in the page
itself; it must be changed in the original template?thus the term "locked" is
applied to noneditable regions. An editable region contains content that is
editable in the pages based on this template. Due to this fundamental
difference, the two regions work in different ways from one another:
|
| Murray *TMM* replied to SpiritoftheRadio on 16 Jul 2004 |
Have you replied to the correct post?
|
| enriqueda replied to enriqueda on 16 Jul 2004 |
SpiritoftheRadio,
Thanks for the response but my question does not pertain to templates.
I would like those who surf my page and click on a specific link to browse to
a page and have a specific word that I have chosen be highlighted through out
the page (similar to what MS Windows Help - Search tab).
Thanks.
|
| darrel replied to enriqueda on 16 Jul 2004 |
Where's the content coming from? If it's being pulled in from a database,
you could pass the search term to the new page. The new page could then grab
the content and then do a search and replace (perhaps via a regular
expression) and wrap any word that matches in a SPAN tag so you can style
it.
If it's a static page, then you could pass the search term via a query
string and possibly use javascript to do the same thing.
-Darrel
|
|
Archived message: Is this possible? (Macromedia Dreamweaver)