www.webdeveloper.com

Search:

Type: Posts; User: seatoskyhk

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,524

    most likely no. the external server only...

    most likely no. the external server only contains the video clip.


    I know I can down the video and get the thumbnail using a PHP function. however, that will impose long wait time (need to...
  2. Replies
    2
    Views
    1,524

    Get thumbnail from Remote Video.

    I am working on a site that people can submit the video's link. Then I just embed it. However, I want to get the thumbnail of the videos without saving the videos in my server. So that when I list...
  3. Replies
    1
    Views
    3,553

    hmm.. no one knows? or no one understand my...

    hmm.. no one knows? or no one understand my question? :)
  4. Replies
    1
    Views
    3,553

    layer on top of PDF.

    So, the problem I face is like this:
    I have a <div> layer, which it will be placed on top of a pdf on the page. The PDF is either using <object> to embed, or iframe to include it. However, CSS...
  5. so, anyone know how to deal with this problem? :)

    so, anyone know how to deal with this problem? :)
  6. Fill Form Data in PDF, with Write Permission

    I have used pdftk to fill the data to the form in an existing PDF template. That part has no problem. However, originally, people can enter the text in the PDF form, but now, after running pdftk...
  7. Replies
    5
    Views
    3,301

    this is not my own site. it is one of the...

    this is not my own site.
    it is one of the departments (of my company) owns that server.
    and my team wants to get the URL content from that link.
    well... due to some policy issues, that...
  8. Replies
    5
    Views
    3,301

    Yes.. I tried so many times even with CURL.....

    Yes.. I tried so many times even with CURL.. still doesn't work :(
    do i need the certificate?
  9. Replies
    5
    Views
    3,301

    How to get Https URL content

    Hi all

    I have a https link that requires user login & password. If I run it in FX like this:
    https://username:password@www.example.com/link/sublink

    it will return the xml data as expected.
    ...
  10. have u just run the php script nomorally and see...

    have u just run the php script nomorally and see it returns anything?
  11. Replies
    2
    Views
    3,278

    is it b/c of z-index? mind to post some codes?...

    is it b/c of z-index?

    mind to post some codes?

    I am also working on drag&drop for last couple weeks and we can share our experience on that. :)
  12. Replies
    5
    Views
    4,294

    Oh. the responseText I have is a string returned...

    Oh. the responseText I have is a string returned from a PHP (called by aJax)
    The return data is always in fixed and standard HTML format.
    so, I would like to take anything betwen the <body> and...
  13. Replies
    5
    Views
    4,294

    Extract Data in tag

    Here I am writing a script that get a HTML data from server (via aJax). My purpose is just very simple - get whatever inside the <body> tag.

    So..my script is:


    var bodyContent =...
  14. Replies
    5
    Views
    771

    Hmm but I have did that before... something...

    Hmm but I have did that before...

    something like:
    var a = document.getElementById('mydiv1');
    a.className = "new_class"; // standard HTML attribute
    a.myinternalID = "213213213"; // non-standard....
  15. Replies
    3
    Views
    795

    it is absolutely possible. that's how facebook...

    it is absolutely possible. that's how facebook works too.

    step to setup:

    1) name ur <div>, e.g. <div id="mycontent">
    2) set up event on menu (or any element) (e.g. onKeyUp=checkAndSubmit() )...
  16. Replies
    8
    Views
    19,927

    :) I had this quesiton b4 and now I understand...

    :) I had this quesiton b4 and now I understand too.

    usually, people use $ for two reasons (as far as i know, please correct me if wrong)
    1) able to port to a PHP script
    2) jQuery's convention of...
  17. Replies
    5
    Views
    771

    this line: id: studio + recordNumber, is it...

    this line:
    id: studio + recordNumber,

    is it valid to have "+" there?
  18. In line: account.dom['content'] =...

    In line: account.dom['content'] = document.getElementById('mycontent');
    I reference the dom object ( mycontent ) to account.dom['content']
    hence, I can call account.dom['content'].innerHTML or...
  19. Problem with assigning dom obj to array

    Here is the code I've:



    var account = {
    dom:[],

    updateData: function(text){
    // this function is called by other 'event' functions after the page is loaded.
    ...
  20. Replies
    3
    Views
    803

    Thanks.. now I go back and look at the HTML4.01...

    Thanks.. now I go back and look at the HTML4.01 spec.. and find out <p> cannot include block-level elements. Wasn't aware of this before. :)

    Thanks Declan. :)
  21. Replies
    3
    Views
    803

    Simple DOM question

    Here is the HTML page I have:


    <p id="a123">
    123123
    <div>xererv</div>
    </p>

    <P id="a234" >This is <p>a</p> <div>paragraph</div></P>
    <hr><br>
  22. Replies
    10
    Views
    754

    Or you can do that: var yourArray = [ { ...

    Or you can do that:



    var yourArray = [
    {
    init: function(){ alert('yooo'); },
    others: function() {}
    },
    {
  23. Replies
    2
    Views
    2,453

    I have a piece of code that read the json obj and...

    I have a piece of code that read the json obj and returns everything.
    you can try to modify the code and display the depth.

    or you can treat it as a reference



    function jsObjSynopsis(obj,...
  24. Replies
    12
    Views
    822

    another way.. but tedious one is: for...

    another way.. but tedious one is:



    for (i=0; i<256; i++)
    {
    c1c2 = getHex(i); // get the first two letters. (e.g the FF in FF0000)
    for (j=0; j<256; j++)
    {
    c3c4 = getHex(j);
  25. Replies
    12
    Views
    822

    Realizing that each position has values from 0-f,...

    Realizing that each position has values from 0-f, you can minimize some inner loop by assigning value 0-f directly.

    so, instead of
    for (i=0; i<16;i++)
    {
    assign(i);
    }

    you can do this...
Results 1 to 25 of 62
Page 1 of 3 1 2 3
HTML5 Development Center



Recent Articles