www.webdeveloper.com

Search:

Type: Posts; User: sh0wtym3

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,029

    Well my goal isn't to find out how to convert 1e1...

    Well my goal isn't to find out how to convert 1e1 to a number. I'm questioning why parseInt seems to choke on scientific notation inside of a string, while parseFloat doesn't. Was this done on...
  2. Replies
    2
    Views
    1,029

    Question about ParseInt and ParseFloat

    parseInt(1e1, 10);
    10

    parseInt('1e1', 10);
    1

    parseFloat('1e1', 10);
    10
  3. Replies
    5
    Views
    763

    Ah ok, thanks for the clarification !

    Ah ok, thanks for the clarification !
  4. Replies
    4
    Views
    654

    Thanks for the feedback. I prefer the latter...

    Thanks for the feedback. I prefer the latter method as well, but the tutorials I've been reading all seem to use the former.
  5. Replies
    5
    Views
    763

    I was speaking hypothetically - "if I make the...

    I was speaking hypothetically - "if I make the GPA property private" meaning if I was to make the change from this.GPA = 3.5 to var GPA = 3.5. Sorry for the confusion I should have been more clear, I...
  6. Replies
    5
    Views
    763

    Another Syntax Question

    Let's say I have a simple class that has a method which returns your GPA:



    function reportCard() {
    this.GPA = 3.5;

    this.getGPA = function() {
    return this.GPA;
    };
  7. Replies
    4
    Views
    654

    Simple Syntax Question

    When I define a constructor/class/function in javascript, I can write it as either:


    var Person = function (name) {
    this.name = name;
    };

    or:
  8. Replies
    1
    Views
    1,211

    Body Section ...

    Body Section



    <body>
    <ul id="slideshow">
    <li>
    <h3><font face="Calibri, Verdana" size="3" color="#FFFFFF">Example #1</font></h3>
    <span>images/ss1.jpg</span>
    <p><font...
  9. Replies
    1
    Views
    1,211

    PLEASE help me I'm tearing my hair out

    Ok so Im using this free javascript slideshow i found online to show off some photoshop designs.

    There are thumbnail previews located beneath the slideshow. You can click the thumbnail to bring up...
  10. Javascript works fine in Firefox, does not work in IE

    Hey all,

    Here's is the Javascript:


    <script language="javascript" type="text/javascript">
    function showonlyone(thechosenone) {
    var article = document.getElementsByName("article");
    ...
  11. That's interesting you said that ebar, because...

    That's interesting you said that ebar, because all my index pages had malicious links added to them. I just found some more today which I missed before. I'm going to contact my hosting company and...
  12. ^^^ How would my site be hacked? It wasn't too...

    ^^^

    How would my site be hacked? It wasn't too complicated, and there wasn't any software installed. Just simple html and php which I hand coded myself.
  13. Hacked! Web Site reported as an attack site!

    So I visit my website and I am greeted with:

    Reported Attack Site!

    This web site at (mysite.com) has been reported as an attack site and has been blocked based on your security preferences.
    ...
  14. Replies
    3
    Views
    709

    Why not use an iframe element?

    Why not use an iframe element?


    <iframe src="bethel2008/index.php" style="height:700px; width:200px; border:0px"></iframe>

    Just adjust the height and width how you see fit.

    ... and use the...
  15. Replies
    1
    Views
    2,511

    MP3... Yay. WAV... Booo

    I'm using a simple embed element to stream music after a link is clicked:


    <embed src="http://www.mysite.com/music/mysong.mp3" autostart="true" loop="false" width="300" height="42"...
  16. Replies
    2
    Views
    3,594

    It works now! Thanks man. In case any readers...

    It works now! Thanks man.

    In case any readers need to see what was changed, my revised code is posted below:

    <form action="getfile.php" method="post" enctype="multipart/form-data">
    <table...
  17. Replies
    2
    Views
    3,594

    Limiting Number of Characters in Text Field

    Hey all,

    I'm trying to use a couple lines of javascript to limit the number of characters a user can type in a text field. It's also supposed to display how many characters they have left.

    The...
Results 1 to 17 of 17
HTML5 Development Center



Recent Articles