Posts

IE8 IE9 drop down menu inline error -

my css menu bar has little problem. bar works fine in other major browsers including ie10, not in ie 8 or 9. seem float or inline-block being ignored. shown stacked on top of 1 instead of side side. if have ie 8 or 9 can view problem @ kitchenova.com. have made jsfiddle of menu bar: http://jsfiddle.net/blzzl/ ie pain! #cssmenu ul, #cssmenu li, #cssmenu span, #cssmenu { margin: 0; padding: 0; position: relative; font-family:verdana, geneva, sans-serif } #cssmenu { height: 30px; border-radius: 5px 5px 0 0; -moz-border-radius: 5px 5px 0px 0px; -webkit-border-radius: 5px 5px 0 0; background: #e0e0e0; background: -moz-linear-gradient(top, #ffffff 0%, #e0e0e0 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #e0e0e0)); background: -webkit-linear-gradient(top, #ffffff 0%, #e0e0e0 100%); background: -o-linear-gradient(top, #ffffff 0%, #e0e0e0 100%); background: -ms-linear-gradien...

ios - Confused by how to setup my .xcdatamodel for versioning -

i reading core data model verisoning , data migration programming guide , confused on how set initial verison number. i have existing app in did not set core data versioning. in addition, using magical record. current version of app 1.3; ready release 1.4 minor changes, , want change 1 of core data entities (add new attributes) in release 1.5. absolutely need versioning users not lose existing data. assume must set current verison enable lightweight versioning release 1.5. the question is: core data version have match app version? or common way versioning work? magical record has convenience method this. in appdelegate setup magical record use. [magicalrecord setupcoredatastackwithautomigratingsqlitestorenamed:@"storename"]; alternatively click on core data .xcdatamodeld top bar editor > add model version

Why Does Output of This Command to a File Work Differently Inside a .BAT Script? -

wmic process name,processid,commandline >> test2.txt works dandy cmd.exe. however, not work .bat script (no output file changed or generated). echo output reads follows: wmic process name,processid,commandline 1>>test2.txt what "1" doing there? reflection of handle? why work differently , how can address it? the 1 number of file descriptor you're redirecting. if leave out file descriptor in redirection, 1 (stdout) implicitly assumed. more information see here . as command, it's working fine me both in batch file , directly in cmd .

java - JLabel on West/East won't show up in BorderLayout -

i using borderlayout, 3 containers gridlayout , array of 8 jlabels. container #1 uses 2 jlabels, container #2 uses 2 jlabels , container #3 uses 2 jlabels well. include container #1 north, works fine. container #2 center, works fine, container #3 south, works fine too. when come include 1 jlabel of array east , 1 jlabel west don't show up, don't know why , i've spend hours searching it. pretty much: add("north", con1); add("center", con2); add("south", con3); add("east", myarray[6]); add("west", myarray[7]); what doing wrong? d: lot you have add jlabels own panels, add panels borderlayout.

perl 101 subroutine and return value -

i don't understand how return 4 answer. not sure happening inside subroutine. sub bar {@a = qw (10 7 6 8);} $a = bar(); print $a; # outputs 4 the subroutine called in scalar context. last statement in subroutine assignment @a , expression , becomes implied return value. in scalar context, evaluates number of elements returned assignment's right-hand side (which happens same number of elements in @a ).

html - How can I make Javascript target the month? -

okay, theoretical me, have no code help. saying :) i wondering since possible, or @ least have seen been done before, make if statements time i.e. if (time>20) possible months? or did example mention (which found on w3schools.com) use variable without telling me haha. what i'm looking if statement (hopefully simple) resembles if(month==1) { //incorrect script follows goto(id);}; that example hideous function self not i'm looking for. i curious , couldn't find anywhere didn't have page worth of code that, me, looks simple in times we're in. i'll experiment code until can tell me. thank time : ) --------------------update!----------------- i started working on it. , not working me. tried. idea when open or style.display="block"; div of mine, automatically calls current month show people events happening month. var = new date(); var month = now.getmonth(); var jan = document.getelementbyid("january"); var feb = docu...

SQL Server Aggregate functions -

i have table has 3 columns: customers, billingdate, consumption city - parks/6th ave bmx park 2013-04-29 00:00:00.000 0 city - parks/6th ave bmx park 2013-04-29 00:00:00.000 30 city - parks/6th ave bmx park 2013-05-30 00:00:00.000 0 city - parks/6th ave bmx park 2013-05-30 00:00:00.000 19500 city - parks/6th ave bmx park 2013-06-28 00:00:00.000 0 city - parks/6th ave bmx park 2013-06-28 00:00:00.000 42100 city - fire station #3 2012-11-27 00:00:00.000 0 city - fire station #3 2012-11-27 00:00:00.000 8900 city - fire station #3 2012-12-27 00:00:00.000 0 city - fire station #3 2012-12-27 00:00:00.000 7900 city - fire station #3 2013-01-28 00:00:00.000 0 city - fire station #3 2013-01-28 00:00:00.000 3090 city - fire station #3 2013-01-28 00:00:00.000 7210 city - fire station #3 2013-02-28 00:00:00.000 0 city - fire station #3 2013-02-28 00:00:00.000 10100 city - fire station #3 2013-03-29 00:00:00.000 0 city - fire station #3 2013-03-29 00:00:00.000 6700 city...