I got some code from BJ for making all links on one page that are stored in a database, pop up as a new window. Here is the code:
==============
<a href="<? print $uri; ?>" target="_blank" onClick="return MM_popupMsg('You are now leaving the SelfhelpMagazine web site. Please note that SelfhelpMagazine does not regularly monitor nor assume responsibility for content of web sites listed in our Resource Department. Be aware that while other web sites pass our initial screening, they may already include or later develop material or policies beyond our control that may violate your privacy. If you are sure you wish to continue, click the OK button. To remain on the SelfhelpMagazine web site, click the CANCEL button. ')" ><? print $title; ?></a>
==============
The above, of course, is on a php page and works GREAT here: http://www.selfhelpmagazine.com/resources/resources.php3?catid=213
Now, I have another page here: http://www.selfhelpmagazine.com/bookstore/bestseller.html
That uses this code in the page to generate the links:
==============
<script language="JavaScript">
writeBsEntry ("Self-Help Stuff That Works","Adam Khan","0962465674","true","false");
writeBsEntry ("Breaking the Chain of Low Self-Esteem","Marilyn J. Sorenson, Ph.D.","0966431502","true","false");
writeBsEntry ("Self-Nurture: Learning to Care for Yourself As Effectively As You Care for Everyone Else","Alice D. Domar, Henry Dreher:", "0670882860","true","false");
writeBsEntry ("Sugar Busters! : Cut Sugar to Trim Fat","H. Leighton Steward","0345425588","true","true");
</script>
==============
NOTE: There are many more entries but I only put a few for example.
Is there any way to make the new window js code pop up the links in the new code I'm providing?
Please note this new page is NOT php, it's an .html page and also please note that the js in the head
tag is this: <script language="JAVASCRIPT" src ="js/bscode.js" ></script> which I'm assuming means
I'm using an external js link on the page, yes? no?
Thanks! Deb
____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
