Copy link to clipboard
Copied
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
Do a search and replace.
Copy link to clipboard
Copied
Using Frames these days is ill-advised.
Nancy
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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...
Copy link to clipboard
Copied
Do a search and replace.
Copy link to clipboard
Copied
what do you mean by do a search and replace ?
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
I still say you're going about this all wrong as evidenced by the lack of replies you've received.
You're using a backwards approach in a modern world where support for FRAMES and URLs to outside domains is restricted. It's never going to work.
Put simply, Frames and Iframes cannot do what you want unless the target content resides on your domain.
While it's OK to link to outside sources like Wikipedia., it's not OK to scrape or pull their content into your own website. If that's your intent, you must contact the publishers of Wikipedia and get their permission to tap into their web feeds (aka RSS feeds). That's an entirely different technology. See link below.
Nancy
Copy link to clipboard
Copied
well i solved my issue...on my own :
here it is the solution , found on this site :
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