Search Results - VBForums

Search:

Type: Posts; User: tr333

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    5
    Views
    344

    Re: [JavaScript] Validate Values

    Do you need to validate in JavaScript, or are you just wanting to validate on form submission? You should consider using the Constraint Validation API in HTML5, in combination with specific input...
  2. Re: Strange problems with browser rendering javascript [VS 2010]

    https://jsfiddle.net/tdzs93jb/3/

    You need to pass the event argument into your event handler for it to work in Firefox.
  3. Replies
    3
    Views
    808

    Re: Select height is not consistant

    Are you using custom styles anywhere on these form elements? Looks fine in Firefox with just plain HTML. Chromium has the <select> a couple of pixels smaller in height, but hardly noticeable.
  4. Re: CSS: IE 11 unwanted padding or margin

    Have you checked the DOM layout and styles in the F12 developer tools? That should give some insight into where the problem is occurring.

    I would also suggest checking your page in the Chrome...
  5. Replies
    12
    Views
    783

    Re: JQuery - Get Item in Array by Attribute

    There are polyfills available for ECMAScript 5 if you still need to support IE8.
  6. Replies
    3
    Views
    1,194

    Re: [RESOLVED] CSS - Display block, but not really

    Glad to help. I'm surprised more people don't know about it.
  7. Replies
    3
    Views
    1,194

    Re: CSS - Display block, but not really

    I'm thinking flexbox might be useful here?
  8. Replies
    6
    Views
    1,088

    Re: Want to use some keyboard shortcuts

    I've not used it before, but maybe the accesskey attribute might be useful here?
  9. Re: Difficulty with the Javascript Not Comparison Operator

    Run your code through http://jshint.com/ or http://jslint.com/ and you will get a complete report of all syntax/coding errors.
  10. Replies
    2
    Views
    712

    Re: Breakpoint skips create element

    Have you checked the for loop conditions? Is clientHeight returning a value > 0? Maybe try with getBoundingClientRect. Div elements will have zero height by default, unless you specify it...
  11. Re: [RESOLVED] Firebug doesn't work with SSL/HTTPS sites??

    Yeah, I've moved away from Firebug and back to just using the built-in Firefox developer tools. Have you tried out Firefox Developer Edition?
  12. Re: Firebug doesn't work with SSL/HTTPS sites??

    HTTPS shouldn't have any effect on this, unless the site is on HTTPS and the JavaScript is sourced from a HTTP url? Does it work in Chrome/Chromium/Opera/IE debuggers?
  13. Replies
    3
    Views
    760

    Re: filtering not working on android browsers

    Did you check the android version compatibility? CSS Filters are only implemented from Android 4.4 onwards. Are you using the -webkit- prefix? Perhaps you should also consider using a polyfill for...
  14. Replies
    8
    Views
    829

    Re: html, external javascript and external css

    Looks like you want to use the filter property. Take note of the browser support for this feature when deciding whether to use it, and whether you need to include a polyfill.
    ...
  15. Replies
    3
    Views
    1,021

    Re: Programming language

    http://blog.ted.com/10-places-where-anyone-can-learn-to-code/

    https://www.khanacademy.org/computing/computer-programming

    https://code.org/learn
  16. Re: Unit Testing Tool/Add-in for Javascript

    https://mmanela.github.io/chutzpah/

    Says it integrates with QUnit, Mocha, and Jasmine. Take your pick.
  17. Re: Javascript throws an error causing rendering interruptions.

    Have you run it through the browser's debugger with breakpoints? I'd also switch the alert() calls to console.log() for added user friendliness :)
  18. Re: Enigmatic strings between a responses header and data

    Where does the header content to stop and the body content to start in that snippet?

    Check that your response matches the proper syntax? http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html
    ...
  19. Re: How to save a file after clicking on a link or button

    You can add the download attribute to the <a> link.

    https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a
    http://davidwalsh.name/download-attribute
    http://caniuse.com/#feat=download
  20. Re: Width of Span Not Setting and Style Elements After Checkbox Checked

    I'd take a look at the implementation behind these to see how they do it:

    http://demos.jquerymobile.com/1.4.5/flipswitch/
    https://proto.io/freebies/onoff/...
  21. Replies
    4
    Views
    892

    Re: Enabled and Disabled Button Properties

    kfcSmitty is right. There is no way to "disable" or "enable" a button via CSS. You need to use JavaScript to toggle the disabled attribute of the button/input.

    For the CSS, just style the...
  22. Replies
    3
    Views
    1,251

    Re: JavaScript Array From Striing

    That's easy. Just run the string through JSON.parse(). It's supported in every browser including IE8+. If you need it in older browsers, you can use the JSON3 polyfill.
  23. Replies
    3
    Views
    1,875

    Re: Promises, promises...I'm Unloading

    I've got nothing more to add on penagate's answer, but you might want to read a tutorial on promises. They can make life much easier if you know how to use them properly.
  24. Replies
    7
    Views
    2,134

    Re: File upload through Ajax

    Some useful links for reading:

    https://developer.mozilla.org/en-US/docs/Using_files_from_web_applications
    https://developer.mozilla.org/en-US/docs/Web/API/File...
  25. Replies
    10
    Views
    1,748

    Re: [RESOLVED] firefox pdf viewer

    Nice to see it worked out :)

    Makes sense, since an iFrame is really just an embedded new browser window.
  26. Replies
    10
    Views
    1,748

    Re: firefox pdf viewed

    What are you attempting to do here? View a PDF in the browser window, la Adobe Reader plugin or the built-in pdf.js viewer? Or do you want to embed a PDF display into a part of your website, like...
  27. Replies
    3
    Views
    1,374

    Re: Dropdown Menu - Submenu not lining up

    :wave:
  28. Replies
    3
    Views
    1,374

    Re: Dropdown Menu - Submenu not lining up

    https://jsfiddle.net/j6p1an97/1/

    I split the ".menubar li" selector into two, so you can add extra specificity with the child selector on the inline-block. You are already specifying display:...
  29. Replies
    2
    Views
    1,152

    Re: Modifying Radio Button

    https://jsfiddle.net/5ysmnnxj/1/

    You missed the <div> elements surrounding each pair of <input> and <label>. That is for the CSS sibling selectors to work properly. Otherwise you'd be selecting...
  30. Re: Temporarily store form data (retrieve after restart)

    A few more links that might be relevant:

    http://caniuse.com/#search=web%20storage
    http://html5please.com/#localStorage
    http://www.html5rocks.com/en/features/storage...
  31. Replies
    2
    Views
    1,255

    Re: Dropdown Menu - Styling Sub Menu

    For starters, you can remove the "visibility" properties; the show/hide is already handled by "display". Also remove the "float", as you want it to be a regular vertical <ul> for the dropdown.
    ...
  32. Re: Web Deployment package doesn't copy all DLLs

    Finally got this working by doing a second msdeploy call to sync the dll files separately after deploying the package.
  33. Replies
    1
    Views
    1,221

    Re: bootstrap and javascript

    Have you checked the Bootstrap docs? They have a lot of examples on there that you can look at and modify.
  34. [RESOLVED] Web Deployment package doesn't copy all DLLs

    I'm creating a web deployment package .zip file for an ASP.Net application, but it doesn't seem to copy all the dll files into the package.zip bin folder.

    I'm using the System.Data.SQLite nuget...
  35. Replies
    2
    Views
    1,871

    Re: How do you fix a javascript void(o) problem?

    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/void

    The use of void(0) is likely intentional to run js event handlers on the links instead of having the browser...
  36. Replies
    2
    Views
    1,638

    Re: How to adjust one div into another in html/css

    Sounds like you want to use the flexbox layout. The guide at CSS Tricks shows an example matching your image above. Three columns with a header and footer.
  37. Re: How to insert image or picture in HTML using notepad?

    Depends if you just want a single static image or responsive images.

    The <img> element will insert a single image, while the picturefill polyfill will handle the <picture> element if you want...
  38. Replies
    8
    Views
    1,845

    Re: Website analytics and free hit counter

    Just install piwik on your webserver and be done with it. If you're running on a third-party hosting platform like cPanel, they will normally have awstats available to view from the cPanel page.
  39. Replies
    5
    Views
    1,563

    Re: cloning a branch of DOM tree with JavaScript

    For something relatively small, or where super speed is required, you're probably better off without the bloat of jQuery. For anything larger, the benefits of a library like jQuery (cross-browser...
  40. Replies
    1
    Views
    1,188

    Re: play video from rtmp URL

    Take a look at video.js. Looks like that can handle rtmp streaming.

    https://github.com/videojs/video.js/blob/stable/docs/guides/tech.md#enabling-streaming-playback...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.