# Search:

Type: Posts; User: sh0wtym3

## Search: Search took 0.02 seconds.

by sh0wtym3
Replies
2
Views
965

### 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...

by sh0wtym3
Replies
2
Views
965

### Question about ParseInt and ParseFloat

parseInt(1e1, 10);
10

parseInt('1e1', 10);
1

parseFloat('1e1', 10);
10
3. ## Thread: Another Syntax Question

by sh0wtym3
Replies
5
Views
758

### Ah ok, thanks for the clarification !

Ah ok, thanks for the clarification !
4. ## Thread: Simple Syntax Question

by sh0wtym3
Replies
4
Views
652

### 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. ## Thread: Another Syntax Question

by sh0wtym3
Replies
5
Views
758

### 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. ## Thread: Another Syntax Question

by sh0wtym3
Replies
5
Views
758

### 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. ## Thread: Simple Syntax Question

by sh0wtym3
Replies
4
Views
652

### 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:

by sh0wtym3
Replies
1
Views
1,200

### 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...

by sh0wtym3
Replies
1
Views
1,200

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. ## Thread: Javascript works fine in Firefox, does not work in IE

by sh0wtym3
Replies
1
Views
576

### 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. ## Thread: Hacked! Web Site reported as an attack site!

by sh0wtym3
Replies
5
Views
1,965

### 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. ## Thread: Hacked! Web Site reported as an attack site!

by sh0wtym3
Replies
5
Views
1,965

### ^^^ 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. ## Thread: Hacked! Web Site reported as an attack site!

by sh0wtym3
Replies
5
Views
1,965

### 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. ## Thread: Frames not working, but why?

by sh0wtym3
Replies
3
Views
704

### 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. ## Thread: MP3... Yay. WAV... Booo

by sh0wtym3
Replies
1
Views
2,478

### 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. ## Thread: Limiting Number of Characters in Text Field

by sh0wtym3
Replies
2
Views
3,521

### 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. ## Thread: Limiting Number of Characters in Text Field

by sh0wtym3
Replies
2
Views
3,521

### 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