Target Frames Resetting on refresh of Dynamic Web Template

G

Guest

Each time I set the hyperlink target frames to "New Window" page default on
individual pages, these get overridden back to "none" whenever I update the
Dynamic Web Templates attached to the pages. What code should I have on the
DWT so that it no longer overrides what I've set an individual page default
to be?
 
S

Stefan B Rusynko

Any targets set in editable regions are not changed by the DWT
- but if they are in non-editable regions they are changed by the DWT
If the links are in non-editable region of the page change the target in the DWT
If you are setting a base target tag in the head section (to be unique on each page) make it an editable region

<!-- #BeginEditable "pagetarget" -->
<base target="_blank">
<!-- #EndEditable -->
--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Each time I set the hyperlink target frames to "New Window" page default on
| individual pages, these get overridden back to "none" whenever I update the
| Dynamic Web Templates attached to the pages. What code should I have on the
| DWT so that it no longer overrides what I've set an individual page default
| to be?
 
G

Guest

The targets have all been in the editable-regions of the DWT which is why I
was perplexed as to why ALL of the pages that I switched target frame were
somehow switched back when I updated the DWT.

If I go ahead and set a base target using the code below, I will still be
able to change individual targets on a page to something other than the base
target set for the page, correct?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top