Type: Posts; User:
One more thing.
Would it be possible to have a bookmark next to a word that would make that word be the word that appears first?
That's what I ment, thanks!
But is it possible to control the speed of the scrolling?
I'm hoping to get a code that works something like this:
I would like to have two arrows on the left and right on the side of a box (no border on the box) and when the mouse is put over...
Brilliant that it was that simple. Thanks for all the help Declan
This script searches for a word that is taken from the window location. But I'm having problems with it, when a all-capital word is searched. Say the letters ABL are searched, it also counts the word...
Hello, I need help with replacing a string replace function with a more effective replace function, within in a script. Here is the script:
The amount of trs will differ and there will be a possibility of two classNames.
Using string.replace(/(\S)([A-Z])/g,'$1 $2') to put spaces between capital letters only applies to English letters. Is it possible to have it apply also to foreign letters (f.x. È, À, Ö, Á and so on)?
var print=change.replace(/(\S)([A-Z])/g,'$1 $2');
str.replace('_','.') only changes the first _ into .
var utkoma=breyta.replace(/(\S)([A-Z])/g,'$1 $2');
I have this code:
It separates the word into three words based on capital letters: Some Random Word.
It worked. You are a genius!
Hello again, and thanks for all the help Fang.
I couldn't get you latest suggestion to work. Maybe I didn't understand. Here is how I tried it:
That script has some minor error I think. This one doesn't:
var ele = document.getElementById(bi);
for(x = 0; x < ele.rows.length; x++)
I'm no good in programming. Could you explain better please, maybe by changing this code:
var ele = document.getElementById(urvals);...
new problem: the things is, I was hoping to use the script multiple times on one page. I've tried to change the names of all the functions and all the vars but haven't been able to get...
The thing is, that I have a template page that displays rows of data from a database. Every other row is white and every other row is gray. So I cannot set the color of which the onmouseout should...
Thank you very much. This is going to be grande!
I want to use this on my page:
<td onmouseover="style.backgroundColor=#990000" onmouseout="style.backgroundColor=#003366">
But I do not want to write the color of the onmouseout (#003366). I...
Yes, true. But when the searchstring is "Two Words", it counts the word "Words" in the "Many Words On".
Is it possible to search exactly for "Two Words", not "Two" and "Word" Separatly.
I have two colors for every other row. Cannot do that.
Is it not possible what I'm asking?
There is actually one more thing. Now that it work I tested it some more and saw one thing wrong. When I search for two words: (test.html?lidtvo=TwoWords), the script counts both words, separate. Is...
aahh... I overlooked it. We have posted so many post :)
Thanks alot for the help!
Now it works completely as planned
The thing is, I don't want to set the color of the onmouseout, I would like it to print the original color (the color that the row had before onmouseover)
Here is an idea of what I mean ..
It's just on default:
Here is my test page: