www.webdeveloper.com

Search:

Type: Posts; User: Gray1989

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    833

    If you are trying to get this: ...

    If you are trying to get this:

    ['this']['is']['a']['namespace']

    Yet apparently this is unacceptable:

    [['this']['is']['a']['namespace']]

    Then I don't understand what you are asking.
  2. Replies
    9
    Views
    833

    May I ask why exactly you need to do such a...

    May I ask why exactly you need to do such a redundant task?
  3. Replies
    9
    Views
    833

    var ns = "this is a namespace".split(" "); var...

    var ns = "this is a namespace".split(" ");
    var temp = new Array();
    for(i=0;i<ns.length;i++) { temp[i] = new Array(ns[i]); }

    Then just use temp
  4. Replies
    9
    Views
    833

    Give me a second lol ;)

    Give me a second lol ;)
  5. element.className = "class1 class2 class3"; ...

    element.className = "class1 class2 class3";

    This should work, no?
  6. Replies
    17
    Views
    761

    Also, I should point out that you will need to...

    Also, I should point out that you will need to use the latest JS code I have given you (unedited) and each expanding group with toggle must be placed in an element with the class "expander".
  7. Replies
    17
    Views
    761

    "Toggle"

    "Toggle"

    <div class="toggle clearfix grpelem" id="u3567-4">

    Haven't tested it but I think this is your problem.
  8. Please post the source code of what you have so...

    Please post the source code of what you have so far and I'll help you use AJAX in order to get this thing going :)
  9. Replies
    9
    Views
    1,734

    Okay, that's alright. But the sound isn't...

    Okay, that's alright. But the sound isn't necessary, is it? I mean combining sound files using JS isn't exactly reliable because there will have to be multiple sound files loaded and played using...
  10. Replies
    3
    Views
    549

    You may want to look into the uses of...

    You may want to look into the uses of "window.showModalDialog"
  11. Replies
    17
    Views
    761

    it's what i do ;)

    it's what i do ;)
  12. Replies
    17
    Views
    761

    Here is a copy of the new HTML & Script: HTML:...

    Here is a copy of the new HTML & Script:

    HTML:

    <div class="expander">
    <div class="toggle">
    Click here for more information
    </div>
    <div class="showMoreText" style="display:...
  13. Replies
    6
    Views
    663

    I have now uploaded the source code of this...

    I have now uploaded the source code of this project to SourceForge.net under the Creative Commons Attribution-NonCommercial 3.0 Unported License. I would very much appreciate any extra help I can get...
  14. Replies
    17
    Views
    761

    K I just went ahead and cleaned up the code for...

    K I just went ahead and cleaned up the code for you, here it is (if you want it):


    window.onload = function() {
    var elems1 = document.getElementsByClassName("expander");
    ...
  15. Replies
    17
    Views
    761

    I made a minor mistake in the code... It really...

    I made a minor mistake in the code... It really shouldn't matter actually. To be honest, it could be touched up in a few places, PM me if you need anymore help with it.


    window.onload =...
  16. You may use AJAX to get what you need...

    You may use AJAX to get what you need accomplished. http://www.w3schools.com/ajax/ajax_example.asp
  17. Replies
    3
    Views
    549

    function calcCost() { var cost = prompt("Enter...

    function calcCost() {
    var cost = prompt("Enter the cost of the item here.");
    var tax = 0.0825;
    alert("Subtotal: "+cost+"\nTax Charge: "+(cost*tax)+"\nGrand Total: "+((1+tax)*cost)); }

    Is that...
  18. Replies
    2
    Views
    359

    I would use Notepad++ as it comes with many...

    I would use Notepad++ as it comes with many color-coded options for editing web-pages which makes it much easier to go through and debug your code. Also it numbers the lines on your document which...
  19. Replies
    17
    Views
    761

    No problem :P

    No problem :P
  20. Replies
    17
    Views
    761

    HTML:

    HTML:


    <div class="expander">
    <div class="toggle">
    Click here for more information
    </div>
    <div class="showMoreText" style="display: none" id="0">
    Here, you will find...
  21. Replies
    17
    Views
    761

    Under "choose framework", choose anything but...

    Under "choose framework", choose anything but onload
  22. Replies
    17
    Views
    761

    HTML:

    HTML:

    <div class="expander">
    <div class="toggle">
    Click here for more information
    </div>
    <div class="showMoreText" style="display: none">
    Here, you will find some more...
  23. Replies
    6
    Views
    663

    I now have the file uploaded to MediaFire. Please...

    I now have the file uploaded to MediaFire. Please contact me via Personal Message (PM) for the link.
  24. Replies
    9
    Views
    1,734

    actually it would be worthy to note that the...

    actually it would be worthy to note that the captcha on that page is made using flash/php...
  25. Replies
    9
    Views
    1,734

    You have used the ID "captcha" for multiple...

    You have used the ID "captcha" for multiple elements. In order for JavaScript to correctly locate elements using the getElementById function, the query ID must be unique.

    As for the audio, the...
Results 1 to 25 of 120
Page 1 of 5 1 2 3 4
HTML5 Development Center



Recent Articles