|
More site info...
JavaScript Development | Forum profile
|
|
Forum profile page for JavaScript Development on http://www.devshed.com.
This report page is the aggregated overview from a single forum: JavaScript Development, located on the Message Board at http://www.devshed.com.
This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period.
Additional forum profile information for "JavaScript Development" on the Message Board at http://www.devshed.com is also shown in the following ways:
1) Latest Active Threads
2) Hot Threads for Last Week
Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.
|
|
|
|
|
Posting activity on JavaScript Development:
|
|
Week
|
Month
|
3 Months
|
|
Threads:
|
62
|
266
|
861
|
|
Post:
|
142
|
565
|
2,124
|
|
|
JavaScript Development Posting activity graph:
|
Top authors during last week:
user's latest post:
Load Text file and display in...
Published (2009-11-05 11:32:00)
what korRedDevil is saying is that ajax calls ONLY work with a web server.. and trying it on a stand alone pc will ALWAYS fail.
user's latest post:
Page 2 - Load Text file and...
Published (2009-11-06 10:58:00)
This is what i got when i googled it: Code: fh = fopen(getScriptPath(), 0); // Open the file for reading if(fh!=-1) // If the file has been successfully opened { length = flength(fh); // Get the length of the file str = fread(fh, length); // Read in the entire file fclose(fh); // Close the file // Display the contents of the file write(str); } Just wondeirng if i may be able to open the file and set the rows in a array and output in html...
user's latest post:
Some AJAX responses result in a...
Published (2009-11-08 14:51:00)
Quote: Originally Posted by romario The people who make these frameworks are meant to be good coders. Aren't they meant to test their code on multiple browsers? They are excellent coders. But they want to build un universal javascript tool. A sort of panacea. Or a miraculous javascript interface for fools. Which, obviously, woun't work for all the needs, because it is impossible to predict all the humans needs. And a fool...
user's latest post:
IE8 and transparent images
Published (2009-11-05 19:37:00)
Nevermind got it working, it was the opacity effect with the dragging. Switched it off and now its working!!
user's latest post:
Row color based on cell content
Published (2009-11-06 14:59:00)
Well, now you're a bit outside of my comfort zone but if I remember my PHP syntax you'd just want something like the code below. Note that this code assumes that your query from MySQL has ordered the results by request_number. php Code: Original - php Code <?php $i=0 $cssClasses = array("color1", "color2", "color3" ); $currentCssClass = "nothing";...
user's latest post:
Remove special characters and...
Published (2009-11-07 12:24:00)
Quote: Originally Posted by gibatul Hi i have a special java code for input strings like: Code: <script type="text/javascript"> String.prototype.toCapitalCase = function() { var re = /\s/; var words = this.split(re); re = /(\S)(\S+)/; for (i = words.length - 1; i >= 0; i--) { re.exec(words[i]); words[i] = RegExp.$1.toUpperCase() + RegExp.$2.toLowerCase(); } return words.join(' '); }...
user's latest post:
Row color based on cell content
Published (2009-11-06 17:42:00)
Thanks! I receive an error though on line 13 & 16 below. Notice: Use of undefined constant lastIndex - assumed 'lastIndex' on line 13 I also get: Notice: Undefined offset: 3 on line 16 Notice: Undefined offset: 4 on line 16 Notice: Undefined offset: 5 on line 16 Notice: Undefined offset: 6 on line 16 Notice: Undefined offset: 7 on line 16 php Code: Original - php Code <?php $i=0 $cssClasses =...
user's latest post:
Some AJAX responses result in a...
Published (2009-11-08 12:19:00)
The people who make these frameworks are meant to be good coders. Aren't they meant to test their code on multiple browsers? I guess it is easier to debug your own code than a framework.
|
|
|
|
Latest active threads on JavaScript Development::
Started 3 days, 16 hours ago (2009-11-07 09:55:00)
by MrFujin
if i assume you variable is from PHP and you get the data from a database, then you can use PHP to create the javascript code.:
php Code:
Original
- php Code
echo "mytree.add(".$id.",". $parent.",'...
Started 3 days, 14 hours ago (2009-11-07 11:49:00)
by s-p-n
Well what's the JavaScript code? Also, what's the URL with issues? Usually IE will fix silly little URL mistakes, and FireFox will not. So it's strange to me you're having this problem.
Also, what's the version of IE?
Started 5 days, 10 hours ago (2009-11-05 15:51:00)
by stdunbar
What are you using as a back end? I feel that your best bet would be to have your back end read this out of your database (I'm guessing there) and set the CSS class to the same thing for each row. You don't indicate how many different groups of rows you'd have. If you have a bunch and you make every grouping a different color you'll end up with an angry fruit salad .
Started 3 days, 14 hours ago (2009-11-07 12:04:00)
by s-p-n
Well apparently those computers can't handle something going on in that script too well.
So improve the script. Make it smaller, quicker, more too the point for the CPU to understand quickly & easily. Cut down the file-size of the file being included through AJAX. Cut down the AJAX request function. If the script isn't needed for the public, get a better browser for those computers...
Started 3 days, 23 hours ago (2009-11-07 02:53:00)
by KorRedDevil
No way. Javascript is able to capture the keystrokes, but if the keystroke (or the combination of keystrokes) are allocated, by default, to the Operating System operations, javascript can not change their behaviour. Javascript is client-side language, it can not "touch" the OS.
But probably you may alert the user about the fact that combination already does something else.
Started 4 days, 22 hours ago (2009-11-06 03:47:00)
by Winters
Started 5 days, 16 hours ago (2009-11-05 09:25:00)
by haydenchambers
stupid question but the text document is in the same folder (at the same level) as your html doc?
|
|
Hot threads for last week on JavaScript Development::
Started 5 days, 16 hours ago (2009-11-05 09:25:00)
by haydenchambers
stupid question but the text document is in the same folder (at the same level) as your html doc?
Started 5 days, 10 hours ago (2009-11-05 15:51:00)
by stdunbar
What are you using as a back end? I feel that your best bet would be to have your back end read this out of your database (I'm guessing there) and set the CSS class to the same thing for each row. You don't indicate how many different groups of rows you'd have. If you have a bunch and you make every grouping a different color you'll end up with an angry fruit salad .
Started 1 week, 5 days ago (2009-10-29 21:55:00)
by bonechair
Started 4 days, 22 hours ago (2009-11-06 03:47:00)
by Winters
Started 3 days, 14 hours ago (2009-11-07 11:49:00)
by s-p-n
Well what's the JavaScript code? Also, what's the URL with issues? Usually IE will fix silly little URL mistakes, and FireFox will not. So it's strange to me you're having this problem.
Also, what's the version of IE?
Started 1 week ago (2009-11-03 19:37:00)
by haydenchambers
I dont see where you're actually calling disolve
this is a bit psuedo codeish cos its late
window.onclick= handle;
Code:
function handle(e) {
targ_id = e.target.parent.id //rubbishy line but we're trying to get "sub" here
if(targ_id != "sub") {
//sub wasnt clicked so hide it
desolve();
}
}
also instead of
Code:...
Started 1 week, 1 day ago (2009-11-02 16:41:00)
by perkinsDP
Started 1 week ago (2009-11-03 08:29:00)
by Winters
It is possible, you will need to use the DOM to create a functional textarea. Take a look at this search and see how you get on. Post back if you get stuck.
Started 3 days, 23 hours ago (2009-11-07 02:53:00)
by KorRedDevil
No way. Javascript is able to capture the keystrokes, but if the keystroke (or the combination of keystrokes) are allocated, by default, to the Operating System operations, javascript can not change their behaviour. Javascript is client-side language, it can not "touch" the OS.
But probably you may alert the user about the fact that combination already does something else.
Started 6 days, 10 hours ago (2009-11-04 16:10:00)
by requinix
"this" isn't a method. It's a reference to whatever object is executing some code. In that event, "this" will be a reference to the <A> tag...
And last I knew, .text was a property, not a method.
|
|