# Search:

Type: Posts; User: 007Julien

Page 1 of 20 1

1. ## Thread: Capitalizing first letters of all the words in a string containing cyrillic symbols

by 007Julien
Replies
2
Views
838

### See this page...

See this page for the replace with a function, m is the matched substring a letter (\w) which follow a word boundary (\b).

For cyrillic symbols you have probably to build an object...
2. ## Thread: Using RegExp() to change only parts of a string

by 007Julien
Replies
2
Views
584

### See, for example, this page source code...

See, for example, this page source code...
3. ## Thread: how to calculate offset.left position to display image on link hover

by 007Julien
Replies
9
Views
1,799

### See for example Peter Paul Koch page : Find...

See for example Peter Paul Koch page : Find position
4. ## Thread: Can you add RGB color codes to an array in JavaScript, if yes how ?

by 007Julien
Replies
9
Views
1,774

### It's to possible to calculate colours with...

It's to possible to calculate colours with something like this (for example with this cube):

function clrFce(f,c){var t;switch(f){
case 0:return...
5. ## Thread: Javascript random image and answer

by 007Julien
Replies
4
Views
899

### At first, It would be easier to number the images...

At first, It would be easier to number the images from zero and to build the arrays progressively.

var mgsQst = [];
mgsQst[mgsQst.length] = 1.png;
mgsQst[mgsQst.length] = 2.png;...
6. ## Thread: Java - sum

by 007Julien
Replies
6
Views
1,031

### You can write the sum in order or in reverse...

You can write the sum in order or in reverse order :
S = 23+24+25+26+27+28+29
S = 29+28+27+26+25+24+23
The each sum is the same 23+29 = 24+28 = 25+27 = 26+26 and the sum is (23+29) x (number of...
7. ## Thread: Dicatnce between the points

by 007Julien
Replies
7
Views
1,077

### And to work with Vectors something like this ...

And to work with Vectors something like this

function Vct(x,y,z){this.x=x; this.y=y; this.z=z}
with({o:Vct.prototype}){
o.cln=function(){return new Vct(this.x,this.y,this.z)}
...
8. ## Thread: scroll a div within an overflowed to a specific point in the viewport

by 007Julien
Replies
3
Views
922

### Yes Obviously. Move the container of 3 widths (or...

Yes Obviously. Move the container of 3 widths (or -2 widths) of images...
From image n to m, move of (m-n) widths !
9. ## Thread: scroll a div within an overflowed to a specific point in the viewport

by 007Julien
Replies
3
Views
922

### it's easier to work with positions like on this...

it's easier to work with positions like on this demo page
10. ## Thread: Smaller width with phones...

by 007Julien
Replies
10
Views
1,355

### You are right ! Thanks. One would think that the...

You are right ! Thanks.
One would think that the W3C believes only latest !
I know HTML5 and canvas with this pages : The Rubik's Cube or a Moebius roled surface
11. ## Thread: Smaller width with phones...

by 007Julien
Replies
10
Views
1,355

### Ok to change the doctype with HTML 4.I01 Strict....

Ok to change the doctype with HTML 4.I01 Strict. But the validator is wrong. It's do not allow HTML string in Javascript !

For the rest, I thought there was a solution with media-queries...
12. ## Thread: Smaller width with phones...

by 007Julien
Replies
10
Views
1,355

### I renounce all changes. It's better if I do...

I renounce all changes. It's better if I do nothing special !
Here is the page It's a dairy for bridge players

Whit a max-width for the #pge the dairy is larger than the pge on Iphone ???
13. ## Thread: Smaller width with phones...

by 007Julien
Replies
10
Views
1,355

### Thanks. I do not know it was so easy !

Thanks. I do not know it was so easy !
14. ## Thread: Smaller width with phones...

by 007Julien
Replies
10
Views
1,355

### @kevin I wish change only for small screens with...

@kevin
I wish change only for small screens with phones...
15. ## Thread: Smaller width with phones...

by 007Julien
Replies
10
Views
1,355

### Smaller width with phones...

I have a div page centred in the body (display:block;width:500px;margin:0 auto...} which contains all the content. It therefore appears with margins on a PC or MAC.

What means (meta tag and/or...
16. ## Thread: Executing JS code

by 007Julien
Replies
5
Views
1,553

### See this page to execute javascript programs...

See this page to execute javascript programs in your browser.

Then, it's possible to use the console to verify some result in your browser (open the console with F12 with Internet Explorer or...
17. ## Thread: Regular expression question

by 007Julien
Replies
2
Views
824

### Try with something like this : var...

Try with something like this :

var firstNumber,secondnumber;
lines[i].replace(/([\d\.]+)\D+(\d+),function(all,a,b){firstNumber=a;secondNumber=b}
alert(firstNumber+' '+secondNumber)
18. ## Thread: New points x,y object

by 007Julien
Replies
6
Views
1,029

### A reason to make this calculation with javascript...

A reason to make this calculation with javascript : a little «Three-cushion billiards» page (under construction)
19. ## Thread: New points x,y object

by 007Julien
Replies
6
Views
1,029

### Build a Point or Vector object // Point...

Build a Point or Vector object

// Point constructor
function Point(x,y){this.x=x;this.y=y;}

// scalar multiplication
Point.prototype.mult=fonction(m){return new Point(this.x*m,this.y*m)}...
20. ## Thread: Color Change

by 007Julien
Replies
4
Views
1,269

### a variant with more diverse colours

a variant with more diverse colours

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>color change</title>
<style>
body {
background-color:#000032;
21. ## Thread: Dilution calculator (really ugly)

by 007Julien
Replies
11
Views
1,928

### Use CSS style with class to avoid mixing code and...

Use CSS style with class to avoid mixing code and format.
See w3scholls.com CSS tutorial with, for example, this demo page
22. ## Thread: create a row using checkboxes

by 007Julien
Replies
6
Views
1,515

### It would be better to display two buttons to add...

It would be better to display two buttons to add a row (its disappear with the 5th row) or to delete a row (if any) of your table...
23. ## Thread: Automatic conversion of a Euro value to Pounds

by 007Julien
Replies
5
Views
1,618

### How do you find this new version with sound ...

How do you find this new version with sound to convert foreign currencies ?
24. ## Thread: Escaping a String

by 007Julien
Replies
3
Views
1,414

### Replace, in your database, all single quote by a...

Replace, in your database, all single quote by a &apos; or a typographic apostrophe ( ’ ), also known as the typset apostrophe, or, informally, the curly apostrophe obtain with alt 0146.
25. ## Thread: Memory

by 007Julien
Replies
1
Views
623

### Here is a memory...

Here is a memory
Use an object to build your memory. There is no need of an array to find the kth image src, it's k+'.jpg' !
At the beginning you have only to show back of card and to define a...
Results 1 to 25 of 500
Page 1 of 20 1