Search:

Type: Posts; User: tr333

Page 1 of 13 1 2 3 4

Search: Search took 2.19 seconds.

  1. Replies
    5
    Views
    3,731

    Re: Trying to expand a line to full width

    Inline elements aren't affected by width. You'll need to set the display to inline-block or just use a block-level element as coothead said.
  2. Replies
    1
    Views
    4,567

    Re: Making HTML Websites Mobile-Friendly

    You want to use the HTML5 form input types and associated attributes.

    https://miketaylr.com/code/input-type-attr.html
    http://caniuse.com/#feat=forms
    https://www.wufoo.com/html5/

    These will...
  3. Replies
    3
    Views
    2,321

    Re: prevent unauthorized posting to a php page

    I wasn't referring to anything specific, just some value that could be used to authenticate the request as coming from a valid client.
  4. Replies
    3
    Views
    2,321

    Re: prevent unauthorized posting to a php page

    How secure does this need to be? In other words, how sensitive is the data you're sending? If it's super sensitive, there's no question you'd want HTTPS. Otherwise you could just send a token to...
  5. Re: Convert Javascript Safari extension code to a standalone app

    If it's just for you, you could convert the extension into a userscript? Tampermonkey would be one option for this, although I've never run userscripts on browsers other than Firefox.
    ...
  6. Re: [Bootstrap] Simple Navbar with Dropdown

    http://codepen.io/anon/pen/GqvNzZ

    The navbar component requires the bootstrap javascript to be included on the page, which in turn requires jquery.

    This is also a good site for testing...
  7. Thread: forms and images

    by tr333
    Replies
    7
    Views
    1,975

    Re: forms and images

    For some unknown reason, I couldn't get jQuery to load properly in jsfiddle, hence why I switched it to codepen
  8. Thread: forms and images

    by tr333
    Replies
    7
    Views
    1,975

    Re: forms and images

    http://codepen.io/anon/pen/oLwOJk?editors=1111

    A few things to note:

    When adding resources to a fiddle/pen from github, you need to use https://rawgit.com/ so they are loaded with the correct...
  9. Thread: forms and images

    by tr333
    Replies
    7
    Views
    1,975

    Re: forms and images

    Any chance you could create an example using jsfiddle or codepen?
  10. Replies
    2
    Views
    1,706

    Re: embed HTML using javascript

    Take a look at this article on loading scripts

    http://www.html5rocks.com/en/tutorials/speed/script-loading/
  11. Replies
    3
    Views
    2,456

    Re: [CSS] Change RadioButton's Checked

    https://css-tricks.com/almanac/selectors/c/checked/

    You can check the checked status with CSS but you can't change/modify/set it. You need JS to do that.

    I don't have any experience with CSS3...
  12. Replies
    6
    Views
    3,929

    Re: Scrape html with js and php?

    If you want javascript on the server, just go straight to Node.js?
  13. Replies
    6
    Views
    3,929

    Re: Scrape html with js and php?

    Perhaps you might want to look at Node.js then? There's a few node modules available for doing web scraping.
  14. Replies
    8
    Views
    2,583

    Re: Strange style element

    Have you considered using something like Normalize.css?
  15. Replies
    5
    Views
    11,688

    Re: Trouble calling PHP (maybe)

    Did you check the browser console for error messages? If you need remote debugging, you can try the Valence add-on for Firefox.
  16. Thread: Validate Input

    by tr333
    Replies
    3
    Views
    14,605

    Re: Validate Input

    Any reason why you're not using the form-validation attributes "required" and "pattern"? Alternatively, if that's not enough you could use the jQuery Validation plugin? This plugin also supports...
  17. Replies
    3
    Views
    5,454

    Re: Code Tag Removes New Lines

    https://github.com/syntaxhighlighter/syntaxhighlighter
    http://prismjs.com/
    https://highlightjs.org/
  18. Replies
    3
    Views
    5,454

    Re: Code Tag Removes New Lines

    HTML strips all excess whitespace, so newlines will be ignored. The HTML5 spec mentions wrapping the <code></code> tags in <pre></pre> tags to preserve the whitespace.
  19. Replies
    6
    Views
    12,075

    Re: jQuery and SlickGrid - 90,000 rows!

    I've had similar success using DataTables.
  20. Replies
    2
    Views
    3,718

    Re: Compare date to a list of dates?

    What format are your date strings in? Better to have them in ISO8601 (YYYY-MM-DD) format if possible so there's no confusion for the browser.

    Moment.js also has some nice stuff for manipulating...
  21. Replies
    5
    Views
    6,954

    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...
  22. 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.
  23. Replies
    3
    Views
    4,582

    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.
  24. 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...
  25. Replies
    12
    Views
    5,949

    Re: JQuery - Get Item in Array by Attribute

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

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

    Glad to help. I'm surprised more people don't know about it.
  27. Replies
    3
    Views
    6,914

    Re: CSS - Display block, but not really

    I'm thinking flexbox might be useful here?
  28. Replies
    6
    Views
    4,164

    Re: Want to use some keyboard shortcuts

    I've not used it before, but maybe the accesskey attribute might be useful here?
  29. 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.
  30. Replies
    2
    Views
    3,852

    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...
  31. 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?
  32. 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?
  33. Replies
    3
    Views
    1,253

    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...
  34. Replies
    8
    Views
    1,628

    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.
    ...
  35. Replies
    3
    Views
    1,694

    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
  36. Re: Unit Testing Tool/Add-in for Javascript

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

    Says it integrates with QUnit, Mocha, and Jasmine. Take your pick.
  37. 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 :)
  38. 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
    ...
  39. 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
  40. 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/...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width