Posts

asp.net - checkboxlist styling doesnt works -

i have tried possible ways replace default checkbox input button interactive gif image , dont know missing , or tutorial highly appreciated, below css snippet m using apply checkbox list: #left_columnforsale .accordcontent span.chkbox input[type="checkbox"] { /*background: url('../images/checkbox.gif') no-repeat;*/ background-color: #800000; } sorcecode : <span id="contentplaceholder1_checkboxlist1" class="chkbox"> <input id="contentplaceholder1_checkboxlist1_0" type="checkbox" name="ctl00$contentplaceholder1$_content$checkboxlist1$0" onclick="javascript:settimeout(&#39;__dopostback(\&#39;ctl00$contentplaceholder1$_content$checkboxlist1$0\&#39;,\&#39;\&#39;)&#39;, 0)" value="0 , 1000" /> <label for="contentplaceholder1_checkboxlist1_0">0 - £1,000</label> <br /> <input id="contentplaceholder1_checkboxlis...

javascript - Test if URL is accessible from web browser i.e. make sure not blocked by Proxy server -

i serving website mywebsite.com. host images on flickr images loaded in user's browser via requests flickr. many of websites users access mywebsite.com corporate networks, block access flickr.com. means users annoying blank placeholders instead of images. same problem facebook button. makes site unattractive such users. is there way can run client side script check if flickr.com, facebook.com, etc. accessible. if not change href attribute of image load alternate source, or replace standard image explaining network blocking access. remove facebook button. i thought xml http request trick, i'd hit cross domain issues think. guess set proxy serve images, don't want that; idea of flickr takes bandwidth hit. tldr: how determine if flickr.com accessible user's browser, using client side technology. you try this... var image = new image(); image.onerror = function() { var images = document .getelementbyid('flicker-images...

c# - Date comparison within timer -

i have timer runs every second, code bellow: public mainwindow() { initializecomponent(); dispatchertimer timer = new dispatchertimer(); timer.interval = timespan.frommilliseconds(1000); timer.tick += new eventhandler(someeventhandler); timer.start(); } private void someeventhandler(object sender, eventargs args) { tvmonitor tvmonitor = new tvmonitor(); if (tvmonitor.needsturningon()) { console.writeline("on"); tvcom.sendcommand(settingmanager.gettvcode("on") + environment.newline); } } in function needsturningon() have following: public bool needsturningon() { var turnon = (from settings in context.systemsettings settings.systemsettingname == "tvontime" select settings).first(); if (turnon.systemsettingvalue == string.empty) { return fals...

wordpress security and xmlrpc.php -

looking through site stats i'm noticing bunch of hits on wordpress/xmlrpc.php file. it's not me afaik, need worry here, there anyway secure this? i'm running multiple wordpress sites on same apache2, , it's 1 of them happening to. if don't use xmlrpc interface (pingbacks or blogging external sources android/iphone), can turn off feature. settings -> writing -> xml-rpc

google app engine - Appengine: can't delete deployed version -

Image
i've deployed couple of app versions can't delete now. i tried delete using " appengine  〉administration 〉versions" when press "delete" delete version 99: an attempt delete version causes 500 error: i've tried overwrite them new ones, didn't helped. i've tried delete them week ago , yesterday fails. i'm afraid after time versions became undeletable (now have 2 undeletable versions , deployed versions limit &approx;11). how supposed delete versions? there alternative ways delete deployed versions (appcfg wouldn't help)? appears filed bug .... star if not own report give more weight

testing - selenium management tool -

i wondering best management tool selenium. handles automated running of tests rc. saves screenshots selenium rc takes, connectivity database. of tools guys use. thank you i think looking continuous integration server. want.

jquery - Ajax passing cookies with ie7 -

i using jquery on facebook application. logged-in user has cookie containing facebook id, , how authenticated on server side. the problem occurs on ie7 when initiating ajax request server. browsers works fine, , when check user's cookie on server side works great. however, seems when using ie7, cookie not sent along ajax request (when issuing non ajax request cookies passed fine). are there workarounds issue? strange thing problem occurred on 1 computer using ie7, on different 1 operating same browser version did manage work :/ thanks! joel maybe use jquery $.ajax caches ajax request default. prevent use: $.ajax({cache:false, ....})