hey guys.
this is for file browsing, on a public server & then on a SSL server.
it pop opens a dir structure of links, you select one & it closes the window & puts
the value in a form field.
if i run the code on the local/pub server it closes the window & puts the value in the
right field..
but if i pop open the SSL server page, shows the links fine, but then when i select a
link, it doesn't close the window & it throws an error..
i am just trying to get the [fckeditor] to do what i want..
so how do i change window.setImage( fileName ) ; to set the image name from a https://
to the location of the referring page?
object doesn't support this property or method:
<SCRIPT language="javascript">
var sImagesPath =
document.location.pathname.substring(0,document.location.pathname.lastIndexOf('/')+1)
+ 'docs/' ;
function getDoc(fileName)
{
window.setImage( fileName ) ;
window.close() ;
}
</SCRIPT>
-----------------------------------\
from the page that has the form fields
function browserServerSSL()
{
var oWindow = openNewWindow(sBrowseURLSSL, "BrowseWindow", iBrowseWindowWidthSSL,
iBrowseWindowHeightSSL) ;
oWindow.setImage = setImage ;
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community.
http://www.fusionauthority.com/ads.cfm