www.webdeveloper.com

Search:

Type: Posts; User: halldorr

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. jQuery [RESOLVED] createLinearGradient with jQuery?

    I am messing around with canvas some but having a hard time getting my gradient to show. I am wondering if there is something in particular I am missing. If I do it in straight JavaScript it works...
  2. Replies
    1
    Views
    472

    Change class of row, clear other ones

    I have a table that looks like so:



    <tr id="calendarClick" class="chart_grey">
    <td width="100" height="50">
    <div class="calendar-categories_blue">7:30am</div>
    </td>
    <td valign="middle"...
  3. Yes, I made sure of that. I have opted to go a...

    Yes, I made sure of that.

    I have opted to go a different way with this since it's being a pain but going to mark this as resolved because your usort will be handy for anyone else looking to find a...
  4. The foreach is to determine columns to sort by as...

    The foreach is to determine columns to sort by as demonstrated here in example 3: http://www.php.net/manual/en/function.array-multisort.php

    Generally I have used a usort as well but it just seems...
  5. [RESOLVED] array_multisort - what am I doing wrong?

    I have the following array called $fullArray:



    Array ( [0] => Array ( [code] => 123 [subViews] => 0 [subLeads] => 0 ) [1] => Array ( [code] => reni [subViews] => 1 [subLeads] => 0 ) )


    I...
  6. Replies
    1
    Views
    8,295

    jQuery [RESOLVED] setDate in datepicker usage

    Am using the jQuery datepicker (http://jqueryui.com/demos/datepicker/) and am having a heck of a time setting the date in it.

    I declare my datepicker with:



    $('#datepicker').datepicker({...
  7. Replies
    2
    Views
    450

    Worked great! Thank you...

    Worked great! Thank you...
  8. Replies
    2
    Views
    450

    Convert breaks to new lines

    I currently am doing this to convert breaks to new lines and it works fine:


    updatedEmail.replace(/<br>/g, "\n");

    What I need to worry about though is if people have <br/> or <br /> but I am...
  9. *sigh* it's one of those days... Used the...

    *sigh* it's one of those days...

    Used the following and it did as I was hoping...


    $returnQuery = array_merge($queryOne, $queryTwo, $queryThree);
  10. [RESOLVED] Merging multidimensional arrays

    My arrays look like so:

    Array 1 example:


    0|Bob|4|2
    1|Jim|2|2
    2|Mary|0|1
  11. Explanation is perfectly fine, thank you very...

    Explanation is perfectly fine, thank you very much for your help today :)
  12. That worked perfectly. I feel like a complete...

    That worked perfectly. I feel like a complete noob asking but I've never used it before but it appears the ampersand did it, what exactly is the ampersand doing/representing so I can go educate...
  13. [RESOLVED] Adding new element to multidimensional array

    I have a multidimensional array that looks like:



    id|name|status
    id|name|status
    id|name|status


    or
  14. Replies
    0
    Views
    581

    Pass an array to query and use if?

    I am trying to grab a query from a database but want to assign numbers to certain time zones.

    So for example if I have a table like:

    id|timezone|name

    I want to grab a query that pulls people...
  15. Replies
    2
    Views
    761

    Ahhh excellent! I haven't worked with XML parsing...

    Ahhh excellent! I haven't worked with XML parsing much, thanks for the function! :)
  16. Replies
    2
    Views
    761

    Parse text from a variable block

    I have a result that returns from an API that looks like so:



    <serv:header><serv:response>
    <serv:result>SUCCESS</serv:result><serv:gsbStatus>PRIMARY</serv:gsbStatus>...
  17. Looking for a little help with random code

    I have a function that I feed the length and level of security to just for random passwords for nothing major. The function is below and was wondering if anyone had any ideas on hoe best to make sure...
  18. Replies
    0
    Views
    663

    Redirect on navigate away from page

    I know this is bad practice and it pisses me off when I run into things similar but I need to ask - is there anyway to detect a user leaving a page similar to window.onbefreunload that lets me...
  19. Replies
    6
    Views
    3,148

    id is "stateSelect" and name is "b_state" so I...

    id is "stateSelect" and name is "b_state" so I guess IE just decided to make up "state" and send it then...
  20. Replies
    6
    Views
    3,148

    Ok...I think I have this. It's still behaving...

    Ok...I think I have this. It's still behaving differently than I expect but after some testing it's very unusual. IE seems to be sending the drop down as "state" and Firefox sends it as "b_state".
    ...
  21. Replies
    6
    Views
    3,148

    Not sure if it helps or anything but this is the...

    Not sure if it helps or anything but this is the script that does the dropdowns - the country/state one.

    http://www.downhomeconsulting.com/Downloads/downloads.php
  22. Replies
    6
    Views
    3,148

    In Firefox the select looks like this after the...

    In Firefox the select looks like this after the page has loaded:



    <select id="stateSelect" class="forminputstyle" type="text" name="b_state" style="visibility: visible;">
    <option...
  23. Replies
    6
    Views
    3,148

    'length' is null or not an object

    I have a page that is loading up and it populates the state field based on the country. So I pass "US" to the js file and it populates the state dropdown with US states.

    I am trying to then select...
  24. Except that the state drop down is created on the...

    Except that the state drop down is created on the fly (not in the php but on page load with js) based on the customers country (it's some old solution they have here I'm trying to work with).
  25. Ok, ended up doing it with this at the bottom of...

    Ok, ended up doing it with this at the bottom of the page



    for (var i = 0; i < document.check.b_state.length; i++)
    {
    if (document.check.b_state.options[i].value == "<?php echo...
Results 1 to 25 of 54
Page 1 of 3 1 2 3
HTML5 Development Center



Recent Articles