www.webdeveloper.com

Search:

Type: Posts; User: locbtran

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    470

    jQuery Not sure if I'm doing this right. I implemented...

    Not sure if I'm doing this right.
    I implemented the codes as you have suggested but it still doesn't work.

    Here are my new code:


    <!DOCTYPE html>
    <html>
    <head>
    <meta name="viewport"...
  2. Replies
    2
    Views
    470

    jQuery Open Dialog Box When Page Loads Up??

    I would like to open a dialog box when the page loads up but can't figure out how to go about doing this.
    Right now you have to click on a button to open the dialog box.
    I'm going crazy trying to...
  3. Replies
    3
    Views
    338

    Submit Button NOT working??

    My page are divided into 3 <div>.
    When I put the submit button in the content <div> it works fine but if I put the same submit button in the footer <div> it does not work.
    Not sure where I'm...
  4. jQuery Can I use jQuery to Develop a Mobile Application?

    Originally, I was trying to develop an application for the mobile devices (ie. smart phones, tablets, eReaders, etc) using javascript and CSS. I came to a road block and someone suggested I should...
  5. Replies
    2
    Views
    437

    Open Dialog Box When Page Loads Up??

    When I click on a link, it opens up a dialog box.
    How do I get it to open when the page loads up??

    Here's my code:


    <!DOCTYPE html>
    <head><title></title>

    <style>
  6. Replies
    4
    Views
    390

    OK I get it now. thank you Kevin2

    OK I get it now.
    thank you Kevin2
  7. Replies
    4
    Views
    390

    Is there not another way to display the data...

    Is there not another way to display the data which I retrieved from the textbox more then once??

    I'm creating TABS, so first Tab is visible but the 2nd, 3rd, etc are all hidden. Even thought the...
  8. Replies
    4
    Views
    390

    innerHTML NOT working like it should!?!?

    When a user type something into a textbox and then click submit, that value will then be display.
    I am able to display it the first time but if I wanted to display the same data again, it does NOT...
  9. Replies
    4
    Views
    568

    Using onLoad() function??

    I have this


    <style>
    #mydiv{font-weight: bold;}
    </style>

    <div id="mydiv">This is in bold</div>
  10. Replies
    1
    Views
    1,184

    Javascript Prototype (Very Confusing)

    Here's my code:

    var c=document.getElementById("myCanvas");
    var ctx=c.getContext("2d");


    var Shape = function(){}

    Shape.prototype.Circle = function(){
    // Some code here
  11. Replies
    1
    Views
    1,447

    How do I Detect for Mobile Browser

    I downloaded the source code on how to detect mobile browser for detectmobilebrowser.com but they do not have any documentation and code is very cryptic.
    I just want it to do this.
    If it is a...
  12. Thread: HTML5 Game

    by locbtran
    Replies
    2
    Views
    1,567

    it is canvas I load the image first then I draw...

    it is canvas
    I load the image first then I draw do the "fillRect" after but the image always in the fore-ground. Not sure how I can reverse this??

    I'm trying to do this:
    when a player gets hit...
  13. Thread: HTML5 Game

    by locbtran
    Replies
    2
    Views
    1,567

    HTML5 Game

    I'm building a game and whenever a player gets hit, it turns red so the user knows that the player was shot. The player would not die just yet since it has say 5 lives.
    So whenever the player gets...
  14. Replies
    2
    Views
    1,218

    Display Element in an Array

    I have an array of string.
    I would like to display it onto the page but the message is too long so I would like to break it up and put it on 2 lines.


    var txtMsg = [
    "First text",
    "Second...
  15. Replies
    1
    Views
    898

    addEventListener

    I'm trying to build a game.
    When I press the spacebar, it would trigger an event and fire some bullets
    What I would like it to do is, constantly firing the bullets and not need to press on the...
  16. Replies
    4
    Views
    660

    Multi-Dimensional Array

    I have an array, called, "myArray". Inside this myArray are 4 more arrays, "m0, m1, m2, m3".
    How do I access all the elements in all the array?

    Here's my code, :

    <!DOCTYPE html>
    <html>...
  17. Replies
    1
    Views
    360

    HTML5 Geoloaction

    HTML5 GeoLocation

    I know there's an app for this but I would like to learn how to do this.
    When I upload my code onto the server it can find where I am in realtime with geolocatin.
    But if I...
  18. Replies
    0
    Views
    166

    Creating a Form

    When I click on an "Add" button, it would create a new form with the "First Name", "Last Name" field and 2 textboxes, just like the original.
    So if I click on the "Add" button 5 times, it would...
  19. Replies
    1
    Views
    189

    Loop in an Array??

    I would like to put all my coordinates into an array and have a loop display each one but with a Google function.


    Here's the code, which draws the points on google map:


    var...
  20. Replies
    1
    Views
    234

    Interact With Facebook & Twitter

    How would I be able to do this?
    When I click on a button, it would send some text, say, "Check this out!!" to my Facebook and Twitter account.
    I checked the web and and this forum but can't find...
  21. Replies
    1
    Views
    151

    Modify Text Files

    I figure out how to write all the entries from my database onto a text file.


    header("Content-Type: text/plain");
    header("Content-Disposition: Attachment; filename=test.txt");
    header("Pragma:...
  22. Single vs Double Quotes (Very Confusing!!)

    The row in the table would highlight whenever I mouse over it.
    This works perfectly in HTML but I would like to convert from HTML code to Javascritp code to make it more dynamic.

    <html>
    <body>...
  23. Can't Figure Out - document.getElementById

    I'm trying convert document.write to document.getElementById
    but it is not working and I can't seem to figure it out.


    This is my original code:
    var myurl = new Array("google.com",...
  24. Replies
    1
    Views
    568

    Display HTML in Javascript

    I'm trying to display the elements in an array but doesn't seem to work:


    var myurl=new Array("google.com", "yahoo.com");

    for (i=0;i<=myurl.length-1;i++){
    document.writeln("<a...
  25. Replies
    5
    Views
    1,283

    huh?? I have no idea what you just did there...

    huh?? I have no idea what you just did there 007Julien
Results 1 to 25 of 66
Page 1 of 3 1 2 3
HTML5 Development Center



Recent Articles