Search Results - VBForums

Search:

Type: Posts; User: tr333

Page 1 of 13 1 2 3 4

Search: Search took 0.06 seconds.

  1. Re: Want a web page to open another web page and some how grab contents of the other

    If the iframe is on the same domain, then you can just access the contentDocument or contentWindow.document of the iframe. If it's on a different domain, you're out of luck due to Same Origin Policy...
  2. Replies
    3
    Views
    194

    Re: Avoiding spambots

    Do you have a high-profile, high-traffic site? If not, then forget about bots. Implementing CAPTCHA to view an email address (aka. recaptcha mailhide) just annoys users, and many people don't...
  3. Replies
    3
    Views
    256

    Re: Scanned images uploaded as PDF's

    pdf.js is included as the default pdf viewer in Firefox, but you can also get the pdf.js file from github to do your own pdf manipulations in your website for any browser. I've used it previously to...
  4. Replies
    3
    Views
    256

    Re: Scanned images uploaded as PDF's

    http://viewerjs.org/

    It uses the pdfjs library developed by Mozilla, which is a JavaScript pdf library included in recent versions of Firefox.
  5. Thread: Override CSS.

    by tr333
    Replies
    5
    Views
    294

    Re: Override CSS.

    Don't forget the "C" in CSS stands for "Cascading". Order of styles can make all the difference to what gets applied to your page. Firefox and Chrome also support the scoped attribute for scoping...
  6. Thread: Override CSS.

    by tr333
    Replies
    5
    Views
    294

    Re: Override CSS.

    Try checking the DOM inspector that comes as part of the browser developer tools. It should show you which CSS rules are active and which rules are being overwritten by another rule. Are you...
  7. Thread: JQuery Tutorial

    by tr333
    Replies
    6
    Views
    1,129

    Re: JQuery Tutorial

    https://learn.jquery.com/
    http://try.jquery.com/
  8. Re: Limit the value that can be entered to a text box

    You could do a lot worse than reading the articles at http://html5rocks.com/ :)
  9. Re: Limit the value that can be entered to a text box

    You can do this using HTML5 form validation without any JavaScript. You will need to ensure that your target browser supports the correct attributes. If not, you can just polyfill using webshim.
    ...
  10. Re: No 'Access-Control-Allow-Origin' header is present on the requested resource

    You can, but the remote server on another domain also needs to be configured to send the correct headers to allow connections from your domain.
  11. Thread: Re-sizing stuff

    by tr333
    Replies
    4
    Views
    269

    Re: Re-sizing stuff

    Dodgy coding? You would need to create a CSS class to add to the top-level element and then prefix all style definitions in your .css with this class. ie. effectively "namespacing" for your css.
  12. Replies
    3
    Views
    234

    Re: How to load optional CSS files

    If you need to do the custom loading from inside JavaScript, then I would suggest something like yepnope.js. Using CSS Media Queries is preferable, as it doesn't require any JavaScript.
  13. Replies
    3
    Views
    234

    Re: How to load optional CSS files

    Sounds like you want to use CSS Media Queries. That will let you load different CSS stylesheets based on screen/viewport size.

    http://www.html5rocks.com/en/mobile/mobifying/...
  14. Re: No 'Access-Control-Allow-Origin' header is present on the requested resource

    CORS is what you want to use, if your browser supports it. Otherwise, you would be stuck with the older, less secure JSON-P.

    You need to enable it on the server-side to allow it to work properly....
  15. Re: [HTML5/CSS] Center Image between two DIVs

    You could also achieve the same result using CSS flexbox layout mode.

    http://html5please.com/#flexbox
    http://philipwalton.github.io/solved-by-flexbox/...
  16. Replies
    4
    Views
    1,153

    Re: Creating Clickable Line Chart

    I don't have that much experience with it. All the options/settings available are at http://api.highcharts.com/highcharts. The alternative is to contact the developers and ask them directly.
  17. Re: how to Import font from local folder

    You want to use Web Fonts.

    http://www.html5rocks.com/en/tutorials/webfonts/quick/
  18. Replies
    4
    Views
    1,153

    Re: Creating Clickable Line Chart

    Highcharts will do what you want.

    eg. http://www.highcharts.com/demo/dynamic-click-to-add
  19. Replies
    1
    Views
    539

    Re: Feelers for anyone using Sencha products

    I've yet to see any evidence that proprietary software has a better track-record of staying around than free software. At least with free software, you are able to DIY bug fixes/features if the...
  20. Replies
    2
    Views
    601

    Re: "Document.value" ERROR in IE11

    How is your <form> tag defined? Do you have both the id and name attributes for it?

    http://stackoverflow.com/questions/7436277/document-formname-is-undefined
  21. Thread: Really good read

    by tr333
    Replies
    1
    Views
    564

    Re: Really good read

    I think closures are definitely the most misunderstood part of JavaScript. Here's a few more explanations:

    http://nathansjslessons.appspot.com/...
  22. Replies
    2
    Views
    577

    Re: web/phone css page centering

    Have you tried using the viewport meta tag?

    https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag
  23. Replies
    1
    Views
    470

    Re: Dropdown not asyncpostback in update panel?

    This should be moved to the ASP.NET forum.
  24. Re: Partial Postback loses my CSS changes done client side.

    I'm guessing this thread should be in the ASP.NET forum? Hopefully a mod can move it there.
  25. Replies
    3
    Views
    388

    Re: Problems with "size" of elements

    http://dochub.io/#css/position
    http://css-tricks.com/absolute-relative-fixed-positioining-how-do-they-differ/

    Absolute positioned elements are removed from the regular layout flow, and so can...
  26. Replies
    5
    Views
    2,324

    Re: Load MySql Data to JavaScript Array

    I would also suggest learning how to use the developer tools built in to each browser. You can view the error console to see JavaScript errors in your code. It will also show the results of...
  27. Replies
    5
    Views
    2,324

    Re: Load MySql Data to JavaScript Array

    It's a bit of a late reply to this...

    Your problem is the invalid JSON being returned from the PHP script.

    PHP has functions to encode/decode data structures into valid JSON. Use the built-in...
  28. Thread: Sockets

    by tr333
    Replies
    1
    Views
    559

    Re: Sockets

    WebSockets
  29. Re: Printing an IFRAME - user would like to be able to EMAIL it instead

    All the "E-mail page" links that I've seen appear to just send a request to the server which then generates the content for the e-mail and sends it off. Can they not just print to PDF and then...
  30. Re: Printing an IFRAME - user would like to be able to EMAIL it instead

    Do they want to be able to e-mail the page to someone else? The only way to do that would be to do it all server-side. I doubt it's possible to create an HTML e-mail from a mailto: link, or if it...
  31. Replies
    1
    Views
    606

    Re: Nice open-source icon fonts

    Font Awesome (bootstrap) is very nice. jQuery Mobile is now using Glyphish SVG icons with grunticon as a PNG fallback.
  32. Re: VS when "debugging" Javascript does not like this technique

    And one more for good luck...

    http://net.tutsplus.com/tutorials/javascript-ajax/cargo-culting-in-javascript/
  33. Re: VS when "debugging" Javascript does not like this technique

    You could also golf it a bit by removing the second ||.


    var blnFullReMakeOnSave = !!(wesDDR.data("awcoptions") || {}).fullremakeonsave;

    ...
  34. Re: VS when "debugging" Javascript does not like this technique

    You do have to be careful that the left operand of the || is not accidentally "truthy" when you really wanted it to be "falsey".

    http://james.padolsey.com/javascript/truthy-falsey/
  35. Re: VS when "debugging" Javascript does not like this technique

    Is "fullremakeonsave" supposed to be a property or a method? Did you see errors in the other browser consoles (Firefox web inspector, Chromium devtools, Opera dragonfly)?
  36. Re: VS when "debugging" Javascript does not like this technique

    I use that syntax all the time to create closures, and I've not seen any problems in IE8+.

    E.g.

    (function (wesDDR, $, undefined) {

    wesDDR.data = function () {

    };
  37. Re: VS when "debugging" Javascript does not like this technique

    I see nothing wrong with that as long as wesDDR is defined and wesDDR.data exists as a function. Otherwise, you will get type errors if they don't exist.

    Just tried it in the Firefox and Chromium...
  38. Thread: Software website

    by tr333
    Replies
    1
    Views
    814

    Re: Software website

    jQuery Mobile is quite popular for mobile/tablet-based websites. It's also designed to work on desktop browsers.

    For a website template, I would recommend starting with HTML5 Boilerplate and...
  39. Replies
    3
    Views
    687

    Re: Clearing Hidden Fields

    Any chance of putting some sample code on http://jsfiddle.net/ ?
  40. Replies
    1
    Views
    1,051

    Re: JSON.parse wont work in IE9

    You might need to use a JSON polyfill script for browsers that don't have a native JSON implementation.
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.