Skip to main content
May 4, 2017
Answered

frame target

  • May 4, 2017
  • 6 replies
  • 797 views

hello every one

i expose my problem

using Dreamweaver CS4  i try to create a tiny web page using 2 frames

First frame is filled with a list of celebrities  born in 1921 ( as an exemple ) extracted from wikipedia's page of 1921

the links of each celebritie's names are all pointing on their wikipage

The other one is  the visualisation frame page

the point is that basically links lead to the selfframe though i want them pointing to the visualisation's one

I could change the target frame one by one...but you can imagine the time needed...

Is there a trick to change the target frame for all links at once ?

thank you

This topic has been closed for replies.
Correct answer BenPleysier

Do a search and replace.

6 replies

May 5, 2017

well i solved my issue...on my own :

here it is the solution , found on this site :

HTML base target Attribute

you need to add in the "head" block this html code :

<base target="targetogo">

where targetogo is the frame you want to reach

you can put the question solved

May 5, 2017

question is not resolved...

i understood where to find "search and replace"

here it is an example for first 2 links i want to change

<TD WIDTH=94%>

            <P ALIGN=LEFT><FONT FACE="Times New Roman"><FONT SIZE=3><A HREF="https://fr.wikipedia.org/wiki/Isaac_Asimov" target="principal">Isaac

            Asimov</A>, <A HREF="https://fr.wikipedia.org/wiki/Écrivain">écrivain</A>

            de <A HREF="https://fr.wikipedia.org/wiki/Science-fiction">science-fiction</A>

            <A HREF="https://fr.wikipedia.org/wiki/États-Unis">américain</A>

            († <A HREF="https://fr.wikipedia.org/wiki/6_avril">6</A> <A HREF="https://fr.wikipedia.org/wiki/Avril_1992">avril</A>

            <A HREF="https://fr.wikipedia.org/wiki/1992">1992</A>).</FONT></FONT></P>

        </TD>

    </TR>

    <TR>

        <TD WIDTH=6% HEIGHT=30 SDVAL="1920" SDNUM="1036;">

            <P ALIGN=RIGHT><FONT SIZE=3>1920</FONT></P>

        </TD>

        <TD WIDTH=94%>

            <P ALIGN=LEFT><FONT FACE="Times New Roman"><FONT SIZE=3><A HREF="https://fr.wikipedia.org/wiki/Anna_Langfus">Anna

            Langfus</A>, <A HREF="https://fr.wikipedia.org/wiki/Écrivaine">écrivaine</A>

            et <A HREF="https://fr.wikipedia.org/wiki/Résistance_%28politique%29">résistante</A>

there is a target which could be replaced for isaac asimov ( principal ->>> otherframe)

for the second href line code (anna langfus) ( and every other one)

the is no target, so i guess a default target is created

how to set alls targets leading to "principal" ??

thank you

Rob Hecker2
Legend
May 5, 2017

Do a search and replace, as follows:

SEARCH: <A

REPLACE: <A target="principal"

It seems like you are in a different space/time continuum from the one we are in. Just to be clear, right now it is the year 2017. It seems, based on your HTML code, like you are coming to us from, maybe, the year 2000.

My Grandmother died in 2001. Would you be able to contact her for me and pass along a message? If so, I would much appreciate it.

May 5, 2017

what do you mean by do a search and replace ?

May 5, 2017

You didn't answer my question

I didn't ask to be teached the reasons why i shoudn'lt use frames.

Just tell if is possible to do what i want or not...

BenPleysier
Community Expert
BenPleysierCommunity ExpertCorrect answer
Community Expert
May 5, 2017

Do a search and replace.

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Nancy OShea
Community Expert
Community Expert
May 4, 2017

Look at Server-Side Includes for sitewide menus.

Alt-Web Design & Publishing: Server-Side Includes with PHP

Or, use a Dreamweaver Template (.dwt) to create your site.

Alt-Web Design & Publishing: Working With Dreamweaver Templates (.dwt files)

Nancy

Nancy O'Shea— Product User & Community Expert
Nancy OShea
Community Expert
Community Expert
May 4, 2017

Using Frames these days is ill-advised. 

  • Frames don't work well on mobile devices.
  • DW dropped support for Frames.
  • Frames were removed from the HTML spec.
  • Frames are not web friendly.
  • There is no future for frames or framesets in the modern web.
  • Please do not use frames.

Nancy

Nancy O'Shea— Product User & Community Expert