Search:

Type: Posts; User: tr333

Page 1 of 13 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    5
    Views
    282

    Re: What is available for graphing?

    I use jqPlot for all my charts. On desktop as well as iPad/mobile.

    http://www.jqplot.com/
    http://www.jqplot.com/deploy/dist/examples/
    https://bitbucket.org/cleonello/jqplot/wiki/Home

    Your...
  2. Replies
    5
    Views
    250

    Re: alert is not appearing

    You can also just do <button type="button">click me</button> to prevent form submission with a button tag.

    https://developer.mozilla.org/en-US/docs/HTML/Element/button
  3. Replies
    12
    Views
    590

    Re: CSS - Do tables support margins?

    Flexbox is what you're looking for?
  4. Re: How to enlarge an image by just clicking the listview row?

    This should probably be moved to the ASP.NET forum. I think it would probably be easiest to just use one of the existing Lightbox scripts floating around the internet. A quick google search will...
  5. Replies
    7
    Views
    382

    Re: html vs xhtml and using readonly

    Using HTML5 is basically just changing your doctype to:

    <!doctype html>

    Most of the new web-browser features are part of the HTML5 spec: Canvas, <video>, drag/drop, geolocation, web storage,...
  6. Replies
    7
    Views
    382

    Re: html vs xhtml and using readonly

    HTML5 allows three different specifications for some attributes. All three are equivalent:


    <input readonly type="text" class="awc-Refunds acs-edit-medium-text"/>
    <input readonly="" type="text"...
  7. Re: Can someone please help me with an ActiveX Control Object question???

    :confused::confused::confused:
  8. Replies
    2
    Views
    326

    Re: I think a problem with sytax

    Run it through the W3C Markup Validation Service and all will be revealed!
  9. Replies
    12
    Views
    590

    Re: CSS - Do tables support margins?

    Due to the dodgy standards support in old versions of IE, the recommended practice has become to develop/test in Firefox, Chrome or Opera, and then test in IE to fix up any IE-specific problems.
    ...
  10. Replies
    12
    Views
    590

    Re: CSS - Do tables support margins?

    First thing, SGML and XML don't use commas in any tags. Tag attributes are space-separated. Get rid of the commas.

    EDIT: Check out the fiddle here: http://jsfiddle.net/PvpCa/2/
  11. Replies
    5
    Views
    441

    Re: Need help with webcam script

    Without a webcam to test on, it's impossible to say. And then there's going to be differing definitions of "smoothly"...
  12. Replies
    5
    Views
    441

    Re: Need help with webcam script

    The sample as straight HTML:
    <!doctype html>
    <html>
    <head>
    <title>Watch</title>
    <style>
    /* apply styles to all images on page */
    img {
    width:320px;
    ...
  13. Replies
    5
    Views
    441

    Re: Need help with webcam script

    Wow! HTML from 1995! :p

    At first glance, not entirely sure what might be the problem, but there are definitely a few things that can be fixed up.

    Add a doctype! My example code uses HTML5...
  14. Thread: www. vs non-www.

    by tr333
    Replies
    2
    Views
    330

    Re: www. vs non-www.

    https://httpd.apache.org/docs/2.2/vhosts/name-based.html

    If you have ServerName inside the <VirtualHost> directive set to www.example.com then you would set ServerAlias to just example.com, so it...
  15. Re: Formatting a date variable using JQuery?

    You can just parse that string into the standard Date object in JavaScript via it's constructor.

    new Date('Tue Mar 19 2013 00:00:00 GMT-0800 (Pacific Standard Time)');

    If you're using jQuery UI...
  16. Re: is inline styling considered a hack

    I would also suggest checking out the HTML5 Boilerplate for some insight into best-practices with front-end web development.
  17. Re: is inline styling considered a hack

    Depends entirely on the situation. Most of the time, you will want to add your styles to CSS classes so they are reusable in other sections of your website. If you're just applying a one-off style...
  18. Re: [RESOLVED] When declaring the for html5 do you need the

    Sure, but the original question did ask about HTML5 :)
  19. Re: [RESOLVED] When declaring the for html5 do you need the

    Those links are for HTML4.01, not HTML5 ;)

    but you're right in that omitting the html, head, and body tags is still allowed by the HTML5 spec. Keep in mind that IE has a bug relating to omitted...
  20. Thread: Toggle class

    by tr333
    Replies
    1
    Views
    260

    Re: Toggle class

    Is the <asp:button> rendered as a <button> tag, or an <input> tag?
  21. Re: When declaring the for html5 do you need the

    Yes.
  22. Replies
    2
    Views
    464

    Re: Load MySql Data to JavaScript Array

    It is definitely possible. I'm not sure what language you're using on the server side, but you will want to get the data out of your MySQL database, and send it back as an array in JSON format. Use...
  23. Re: Has anyone ever received this error (see attachment)

    <link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/themes/smoothness/jquery-ui.css" />
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>...
  24. Replies
    2
    Views
    724

    VS 2010 Re: Uploading Files in ASP .NET MVC3

    http://haacked.com/archive/2010/07/16/uploading-files-with-aspnetmvc.aspx
  25. Re: Has anyone ever received this error (see attachment)

    Any particular reason why you're loading jQuery UI 1.10.1 from the jQuery CDN, and also 1.8.11 from a local copy? This might cause some conflicts...
  26. Re: Using FancyBox as an Error or Success Message without clicking on a link.

    The fancybox website has some examples to do this: http://fancyapps.com/fancybox/

    #12: "Launch fancyBox on page load"
  27. Re: Using FancyBox as an Error or Success Message without clicking on a link.

    Try changing your click() to the jQuery equivalent. Not sure what effect this would have, though.

    $("#errorLink").click();
  28. Re: Using FancyBox as an Error or Success Message without clicking on a link.

    Check the browser js console or error console. In chrome/safari, you find it in Developer Tools, while in firefox you can use Firebug or open the Web Console. That should show any relevant script...
  29. Re: Accessing the "Browse" button for FileUpload control?

    I don't think it's possible. Running the following gives a popup blocked warning in Firefox:
    $('input[type=file]').click()
  30. Replies
    3
    Views
    476

    Re: Selecting a menu option using jQuery?

    http://jsfiddle.net/HRTr8/

    http://css-tricks.com/return-false-and-prevent-default/

    Keep in mind that jQuery UI has a Menu widget, which may or may not do what you want. Why re-invent the wheel...
  31. Replies
    3
    Views
    483

    Re: CSS - Remove border from linked image

    The element id's on each page should always be unique, so you're right in that it's not required.
  32. Replies
    3
    Views
    483

    Re: CSS - Remove border from linked image

    Zero values in CSS don't require units, so you just want "border:0" instead of "border:0px". You are also missing the closing </a> tag after the <img />.

    a img { border: 0; }
    or alternatively if...
  33. Replies
    3
    Views
    476

    Re: Selecting a menu option using jQuery?

    I would normally do a menu with <ul> as it is more sematically valid to have a list of items styled as a menu ("list-style-type:none", etc.).

    Having said that, do you want to have a click handler...
  34. Replies
    2
    Views
    380

    Re: HTML5 required pattern - cant figure it out

    I'm guessing that validating an address could get quite tricky, so why not just have it as a required field so they are forced to enter "any" value to submit the form?

    You're using the required...
  35. Replies
    4
    Views
    522

    Re: HTML standard for email newsletter design

    If you're going to use HTML, then I would suggest also including an alternate plain text part in the e-mail for the non-html readers. Your only option will be to do manual testing in each of these...
  36. Re: jQuery - SlickGrid - sometime my customer gets this message

    Have you tried reporting this bug to the slickgrid developers? Running the js through the browser debugging tools with breakpoints should help out in determining what conditions are causing the...
  37. Replies
    1
    Views
    303

    Re: Access hover of navigation

    http://api.jquery.com/hover/

    Use "#nav li" as the selector.

    Any particular reason you need jQuery for this?


    #nav li:hover {
    /* set css here? */
    }
  38. Replies
    4
    Views
    522

    Re: HTML standard for email newsletter design

    I don't think there's much you can do here, without testing explicitly on each platform. Most HTML generated by e-mail software would make you think you're back in 1999 with all the <FONT> tags,...
  39. Replies
    3
    Views
    518

    Re: Making an Accordion Control?

    Are you using a third-party jQuery plugin for this (eg. jQuery UI Accordion)? Any chance of putting an test/example up on http://jsfiddle.net/?
  40. Replies
    5
    Views
    431

    Re: Perl Print Question

    And one more thing...

    If you're doing web-related stuff with Perl, it's recommended to run your scripts under Taint mode.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4