Search Results - VBForums

Search:

Type: Posts; User: tr333

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Re: [JavaScript] Loop through each element with the same class name

    Did you click the JSHint button in jsfiddle? It will run JSHint over your code to point out the syntax problems.
  2. Re: [CSS] Set background color if text is highlighted

    ::selection pseudo element

    Take note of the supported browsers when using this.
  3. Re: [JavaScript] Loop through each element with the same class name

    This is a case where jQuery makes it really easy.
    http://api.jquery.com/click

    // this will attach the anonymous function as an event handler for all elements with class 'myClass'...
  4. Replies
    6
    Views
    236

    Re: Internal Page Links

    Single . is current directory, while double .. is the previous directory going up the tree.

    I agree that relative links just cause too many problems. I don't know much about php but I would be...
  5. Replies
    6
    Views
    236

    Re: Internal Page Links

    Hmmmm...

    without looking at the files I can't say much. The 404 error is just saying that the webserver can't find the file index.php at http://example.com/job1/php/index.php. I can only suggest...
  6. Replies
    6
    Views
    236

    Re: Internal Page Links

    Check your directory structure. Based on your post, I see it as this:


    .
    ├── index.php
    └── php
    ├── browse.php
    ├── enter.php
    ├── search.php
    └── view.php
  7. Replies
    7
    Views
    276

    Re: align image in table after text.

    http://caniuse.com/#search=nth-child

    You would have to test it out to see whether your version of outlook supports nth-child. You will have to use inline styles on each td element if it's not...
  8. Replies
    7
    Views
    276

    Re: align image in table after text.

    Last time I tried outlook, it's HTML support hadn't progressed much past the HTML of 1999. Not really sure that I can be of any help there. I would guess that border=0 might work on the table...
  9. Replies
    7
    Views
    276

    Re: align image in table after text.

    I've put your sample html/css into a pen: http://codepen.io/anon/pen/wcLJI. Feel free to edit and save that pen to update the example.

    Maybe flexbox would work for you here?...
  10. Re: Need help with image slide show , Flash/ jquery / Java script?

    http://jquery.malsup.com/cycle2/
  11. Re: Vertical scroll bars not appearing

    Any chance of putting up a test case on http://cssdeck.com/ or one of the other code playgrounds? This would make it easier to debug the problem.
  12. Replies
    5
    Views
    240

    Re: [RESOLVED] Check box bad behavior

    When placing the <input> inside a <label> you don't need the "for" attribute, so you can also remove the id attributes on your <input> controls.

    http://dochub.io/#html/label
  13. Re: [RESOLVED] Shrink images after zoom to prevent overflow

    Looks like you might be in luck. Some guys have made a polyfill for this.

    http://www.smashingmagazine.com/2014/05/12/picturefill-2-0-responsive-images-and-the-perfect-polyfill/...
  14. Re: Shrink images after zoom to prevent overflow

    Sounds like you want the picture element, currently available only on Chrome/Chromium and Opera, or the srcset attribute on the img element.
    ...
  15. Replies
    4
    Views
    229

    Re: [RESOLVED] ul appears outside of div

    Just a quick note, in future it would be helpful to post your sample code on a code playground, as it makes it much easier to visualise the problem and make quick changes.

    Example for this thread:...
  16. Replies
    2
    Views
    191

    Re: I need some HTML + CSS help.

    Can you put up an example on jsfiddle or one of the other code playgrounds? That will make it easier for us to see what's wrong with your html/css.
  17. Thread: CSS Tutorial

    by tr333
    Replies
    7
    Views
    349

    Re: CSS Tutorial

    And one more thing...

    Usability is one of the most important aspects of web development (or any UI development). Jakob Nielsen has some great articles on UX.

    I've only ever bought two books on...
  18. Thread: CSS Tutorial

    by tr333
    Replies
    7
    Views
    349

    Re: CSS Tutorial

    If you're posting an example, put it on one of the code playgrounds. Much easier for other people to test it out and fiddle with your design.
  19. Thread: CSS Tutorial

    by tr333
    Replies
    7
    Views
    349

    Re: CSS Tutorial

    A few tools to help out with development:

    Using LESS or SASS can be a huge productivity booster.

    Try using HTML5 Boilerplate or Yeoman for your next project.

    Autoprefixer is nice.
    ...
  20. Thread: CSS Tutorial

    by tr333
    Replies
    7
    Views
    349

    Re: CSS Tutorial

    Mozilla Developer Network always has good documentation. dochub.io is great for a quick lookup. If you have time, just go through the entire list of CSS properties and read up on what they do.
    ...
  21. Re: Jquery script file not found , problem only in Chrome

    Your 404 error is related to Javascript Source Maps. You're using an old version of jQuery, so it will contain a line referencing the source .map file. If you need to use that version of jQuery,...
  22. Replies
    2
    Views
    312

    Re: SOAP request (SYSORB)

    Don't know much about WSDL/SOAP, but a quick google found these links which might be useful:

    https://cxf.apache.org/docs/wsdl-to-javascript.html
    https://www.npmjs.org/package/wsdl2.js...
  23. Re: About making a XHTML NavBar using raw HTML source code...

    Perhaps you could create a fiddle to explain your problem?

    Any of these would do:

    http://codepen.io/
    http://jsfiddle.net/
    http://www.cssdesk.com/
    http://jsbin.com/
  24. Re: [JavaScript] Get elements by class from external site

    You would need CORS enabled on the server-side to get past the SOP restrictions.
  25. Re: [JavaScript] Get elements by class from external site

    I'm guessing you will get blocked by Same Origin Policy in the browser if you go the JavaScript route. If you're scraping pages with a server-side or fat-client app, you wouldn't have those...
  26. Replies
    3
    Views
    312

    Re: sound with javascript

    Any reason why you think HTML5 wouldn't work for everyone?

    http://caniuse.com/#search=audio
    http://html5please.com/#audio
  27. Replies
    23
    Views
    1,220

    Re: Convert 15 pin joystick to?

    That port is called a Game port. The RS232 interface is a serial interface for modems, etc. I doubt two would be compatible/interchangable.

    The game port used to be integrated onto sound cards,...
  28. Replies
    6
    Views
    295

    Re: Setting Static IP on Kubuntu

    Any Kubuntu-specific stuff here is pure speculation as I've only ever used Ubuntu and not Kubuntu.
  29. Replies
    6
    Views
    295

    Re: Setting Static IP on Kubuntu

    If it's really NetworkManager causing the problems, you can tell it to not manage any manually-defined network interfaces. Debian-based systems store the manual interface definitions in...
  30. Replies
    6
    Views
    295

    Re: Setting Static IP on Kubuntu

    Are you using wired (eth) or wireless (wlan) interface?

    Try checking the output of ifconfig. That will tell you what your current IP address is, but won't tell you static/dhcp status. When the...
  31. Re: How to keep form submittal from navigating away from page

    Having a "submit" button on your form will cause the form to post it's contents to the "action" url when the submit button is clicked. Sounds like you would want to change it to a regular button,...
  32. Replies
    5
    Views
    257

    Re: [Javascript] Change boolean value

    The double bitwise NOT is also pretty cool.
  33. Replies
    5
    Views
    257

    Re: [Javascript] Change boolean value

    As szlamany said, it's a single !. You can also use a double !! (double logical-NOT) to convert truthy/falsey values to strict boolean.
  34. Re: [RESOLVED] [JavaScript] Event fires when adding handler

    The radix argument to parseInt specifies the base that your string number is in. Always good to specify it to remove any confusion as different JS implementations might use a default radix other...
  35. Re: [JavaScript] Event fires when adding handler

    Hard to know what's going on here without seeing the HTML that goes with this.

    A few thing that I would change:

    Use parseInt instead of Number.

    Change to strict equality comparison...
  36. Re: Condition Always true when checking for "undefined" in Javascript

    if (typeof x !== 'undefined') { }

    You can use the strict comparison !== operator here because you know that typeof will always return a string.
    ...
  37. Re: Where does VBFORUMS save the "text" of a post when it does that AUTOSAVE??

    I would guess it might use LocalStorage. The alternative would be cookies, accessed through document.cookie, but cookies have very low storage space in comparison.

    For data that doesn't need to...
  38. Replies
    8
    Views
    359

    Re: [RESOLVED] [JavaScript] For/In issue

    You would want to be using the Array.forEach function to operate on the array elements.

    If you need to support older browsers you can polyfill it with webshim, or use the implementations provided...
  39. Re: [RESOLVED] [JavaScript] Setting up a new array

    Using JSLint is a quick and easy way to find problems in your JS code. Just make sure to set the browser:true setting, or else it will complain about missing the window/document global objects that...
  40. Re: First HTML5 game and having some issues

    FYI: http://dochub.io/#html/canvas


    Example: http://codepen.io/anon/pen/Gclmw
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.