www.webdeveloper.com

Search:

Type: Posts; User: Aralus

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    944

    On your contact page you have the following CSS...

    On your contact page you have the following CSS on the body tag. The image doesn't exist.



    background: url(images/stripe.png) repeat


    What background image is supposed to be on this page?
  2. Replies
    3
    Views
    3,345

    This might be a good start: ...

    This might be a good start:

    http://learn.jquery.com/using-jquery-core/

    If you're familiar with JavaScript already, it shouldn't take you too long to get to grips with jQuery. To master it takes...
  3. Your first bit of jQuery was not being...

    Your first bit of jQuery was not being initialised. It needs to be inside the $(function()... bit. I spotted a few spelling mistakes too but that was the main issue. Also, if you're using jQuery...
  4. Replies
    2
    Views
    2,235

    Sure. Just use the id you're passing into the...

    Sure. Just use the id you're passing into the JavaScript function and pop it into the src path like so:



    <script type="text/javascript">

    function toggle_visibility(id,imgid) {
    ...
  5. Replies
    6
    Views
    1,779

    Sorry, misread. You may be able to set a...

    Sorry, misread.

    You may be able to set a cookie when the user visits "bla.com/bla2" and then run a ajax timeout at "bla.com/bla1" to check if that cookie exists. If it exists, set textarea value...
  6. Replies
    6
    Views
    1,779

    Straight up JavaScript method - there'll no doubt...

    Straight up JavaScript method - there'll no doubt be better ways. Using jQuery would make this much cleaner also.



    <textarea id="mytextarea">0</textarea>

    <a href="javascript:void"...
  7. Replies
    2
    Views
    2,256

    This should do the trick. ...

    This should do the trick.



    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="Content-type" content="text/html; charset=iso-8859-1"/>
    <title>Submit runner time</title>
  8. function gmargin() { //calculate the new...

    function gmargin() {
    //calculate the new gross margin
    var newgrossmargin = parseFloat(document.calculate.totalsales.value/2);

    //fix this new gross margin value to 2 decimal places in...
  9. This might be what you're looking for: toFixed...

    This might be what you're looking for:

    toFixed
    https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number/toFixed
  10. Apologies for brevity. With jQuery: ...

    Apologies for brevity. With jQuery:



    <script>
    $(function(){

    $('button#send').click(function(){
    var field1 = $('input#field1').val();
    ...
  11. Replies
    3
    Views
    1,729

    Hello, Do you have access to the stylesheet at...

    Hello,

    Do you have access to the stylesheet at all, or has in-line styling been used? If you do have access to the stylesheet, add:

    border:0

    to #cssInfo. If it's not present, create the rule...
  12. Replies
    2
    Views
    1,492

    Hello there, Not looked at the markup but take...

    Hello there,

    Not looked at the markup but take a look at the following script:

    http://atlantica.nexon.net/JS/Source/global.js

    There is function called globalNavDropDown() which controls the...
  13. Replies
    3
    Views
    1,391

    Thanks bud. I thought tt seemed strange that...

    Thanks bud.

    I thought tt seemed strange that IE8 (which isn't too bad with CSS compared to 7 and 6) rendered so differently to Firefox and any other non-retarded browsers. Completely forgot that...
  14. Replies
    3
    Views
    1,391

    Strange layout IE8

    http://www.mpogh.com/drummondWebsite/

    Take a look at the above website in Firefox, Chrome or Safari.

    Then take a look at it in IE8.

    Can someone explain why the background of each panel are...
  15. Replies
    2
    Views
    1,547

    If you used the jQuery UI datepicker on a...

    If you used the jQuery UI datepicker on a particular input field, those without Javascript enabled will just see a plain empy input box. In this case the user should enter the date into the input box...
  16. Replies
    3
    Views
    933

    The problem you have here is that the date is...

    The problem you have here is that the date is only ever being constructed once. Therefore, although you are calling message() every second, you are never updating the date. It is also good practice...
  17. Replies
    2
    Views
    1,771

    Hmm, I believe this is only possible via PHP. The...

    Hmm, I believe this is only possible via PHP. The code would be:

    <?php
    // get the score value from the URL and store in a variable
    $score = $_GET['score'];
    ?>

    <input type="hidden"...
Results 1 to 17 of 17
HTML5 Development Center



Recent Articles