www.webdeveloper.com

Search:

Type: Posts; User: trandrus

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,493

    Your function changes all instances of the...

    Your function changes all instances of the buttons and is called on each rollover. What you want is to create a generic function that toggles the rollover for each button individually. In your html,...
  2. Replies
    22
    Views
    63,428

    javascript+vml:...

    javascript+vml:
    http://www.dillerdesign.com/experiment/DD_roundies/

    css+htc:
    http://css3pie.com/

    I like css+htc solution because I don't have to use javascript to fix presentation.
  3. Replies
    2
    Views
    1,477

    #footer { overflow:auto; ...

    #footer {
    overflow:auto;
    white-space:nowrap;
    }
  4. Replies
    3
    Views
    1,360

    You have some major problems, but your idea is...

    You have some major problems, but your idea is clear:


    <script type="text/javaScript">
    // A Java Script to help calcaluate the inventory age for those who sell their products on Amazon.com that...
  5. Replies
    1
    Views
    1,046

    If this function runs every time you click on the...

    If this function runs every time you click on the last tab, then you need to remove the contents of the divs before appending or it will keep adding text nodes:



    function copy_facturatie() {
    ...
  6. another solution is to use height and overflow: ...

    another solution is to use height and overflow:




    .expMod {
    height:30px;
    overflow:hidden;
    }
  7. Replies
    3
    Views
    1,582

    it's an ie

    it's an ie<9 CSS hack and will target ie 6,7, and 8 (including compatibility mode)
  8. Replies
    3
    Views
    1,789

    You don't need the extra syntax. W3C spec defines...

    You don't need the extra syntax. W3C spec defines map as using either anchor or area for links (or both), so close it like a normal tag. The rel attribute is not defined for area so in this case...
  9. It looks like IE is breaking on the HTML5 tags....

    It looks like IE is breaking on the HTML5 tags. You need to install the HTML5 enabling script since IE<9 doesn't natively support HTML5:


    <!--[if lt IE 9]>
    <script...
  10. Replies
    5
    Views
    1,555

    and this will be faster: function...

    and this will be faster:


    function tileCheck() {

    var rangeX = [ xmouse, xmouse-25 ];
    var rangeY = [ ymouse, ymouse+25 ];

    search:
    for(var i in tilePosX) {
  11. Replies
    5
    Views
    1,555

    actually, you'll need both x and y to make it...

    actually, you'll need both x and y to make it work:


    function tileCheck() {

    var rangeX = [ xmouse, xmouse-25 ];
    var rangeY = [ ymouse, ymouse+25 ];

    search:
    for(var i in tilePosX) {
  12. Replies
    5
    Views
    1,555

    whoops function tileCheck() { var rangeX =...

    whoops

    function tileCheck() {

    var rangeX = [ xmouse, xmouse-25 ];

    for(var i in tilePosX) {
    if((rangeX[0] > tilePosX[i]) && (tilePosX[i] > rangeX[1])) {
    currentTile = i;...
  13. Replies
    3
    Views
    1,666

    var inputs =...

    var inputs = document.forms.qt1.getElementsByTagName('input');
    for(var i=0, len=inputs.length; i<len; i++){
    inputs[i].value=0;
    }
  14. Replies
    5
    Views
    1,555

    function tileCheck() { var rangeX = [ xmouse,...

    function tileCheck() {

    var rangeX = [ xmouse, xmouse-25 ];

    for(var i in tilePosX) {
    if((rangeX[0] > tilePosX[i]) && (tilePosX[i] > rangeX[1])) {
    currentTile = tilePosX[i];...
  15. Replies
    5
    Views
    1,612

    Works ok for me

    Works ok for me


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"...
  16. Replies
    13
    Views
    3,558

    jQuery dataString += ($(this).find('input[value|=1]')) ?...

    dataString += ($(this).find('input[value|=1]')) ? '0' : '1';

    simple mistake :)
  17. Replies
    4
    Views
    2,291

    jQuery Sure. var opacityFloor = .2; var...

    Sure.


    var opacityFloor = .2;
    var fadeOutOffset = .05;
    var fadeInOffset = .1;

    These are three parameters that allow you to control 1) the opacity level when elements are faded out, 2) the...
  18. Replies
    13
    Views
    3,558

    jQuery can you provide a link to the page or the...

    can you provide a link to the page or the rendered html?
  19. Replies
    6
    Views
    3,658

    thanks for the feedback :)

    thanks for the feedback :)
  20. Replies
    5
    Views
    1,612

    The problem is you cannot measure the height of...

    The problem is you cannot measure the height of an invisible div:


    endHeight[objname] = parseInt(obj[objname].style.height);

    endHeight[objname] will always be undefined. Try this:

    function...
  21. Replies
    6
    Views
    3,658

    /******...

    <script type="text/javascript">

    /******
    *Functions used for validating form entries
    */

    function valReq(val) {
    return (val);
    }
  22. Replies
    13
    Views
    3,558

    jQuery $('#bioconfigform .field').each(function() { ...

    $('#bioconfigform .field').each(function() {
    dataString += '&'+$(this).find('input').attr('id')+'=';
    dataString += ($(this).find('input[val|=1]').is(':checked')) ? '0' : '1';
    });

    that...
  23. Replies
    13
    Views
    3,558

    jQuery Something like this assuming you want the...

    Something like this assuming you want the dataString values to be true for enabled inputs:

    <script>
    $(document).ready(function() {
    $('div.message-error').hide();
    ...
  24. Replies
    6
    Views
    3,658

    function...

    <script type="text/javascript">

    function valReq(val) {
    return (val);
    }

    function valString(val) {
    return (isNaN(val));
    }
  25. Thread: Positioning

    by trandrus
    Replies
    2
    Views
    1,913

    Obtain the x,y coordinates of the link when...

    Obtain the x,y coordinates of the link when clicked and open the div at that location.
Results 1 to 25 of 76
Page 1 of 4 1 2 3 4
HTML5 Development Center



Recent Articles