Re: Click Download in Browser Widget?

2017-06-12 Thread hh via use-livecode
AFAIK, the file is downloaded, I don't know the place (probably
somewhere in /tmp). There is no downloadHandler as in revBrowser.

But if one has access to the page then the followong works here:

Use a javascriptHandler to get the file url and do the download
via LC's get url(). For example:

on mouseUp
  set the javascriptHandlers of widget "browser" to "getURL"
  set htmltext of widget "browser" to \
 "" & \
 "http://hyperhh.de/html5/; & \
 "SundayGameNb2-8.0.2.zip');return false;" & \
 ">SundayGameNb2" & \
 ""
end mouseUp

put in your card's or browser's script:

on getURL iSurf
  put iSurf -- for testing
  -- put url(iSurf) into url()
end getURL

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Click Download in Browser Widget?

2017-06-11 Thread Scott Rossi via use-livecode
If I click the download link on a page being displayed in the browser widget, 
what happens with the linked file?  Does the download take place and if so, is 
the file accessible somehow?

Thanks & Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode