Posts

html - Prevent scroll in textbox -

if textbox happens focused , use scroll within it, page scroll gets bugged. in other words, looks scrolling within textbox rather page, causes me have reload page if want remove bug. the work around have once textbox focused , want scroll page have click body of page unfocus. not every user know issue , cause page scroll bug. there way prevent scroll on textbox ? not sure feature called. fyi: tried bug scroll still happens textbox { position: fixed; white-space: nowrap; overflow: hidden; } jsfiddle https://jsfiddle.net/nmbga0nu/3/ it not run code in snippet shows css. using asp.net textbox/label shouldn't affect why scroll happens. has css or bootstrap. try overflow: hidden; on textbox , let me know if worked. you post code can have context.

javascript - ExtJS GridHeaderFilters not a constructor -

i'm trying add row filters in extjs , i'm getting error in firefox: typeerror: ext.ux.grid.gridfilters not constructor i'm going off of this model. there better way add row filters xmlstore? fiddle plugins: [new ext.ux.grid.gridheaderfilters()], columns: [{ text: 'title', width: 150, dataindex: 'title', filter: [{xtype:"textfield"},{xtype:"textfield"}] }, { text: 'description', flex: 1, dataindex: 'description', filter: [{xtype:"textfield"},{xtype:"textfield"}] }, { text: 'modified', width: 90, dataindex: 'modified', xtype: 'datecolumn', format: 'm/d/y' }], filter: { xtype: "com...

c++ - How to correctly notify in QQmlListProperty properties? -

whenever creating q_property later use in qml created notify signal tell qml data changed , needs reevaluated. now having q_property of type qqmllistproperty<t> how can signalize item has been modified, added or removed? is possible? if have list there can't propertychanged() signal, because object reference stored remain same. within list there won't properties, no signal emitted. you instead use descendent of qabstractlistmodel designed handle problem, wrapping methods append, insert etc. in own methods, emit datachanged signal carries information necessary find changes. of course implement similar wrapping qlist in object, has signal inform of data change. won't integrate nicely qml real model, @ least view update automatically, when datachanged signal received, , update necessary. not so, if model of view changed directly, might happen, if manually call modelchanged() . in case, view miss information changed parts, recreate compl...

Windows XP + playing HTML5 audio problems -

i published new application, full of audio tags, , it´s working fine in browsers. unfortunately, there customers windows xp , chrome version 49 (because there no chrome support winxp anymore). when hearing audio in application, there very, poor sound , breaks often. tried adding 3 formats (mp3, ogg, wav), still same. tried other browsers on winxp (firefox, chrome, opera, iron...), again same. weird - if open audio file right click in new tab, plays perfectly! can code cause? how write audio tags: <div id="playerarea" class="row playerarea animated fadein"> <audio id="dolphinaudio" controls="controls" preload="auto" onvolumechange="volumechangedevent()"> <source src="filename.mp3" type="audio/mpeg" /> <source src="filename.mp3" type="audio/mp3" /> <source src="filename.ogg" type="audio/ogg" /> ...

ios - Trying to add an overlay for controls to a PDFPage in PDFKit but without adding it to the pdf itself -

i integrate bookmark button directly @ top of pdf page overlay scrolls page. know can override pdfpage's draw function , include button there shown in wwdc 2017 session on pdfkit doesn't seem optimal solution , means overlay added pdf want avoid. ideas on how accomplish this?

javascript - jQuery SmartMenus special functionality -

i implementing smartmenus on website , need add advanced functionality when in mobile-state. the default behavior of smartmenus expand item on first click no matter click , collapse when clicking minus button; if click anywhere else activate link. below desired effects: expanding 1 menu item should collapse other open items expanding/collapsing should activated only using plus or minus buttons; clicking anywhere else should take url expanding menu item should keep within view user on mobile in js code see comments such // 1 // correspond items listed above. i have been trying quite time , have been able achieve functionality of 1+3 or 2+3. 1+2 seem conflicting somehow cannot figure out smartmenus architecture , it's expectations. any guidance @ appreciated. do note stackoverflow code snippet seems prevent going of urls clicked in smartmenu might need bring code computers local environment. $(function() { // start smartmenu var $mainmenu = $(...

asp.net core mvc - IdentityServer4 with multiple clients -

i have multiple front facing web apps identityserver4 (micro-service) app, running on .net core mvc. given user may have multiple accounts on each of app1 , app2. once user logs in select account accessing. if user logs in on app1 , selects account, should able log in app2 , select account without losing identity on app1. when returning app1 selected identity should still persist (no re-login required). additionally, if user goes through entire login process on app1, if hit app2 w/o app2 identity, should not have enter initial credentials, go straight account selection. the issue i'm having once try log user in on app2, lose app1 identity. things i've tried: i set separate scopes 2 sites , can manage site gets info, great, doesn't solve overall issue. i've attempted set separate authenticationschemes sites far has been unhelpful, leading unhelpful "server_error" message (no stack trace, nothing in logs). does know how accomplish this? ...