You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
I created a routine that would display a popup window.
The contents of this popup window is created by pulling in different pages in the elements directory. ie:
&display_print('ste_page1');
&display_print('ste_page2');
&display_print('ste_page3');
The links embedded in these pages are not targetted, and therefore open in the same window.
In the case of this popup window, I don't want the contents from the result of a clicked link displaying in the same window as the popup, it just wouldn't fit.
Is there a way that the contents of the above three pages --as they are being read in using the above &display_print command-- could be parsed and any traces of
<A href="DESTINATIONURL">LINKTEXT</A>
be replaced with
<A href="DESTINATIONURL" target="parent">LINKTEXT</A>
I'm sure it can be done!
Offline
I'll make this clearer to understand.
I have created a routine that will create a page by using elements that already exist. The purpose of this is to reuse the same data already used in other pages and make a popup window.
When the element is read in, before it is used, I want to change all instances of;
<a href="(CGIVAR)seo_base_url(/CGIVAR)/page----test.html">link</a>
to
<a href="(CGIVAR)seo_base_url(/CGIVAR)/page----test.html">link</a>
Additions in BOLD. Does anyone know how?
Offline