Register
FAQ
Calendar
Search
Today's Posts
Rules
Guidelines
SMS enable your application
via Clickatell’s fast, simple and reliable API's, built to integrate with any system.
Click here
to learn more.
Flash Website Builder
- Trendy Site Builder is a Flash Site Building tool that helps users build stunning websites.
Check Out Custom
Custom Logo Design
by LogoBee. Website Design and Free Logo Templates available.
CodingForums.com
>
Search Forums
Search Results
User Name
Remember Me?
Password
Before you post, read our:
Rules
&
Posting Guidelines
Page 1 of 4
1
2
3
>
Last
»
Showing results 1 to 25 of 81
Search took
1.84
seconds.
Search:
Posts Made By:
rdspoons
Forum:
JavaScript programming
12-08-2012, 11:02 PM
Replies:
18
regex variable
Views:
699
Posted By
rdspoons
Old Pendant, I've evaluated your comment...
Old Pendant,
I've evaluated your comment and of course you're right. Thank you. I do fall back to eval when I believe it's required, but in the examples posted here I used eval because its a...
Forum:
JavaScript programming
12-08-2012, 05:49 PM
Replies:
18
regex variable
Views:
699
Posted By
rdspoons
Here is one way to allow variables in both the...
Here is one way to allow variables in both the source regexp string and also the replacement string - using the evil eval :D.
alert(
// String replace with variable source regexp and variable...
Forum:
JavaScript programming
12-08-2012, 12:36 PM
Replies:
18
regex variable
Views:
699
Posted By
rdspoons
Phillp M, sorry, my attempt at humor did...
Phillp M,
sorry, my attempt at humor did not show through - should have used a :D.
Yes, replacementString is a literal. somvar is the variable.
Forum:
JavaScript programming
12-08-2012, 09:18 AM
Replies:
18
regex variable
Views:
699
Posted By
rdspoons
See comment by Phillip M: ...
See comment by Phillip M:
http://www.codingforums.com/showthread.php?t=283765
Forum:
JavaScript programming
12-08-2012, 08:58 AM
Replies:
18
regex variable
Views:
699
Posted By
rdspoons
For what it's worth, you can also use eval to use...
For what it's worth, you can also use eval to use variables in replace.
string.replace(eval("/"+somevar+"/gi"),"replacementString")
alert(
(function(){
var rvar = " simple";
...
Forum:
JavaScript programming
12-07-2012, 03:58 AM
Replies:
4
Javascript code meaning
Views:
479
Posted By
rdspoons
x=((next - present) == 356) ? 2 : (((present -...
x=((next - present) == 356) ? 2 : (((present - last) == 382) ? 1 : 0);
next present and last are to hold numeric values
the JavaScript ternary operator is used to assign a value to x
x =...
Forum:
HTML & CSS
09-18-2012, 03:46 PM
Replies:
1
Drop down menu
Views:
201
Posted By
rdspoons
You might try this: requires: <!doctype...
You might try this:
requires: <!doctype html>
#menu {position:relative;height:1.5em;}
#menu ul {position:absolute;background:#3245ff;list-style:none;padding:5px;width:60px;}
#menu ul...
Forum:
HTML & CSS
09-18-2012, 02:59 PM
Replies:
15
Random Image on load, in table background?
Views:
1,291
Posted By
rdspoons
vnbenny88's solution is a good backend solution. ...
vnbenny88's solution is a good backend solution.
for a front-end solution you could try:
You need to give you element with the background an id attribute.
I just used the id 'td1'
<td...
Forum:
Post a JavaScript
09-18-2012, 03:11 AM
Replies:
0
html5 canvas: Store/Read text in image color channels
Views:
1,038
Posted By
rdspoons
html5 canvas: Store/Read text in image color channels
A simple object to store text into and read text from one of an images three color channels: Red/Green/Blue (Alpha not used).
The object named C is meant to be renamed to whatever works for you.
...
Forum:
DOM and JSON scripting
09-15-2012, 02:20 AM
Replies:
4
A note of Child in MSIE and Crome
Views:
662
Posted By
rdspoons
felgall, PM was disabled. The normalizeAll...
felgall,
PM was disabled. The normalizeAll function code located at http://javascriptexample.net/dom36.php
has unballanced parentheses in the first conditional. Maybe a type-0?
The...
Forum:
DOM and JSON scripting
09-14-2012, 09:55 PM
Replies:
10
Problem with setting onclick function using createElement
Views:
1,039
Posted By
rdspoons
You need to watch out for overwriting your...
You need to watch out for overwriting your dynamic srcripts when you use .innerHTML.
The DOM can be used to add the break, instead of using innerHTML, and it will avoid overwrite issues:
In...
Forum:
DOM and JSON scripting
09-14-2012, 03:20 AM
Replies:
10
Problem with setting onclick function using createElement
Views:
1,039
Posted By
rdspoons
This may help. You can compare the code and...
This may help.
You can compare the code and comments to your original code
<script type="text/javascript">
//replaced intTaskNumber argument with a button object (n)
function RemoveTask(n)
{...
Forum:
DOM and JSON scripting
09-14-2012, 02:42 AM
Replies:
4
Hi need help with this code. javascript
Views:
1,134
Posted By
rdspoons
This may help. You can compare the code and the...
This may help. You can compare the code and the comments to your original code.
<HTML>
<body>
<script type="text/javascript">
//You may want to add your own default word for the prompt to ...
Forum:
Post a JavaScript
09-11-2012, 06:49 PM
Replies:
0
JavaScript x86 32-bit Assembler
Views:
625
Posted By
rdspoons
JavaScript x86 32-bit Assembler
Intel based windows 32-bit systems only.
This is a toy JavaScript assembler I wrote long, long ago.
To create and save a com file, the app needs to be run on the desktop as an HTA - just use an...
Forum:
Post a JavaScript
09-09-2012, 02:53 PM
Replies:
2
Logical conditions
Views:
749
Posted By
rdspoons
It's good to know the different forms the...
It's good to know the different forms the language can take.
But, do use the traditional form, especially if you need speed.
Simple timing tests show the logical form execution speed can be over 2...
Forum:
Post a JavaScript
09-08-2012, 12:33 AM
Replies:
2
Logical conditions
Views:
749
Posted By
rdspoons
Logical conditions
Logical conditions
Traditional vs Logical equivalents
Notes:
Here are a few logic based conditonal alternatives.
Each numbered point shows the traditional conditional form followed by the...
Forum:
Java and JSP
09-01-2012, 04:41 AM
Replies:
4
new program
Views:
981
Posted By
rdspoons
//pointers? // Allows for user input import...
//pointers?
// Allows for user input
import java.util.Scanner;
public class Salary3
{
public static void main (String[] args) // <- 1. corrected semi-colon error on main
{ // Removed...
Forum:
Java and JSP
08-31-2012, 03:44 AM
Replies:
4
new program
Views:
981
Posted By
rdspoons
A test? There are seven errors in the posted...
A test?
There are seven errors in the posted java code. Can you find them?
match the errors with the line of code:
Errors
1 semi-colon error
1 Declaration error
3 Misspelling errors (3)
1...
Forum:
Post a JavaScript
08-27-2012, 07:47 PM
Replies:
2
Hash abuse: avoiding server side processing
Views:
1,747
Posted By
rdspoons
Adding <!doctype html> to an unstructured...
Adding <!doctype html> to an unstructured document tells the browser to try to interpret the document in a standards complient way.
Add this style to the page below or above the title.
<style...
Forum:
Post a JavaScript
08-27-2012, 02:06 AM
Replies:
2
Hash abuse: avoiding server side processing
Views:
1,747
Posted By
rdspoons
Hash abuse: avoiding server side processing
About the erratic code layout for this example...
The following is true across all modern browsers:
The public at large never validates your web page. It's up to you to make sure your page is...
Forum:
Post a JavaScript
08-25-2012, 12:00 AM
Replies:
0
User load local and/or remote images
Views:
874
Posted By
rdspoons
User load local and/or remote images
This simple method can easily be overlooked. It assumes the user can use the keyboard.
You can use a textbox input element to allow the user to load any image into your page, local or remote.
...
Forum:
Post a JavaScript
08-20-2012, 09:43 AM
Replies:
0
Creating and using custom script blocks
Views:
1,172
Posted By
rdspoons
Creating and using custom script blocks
Two custom script block examples can be found in the page in the attached zip file.
Anyone can make their own language for writing code, running a data management system, incorporating a...
Forum:
Post a JavaScript
06-10-2012, 01:47 AM
Replies:
6
"Pop quiz, hot shot"
Views:
876
Posted By
rdspoons
Good observations. Unintended consequences can...
Good observations.
Unintended consequences can drive you crazy.
<div id="info"></div>
<script>
var Sheldon = function(n){
document.getElementById("info").innerHTML+=n;
}
Forum:
Post a JavaScript
05-23-2012, 10:45 AM
Replies:
10
A simple to use Unobtrusive FadeShow Object
Views:
4,448
Posted By
rdspoons
update for delay speed and positioning
Tactician,
1) Allowing the user to set their own delay speed for the image swaps
step 1:
locate and remove or comment-out the following line in fadeshow.js
...
Forum:
Project collaboration/ partnership
04-02-2012, 10:34 PM
Replies:
1
tester needed
Views:
550
Posted By
rdspoons
tester needed
Need a Tester who has spare time to test a site, watch video, and give pointed opinions.
The Tester can view videos and test player at their convenience. Videos do not need to be viewed in total.
...
Showing results 1 to 25 of 81
Page 1 of 4
1
2
3
>
Last
»
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
:: Client side development
JavaScript programming
DOM and JSON scripting
Ajax and Design
JavaScript frameworks
Post a JavaScript
HTML & CSS
XML
Flash & ActionScript
Adobe Flex
Graphics and Multimedia discussions
General web building
Site reviews
Building for mobile devices
:: Server side development
Apache configuration
Perl/ CGI
PHP
Post a PHP snippet
MySQL
Other Databases
Ruby & Ruby On Rails
ASP
ASP.NET
Java and JSP
Other server side languages/ issues
ColdFusion
Python
:: Computing & Sciences
Computer Programming
Computer/PC discussions
Geek News and Humour
Web Projects and Services Marketplace
Web Projects
Small projects (quick fixes and changes)
Medium projects (new script, new features, etc)
Large Projects (new web application, complex features etc)
Unknown sized projects (request quote)
Vacant job positions
Looking for work/ for hire
Project collaboration/ partnership
Paid work offers and requests (Now CLOSED)
Career, job, and business ideas or advice
Domains, Sites, and Designs for sale
Domains for sale
Websites for sale
Design templates and graphics for sale
:: Other forums
Forum feedback and announcements
All times are GMT +1. The time now is
09:22 AM
.
Web Hosting UK
|
Dedicated Server Hosting
|
Shareware Junction
|
Software Geek
|
Flash file uploader
|
Cloud Server
|
Web Hosting Australia
Home
-
Contact Us
-
Archives
-
Link to CF
-
Resources
-
Top
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.