Image Browser with Multiple TextAreas

Denver Dave
08-05-30 23:07
I think I'm close with the following addition to the .js

function doWin(URL) {  //popup  for browse function
URL = URL + '&rtn=' + idTa;

The php image browser has the following code already.
<?php $rtnfield=($_REQUEST['rtn']) ? $_REQUEST['rtn'] : 'if_url'; ?>
<html>
<!-- Whizzypic.php v3 - works with whizzywig 55+

... or maybe I've missed something already there.



Image Browser with Multiple TextAreas
Denver Dave
08-05-30 22:37
With v55i I can't figure out how the Image browser is supposed to know which TextArea called the browser  when there are multiple TextAreas.

In each TextArea on the main edit form page the image URL field ID is determined by:   if_url'+idTa

How does the image browser know the value of idTa or which id to stuff the Image URL into on the calling window?  In the old days it was always if_url, but now might be if_urltextarea1, if_urltextarea2 ... etc.

New Message


Your message

Type in these letters/numbers Type in this code (prevents automated submissions).
Can't make it out? Double click it for new code.


hide menu | Show caps
Google