www.webdeveloper.com

Search:

Type: Posts; User: miocene

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,205

    Nevermind - I have solved by using a new script...

    Nevermind - I have solved by using a new script powered by jquery.
  2. Replies
    2
    Views
    1,205

    Really sorry to bump but I'm still not sure about...

    Really sorry to bump but I'm still not sure about this...
    Can anyone help?

    Edit: The live site is a generated page (wordpress) so it's not easy to understand where the error is coming from. As...
  3. Replies
    2
    Views
    1,205

    Simple Image slider not working in safari

    OK I've just updated a site sergedenimes.com and at the bottom of the page there is a javascript powered image scroller which loops one image from right to left. (Where it says "who wears serge")
    It...
  4. Sorry for the belated reply. Thanks very much...

    Sorry for the belated reply.

    Thanks very much to the both of you - problem solved!
  5. Annoying Error: [Strict Standards: Only variables should be passed by reference]

    OK so I have a script that takes a .csv file uploaded to a web page and sends it to my php file via POST.




    $file = $_FILES['csv']; //the name of the file upload input box is "csv"

    function...
  6. Replies
    3
    Views
    1,330

    Optimising a prime number function

    I've rustled up this function which can find out if a number is prime. As far as I know it works fine but if you have to perform it on a large amount of large numbers it is very slow and a 60 sec...
  7. Thread: AJAX newbie

    by miocene
    Replies
    8
    Views
    2,022

    AJAX Also, although I said I got the AJAX bit working,...

    Also, although I said I got the AJAX bit working, I keep on getting the "There was a problem in the returned data" alert.

    Checking shows that the responseText is null. Is this an issue with the...
  8. Thread: AJAX newbie

    by miocene
    Replies
    8
    Views
    2,022

    AJAX OK thanks for your help so far. I've got the AJAX...

    OK thanks for your help so far. I've got the AJAX side working and rather than have an alert popping up, which is quite frankly really annoying, I'm trying to make a div change color. So I've written...
  9. Thread: AJAX newbie

    by miocene
    Replies
    8
    Views
    2,022

    AJAX OK, I see now that the if statements are wrongly...

    OK, I see now that the if statements are wrongly nested. I'll fix that tomorrow.

    But saying that is fixed, how do I retrieve the "1" or "0" from the checkname.php and use it in the page? Say to...
  10. Thread: AJAX newbie

    by miocene
    Replies
    8
    Views
    2,022

    AJAX It should call the processXML function, sending...

    It should call the processXML function, sending the url with the username in it as the parameter.
  11. Thread: AJAX newbie

    by miocene
    Replies
    8
    Views
    2,022

    AJAX AJAX newbie

    I'm trying to get a hold on AJAX and have been looking at the Google tutorial which describes a script to check if a username that you type in to a form is available.

    I've patched together the...
  12. Replies
    2
    Views
    2,322

    update: the problems mentioned above are solved...

    update: the problems mentioned above are solved when IE is in "compatibility mode".

    This is not much help though as most visitors will not have compatibility mode on or know to activate it...
  13. Replies
    2
    Views
    2,322

    please any ideas how to fix this? especially...

    please any ideas how to fix this?

    especially the slideshow. I can't seem to figure it out...
  14. Replies
    2
    Views
    1,496

    You are using the css display attribute to hide...

    You are using the css display attribute to hide your menu when not hovered.
    A better way is just to position the sub-menus way off the screen so they are hidden. Then position:auto when hovered and...
  15. Replies
    2
    Views
    2,322

    Various features not working in IE8

    I am creating a wordpress-based site and I'm using a couple of plugins including lightbox and nextgen gallery.
    The site is here: http://laalmuna.com

    The nextgen gallery is used for a slideshow...
  16. Replies
    9
    Views
    2,490

    I see where you are coming from but the various...

    I see where you are coming from but the various resources I have consulted say that the javascript date object also accepts a date string (which is what I'm using):



    you can visit...
  17. Replies
    9
    Views
    2,490

    But my original method works (am using the...

    But my original method works (am using the timezone deliberately)
  18. Replies
    9
    Views
    2,490

    I don't need the accuracy of milliseconds for my...

    I don't need the accuracy of milliseconds for my countdown. Also shouldn't the php date be passed as a string so it should be
    var nowTime = new Date("<?php echo date("Y,n,j,G:i:s:u");?>");

    Also,...
  19. Replies
    9
    Views
    2,490

    Solved it! I passed the js date() function a...

    Solved it!

    I passed the js date() function a date string rather than seconds:


    <?php date_default_timezone_set('Europe/London'); ?>
    <script type="text/javascript">var currentTime = "<?php...
  20. Replies
    9
    Views
    2,490

    Passing server time to javascript

    I'm using a javascript-based countdown timer that currently uses the client's system time to calculate the countdown. I assume that this line of code is where this is performed:


    var nowTime =...
  21. Replies
    3
    Views
    1,258

    yes that is an option but I also want h2 elements...

    yes that is an option but I also want h2 elements that do not have a link to have the bottom border.
    If I apply the bottom border to the h2 a then the ordinary h2 elements will not have the border....
  22. Replies
    3
    Views
    1,258

    CSS selecting help

    ok so I have a nice bit of simple html:


    <div>
    <h2><a href=...>A title</a><h2>
    <div>

    Now I want to have a bottom border over the whole h2 and when the link (the <a>) is hovered I want the...
  23. Replies
    3
    Views
    1,130

    Thanks for the suggestion but the border is...

    Thanks for the suggestion but the border is applied to the <a> not the <img>. so putting a img { border: none } won't do anything except tell the img not to have a border.
  24. Replies
    3
    Views
    4,104

    This won't work. You will just make a 90px gap...

    This won't work. You will just make a 90px gap between the article div & sidebar div.

    Do this instead using a container div:


    <div id="container">

    <div id="article" style="float:left;...
  25. Replies
    11
    Views
    3,445

    Sorry, I have checked your files. What I...

    Sorry, I have checked your files. What I mentioned above wasn't the problem.

    You have 2 problems:

    1) Remove the <style type="text/css"> </style> tags from the css file.

    2) you must link to...
Results 1 to 25 of 39
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles