www.webdeveloper.com

Search:

Type: Posts; User: rh_lloydnorthov

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. jQuery I'd start with getting the javascript to work in...

    I'd start with getting the javascript to work in a flat HTML page before using PHP to insert includes into the page

    Regarding your javascript files:
    you will need to include the jquery library...
  2. You can send information to the server, and...

    You can send information to the server, and receive responses using asynchronous calls with the javascript xmlhttp API, without refreshing the server. This technique is usually called AJAX...
  3. HTML emails: a) you are developing for a wide...

    HTML emails:
    a) you are developing for a wide range of clients, with a wide range of quirks and oddities, some clients support CSS, some strip out stylesheets,
    b) email clients to be most concerned...
  4. For this particular code example: you are...

    For this particular code example:

    you are using braces where you should use brackets i.e.:

    document.write("hello world");

    An general note, the developer tools in chrome/safari/opera and...
  5. Replies
    2
    Views
    586

    I'd try: $feed->homeTeam->rotNum...

    I'd try:
    $feed->homeTeam->rotNum
    $feed->awayTeam->rotNum

    given that the rotNum node is within a subnode (homeTeam or awayTeam) of event
  6. Replies
    4
    Views
    804

    You are setting the value of $user_is_logged_in,...

    You are setting the value of $user_is_logged_in, instead of testing if it is true or not - the if condition will always return true so the message 'USER IS LOGGED IN' will always be displayed.
    ...
  7. a) copy the javascript into a new file and save...

    a) copy the javascript into a new file and save it as 'main.js' :

    window.onload = (function()
    {
    var numberOfBackGroundImages = 5;
    return function()
    {...
  8. I'd lose the floats on the #leftControl and...

    I'd lose the floats on the #leftControl and #rightControl and try adding:

    top:50%;
    margin-top:-50px;

    to .control


    The top:50% positions the TOP of each control half way down the browser...
  9. Replies
    4
    Views
    1,113

    You can use CSS to style these links: a) add a...

    You can use CSS to style these links:
    a) add a class to your links

    document.write("<a class='jsLink' href='http://www.msn.com'>MSN</a>" );
    document.write("<a class='jsLink'...
  10. Replies
    6
    Views
    2,335

    1. It depends on how the form works - Are you...

    1. It depends on how the form works - Are you just using the AJAX call to validate the from fields, and then allowing the form to submit normally if the validation is passed, or does the AJAX call...
  11. Replies
    3
    Views
    1,525

    This is a HTML *email* template - most email...

    This is a HTML *email* template - most email clients will not allow javascript attached the to the email to run.

    I'd check to see if a font size is being specified for the two blocks of text you...
  12. try: data : { "val" : itemUrl }, i.e. pass...

    try:

    data : { "val" : itemUrl },

    i.e. pass data into the AJAX call as a JSON object not a URL parameter
  13. Replies
    4
    Views
    1,505

    javascript:void in the href attribute of a link...

    javascript:void in the href attribute of a link basically means the link does nothing when clicked, except triggering a javascript function defined in an 'onclick' attribute or bound to the link by a...
  14. You are submitting the form via the POST method,...

    You are submitting the form via the POST method, but trying to read the form values via GET.
    Change the reference $_GET in checkoutcart.php to $_POST .i.e $_GET["APPS1"] should be $_POST["APPS1"]...
  15. http://blueimp.github.io/jQuery-File-Upload/

    http://blueimp.github.io/jQuery-File-Upload/
  16. Replies
    1
    Views
    979

    I'de use this method instead: var selectObject...

    I'de use this method instead:

    var selectObject = document.getElementById( sname );
    selectObject.selectedIndex = 0;

    where sname is the id attribute of the select tag.
  17. for the container div, drop the left position and...

    for the container div, drop the left position and use
    margin-left:auto;
    margin-right:auto;

    this will automatically centre the div horizontally
  18. Replies
    7
    Views
    1,418

    You need to use percent because it's the...

    You need to use percent because it's the parameter defined in the function definition, through which you are passing the font size.

    function call: divFontSize(this, '125%')

    function definition:...
  19. Replies
    7
    Views
    1,418

    Try 'percent' instead of size in the line: ...

    Try 'percent' instead of size in the line:

    id.style.fontsize = size;

    i.e.:

    id.style.fontsize = percent;
  20. Replies
    4
    Views
    1,430

    Your htaccess rule will probably look something...

    Your htaccess rule will probably look something like


    RewriteRule ^([a-z]+)/([a-z]+)/([a-z]+)$ /index.php?category1=$1&category2=$2&category3=$3

    assuming that your category parameters are...
  21. Get...

    <p><a href="#" onclick="App();">Get Timetable</a></p>

    Add:
    return false;
    as the last statement in the function App(), this will prevent the browser opening the Get timetable link


    function...
  22. Replies
    34
    Views
    8,671

    Looking at the example URL you supplied, the CSS...

    Looking at the example URL you supplied, the CSS is applying display:inline and float:left to ALL the li elements in the main nav. What you want to do is only apply these properties to the top level...
  23. You are generating three link tags in your php...

    You are generating three link tags in your php code which are not valid HTML and will very likely break your page layout or at the least prevent the link working.

    <ahref="index-1.php">home</a>
    ...
  24. Replies
    34
    Views
    8,671

    Remove the br tags between the li tags in your...

    Remove the br tags between the li tags in your main navigation, they're not valid, and you can use CSS to add a bottom margin to the li elements
  25. Replies
    3
    Views
    1,537

    your multiply function isn't returning a value so...

    your multiply function isn't returning a value so the first line of code in the function calculateTotal won't return a correct value.

    add

    return enveloppenprij;

    to the end of the multiply...
Results 1 to 25 of 42
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles