www.webdeveloper.com

Search:

Type: Posts; User: leke

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    567

    Thanks, that did the job :)

    Thanks, that did the job :)
  2. Replies
    2
    Views
    567

    [RESOLVED] Clicking returns undefined.

    I have some js code where I would like to send the text of an <a> link to a textfield when clicked. Here is a live example: http://leke.dyndns.org/swe-ass2-autocomplete/
    I'm getting "undefined"...
  3. Replies
    1
    Views
    1,007

    Ok, much pondering was done, and I came up...

    Ok, much pondering was done, and I came up with...


    ids = new Array(2); // an array with total number of ids

    function aud_play_pause(idNumber) {

    var idNumber =...
  4. Replies
    1
    Views
    1,007

    stop() playing all other instances.

    Hi, I was wondering if someone could show me a way to stop an existing instance of a sound file when another is called -- ie. only one sound file playing at a time.

    Here some code I played with...
  5. Replies
    3
    Views
    340

    Thanks for the idea. I managed to find a...

    Thanks for the idea. I managed to find a solution...

    <div>

    <div align="center" style="float:left;
    width:24%;">

    <img...
  6. Replies
    3
    Views
    340

    Floating 2 images and some text

    Hi,

    I'm trying to float 2 images, one left and the other right, then add some text in-between them. Here is my attempt, but as you can see, the addition of the text wraps the right image...
    ...
  7. Replies
    4
    Views
    304

    Ah, I see. Thanks. I was trying to somehow cache...

    Ah, I see. Thanks. I was trying to somehow cache the next question so there would be no extra load time after the delay, but thanks for clearing that up. The delay, at least works well now :)
  8. Replies
    4
    Views
    304

    setTimeout() not working as expected

    Hi, My multiple choice code works fine, except it executes the new/next question too fast. I tried to set a delay so there is at least 2 seconds until the next question is loaded, but...
  9. jQuery Whoops! I was uploading the changes to the...

    Whoops!
    I was uploading the changes to the wrong location -- my bad. The line works just fine. :rolleyes:
  10. jQuery [RESOLVED] Disable buttons working/not working

    I coded some jQuery that works, when injected into the Firefox web console, but doesn't when inserted into my code. Does anyone know why?

    Thanks in advance :)

    Here is the line: ...
  11. [RESOLVED] Values called from array sometimes not appearing in ouput

    I am generating some javascript from php and am having some problems making the id=movie-quote text (and sometimes even the id="movie-titles") appear in my web page. Am I going about this the correct...
  12. jQuery Hi, sorry to hear you got the attack screen. My...

    Hi, sorry to hear you got the attack screen.
    My img element has an inline style with padding and border defined. So like you said, it should work.

    Here is the html

    <html>
    <head>
    <meta...
  13. jQuery Problems copying some css styles from element to element

    Hi, I'm trying copy some css styles from an img style attribute to a another span element style. This code allows me to copy the background-color, but not any of the other styles from the img...
  14. jQuery Oww, I don't believe I didn't realise that! I was...

    Oww, I don't believe I didn't realise that! I was reading through those very functions as I was trying to figure out that problem. It just didn't occur to me to create the wrapper first. Thanks. :)
  15. jQuery Can't figure out how to wrap div tags outside root element

    I'm trying to get some div tags to wrap around 3 elements, but my jQuery code only gets me wrapping 2. Here is the example...
    http://jsbin.com/ihucel/9/edit

    Which outputs...

    <img...
  16. Replies
    2
    Views
    54

    Multiple argument call problem

    Hi, I'm trying to pass the value of a radio button to a function when a textarea detects a keypress event. I can't figure out why this error is happening though...

    Error: SyntaxError: missing )...
  17. Replies
    1
    Views
    309

    Ah, ok. After more googleing I found TYPE is...

    Ah, ok. After more googleing I found TYPE is depreciated. Use ENGINE instead.
  18. Replies
    1
    Views
    309

    [RESOLVED] What error?

    Hi, Can anyone spot the error here? I sure can't :(



    CREATE TABLE pec_mssgs (
    id mediumint(5) unsigned NOT NULL auto_increment,
    uid tinyint(3) unsigned NOT NULL default '0',
    m...
  19. From what I remember, the line was " if ( $field1...

    From what I remember, the line was " if ( $field1 == null || $field2 == null ) { ", but I removed this part of the code completely and got it working without error checking.
    After reading about the...
  20. Can't figure out why: Parse error: syntax error, unexpected T_VARIABLE

    Hi, What's wrong with my code? It's to do with if ( $field1 == null || $field2 == null ) { because if I remove the error check, the code works fine.

    <?php

    function generatePassword ($length...
  21. Replies
    1
    Views
    493

    Problems porting python regex to JS

    Hi, I tried to port some python regex to JS, but the results were unexected :confused:

    text = "[start 0.0]one one[end 5.25]this should not display[start 9]two two.[end 18.5][start 30]three...
  22. Replies
    5
    Views
    751

    Thanks, and thanks for the extra tip. I got the...

    Thanks, and thanks for the extra tip.
    I got the error again, but realised I had also defined the function wrong. It's all working now though :)
  23. Replies
    5
    Views
    751

    What does "...is not defined" error mean?

    I'm having a problem testing some code I wrote. Here is the error...

    What does it mean 'not defined'? I have defined the function (I assumed), so what else is it referring to?
    ...and the code.
    ...
  24. Replies
    5
    Views
    875

    The jQuery was nice and succinct, but I couldn't...

    The jQuery was nice and succinct, but I couldn't get it to work for some reason -- no doubt a mistake on my part :P

    I also narrowed down the problem. I noticed when I added &&...
  25. Replies
    5
    Views
    875

    I'm having some trouble getting the output of the...

    I'm having some trouble getting the output of the cgi script back to the page. For some reason the ajaxRequest.responseText is empty running the ajax from the scratchpad in FireFox. The cgi page is...
Results 1 to 25 of 66
Page 1 of 3 1 2 3
HTML5 Development Center



Recent Articles