Posts

accessibility - Adobe Reader cannot correctly read out loud table in tagged document -

i'm trying create accessible table adobe reader pronounce 'correctly'. means before pronouncing contents of cell speaks name of header of current column (or row). (it explained better @ first link below). for i've created single-page document table this. +------+-----+-----+ | name | sex | age | +------+-----+-----+ |antony|male | 26 | +------+-----+-----+ |robert|male | 36 | +------+-----+-----+ then "touch reading order" tool i've changed properties of each cell create references header cells. it expected pronounce: "name. antony. sex. male. age. twenty six. name. robert. sex. male. age. thirty six." read table row row. maybe didn't enable something? i've used links prepare document: http://teachingcommons.cdl.edu/access/docs_multi/pdf_vid_tut/repair_docs/identifying/identifying_table_headers.shtml (associating data cells row , column headers) http://www.the508compliantpdf.com/creating_complex_tables_in_indesign_a...

remove button and use dropdown box in hta-vbscript -

i new hta & vbscript . have **hta** script downloaded internet delay reboot of computer. there button delay such 30 min, 45 min, 60 min etc. use combobox(dropdown box) instead of button. i want vbscript work dropdown box. below code of hta. <html> <head> <title>reboot notification</title> <hta:application id="omyapp" applicationname="reboot notification" border="dialog" borderstyle="normal" caption="yes" scroll="no" maximizebutton="no" minimizebutton="no" showintaskbar="no" singleinstance="yes" sysmenu="no"/> </head> <script language = "vbscript"> dim intminutes dim intseconds dim strhtaproc set objshell = createobject("wscript.shell") sub window_onload ...

file download with curl and php -

i wrote php function downloads (.exe) files using curl extension. file gets downloaded, when try open not compatible error. opened using notepad++ , there see '200' added beginning of file. can't understand '200' comes ? here function: $source = isset($_get['link']) ? $_get['link'] : ''; #get download link $filename = isset($_get['name']) ? $_get['name'] : 'download.exe'; # define name if($source != '') { $handle = curl_init($source); curl_setopt($handle, curlopt_returntransfer, true); /* html or whatever linked in $url. */ $response = curl_exec($handle); /* check 403 (forbidden). */ $httpcode = curl_getinfo($handle, curlinfo_http_code); if($httpcode == 403) { echo "<h2> <font color='red'> sorry not allowed download file.</font><h2>"; } else { ...

c# - Paypal, how do I find out when someone makes a purchase? -

in general: c# server getting transactions hosted items type: shopping cart type: subscriptions data: custom field callbacks? not web i setting minecraft server , require purchases recognised possible, there way callbacks when purchases made , if there isn't - how payment history? list payment resources has been complete waste of time looking topic finds transactions api can't see other parts in find transactions generated hosted buttons. does know of information , better documentation - far paypal has been worst api work with. before using ipn, choose payment product gives immediate response when payment made. for example, may choose express checkout classic api ( https://developer.paypal.com/webapps/developer/docs/classic/express-checkout/gs_expresscheckout/ ) or payment rest api ( https://developer.paypal.com/webapps/developer/docs/api/#payments ). both return immediate response when payment made, , know if payment successful. in case ipn...

MongoDB - I can't find the filesize of my database -

strangely, on mongodb 3.0.3 standalone server, after running db.stats() command on database output not showing information filesize of database except non existing ones : > use mybase switched db mybase > show collections xmlcache system.profile > db.stats() { "db" : "mybase", "collections" : 2, "objects" : 62228, "avgobjsize" : 139963.13608022113, "datasize" : 8709626032, "storagesize" : 3128832000, "numextents" : 0, "indexes" : 9, "indexsize" : 15106048, "ok" : 1 } > db.runcommand({ dbstats: 1, scale: 1 }) { "db" : "mybase", "collections" : 2, "objects" : 63765, "avgobjsize" : 138065.89466007997, "datasize" : 8803771773, "storagesize" : 3129327616, "n...

Java JMapViewer: How can I change the color of a MapPolygon? -

Image
i'm creating application drawing pollution information on jmapviewer. want mappolygons, didn't find documentation it. succeeded create new mappolygons this: private mappolygon getpolygon(double lat, double lon, color col){ list<coordinate> coords = new arraylist<>(); //add points list... mappolygon poly = new mappolygonimpl(coords); return poly; } i'm wondering how change color , remove border of mappolygon. there no function setcolor or such... i tried directly constructor, doesn't work: mappolygon poly = new mappolygonimpl(coords, color.red, new basicstroke(0)); does know how can change color of mappolygon? thanks! because mappolygonimpl extends mapobjectimpl , mappolygonimpl inherits setcolor() , setbackcolor() mapobjectimpl . mappolygonimpl uses these colors in implementation of paint() . colors stored in parent class's style attribute, initialized calling getdefaultstyle() during construction. you c...

java - Spring passing ModelMap model attributes to JSP -

i having problems passing modelmap attribute tsp page. intelij idea recognizes variable passing well, when deploy application on tomcat, , actual page loaded, can see variable names, instead of variable values. trying print data .jsp view. web.xml: <!doctype web-app public "-//sun microsystems, inc.//dtd web application 2.3//en" "http://java.sun.com/dtd/web-app_2_3.dtd" > <web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"> <display-name>orange home web application</display-name> <!-- definition of root spring container shared servlets , filters --> <context-param> <param-name>contextconfiglocation</param-name> <param-value> ...