Hi Ruksana,
I noticed it wasn’t displaying properly in firefox so had to tweak it a little, sorry about that I should have checked it before I posted the code, anyways here is a modified version...
You could use an image map to get the desired effect you want but you would need to put the image in your page rather than setting it at the background of an element
I see your point, but, lets say you append the querystring of some forum page with something like “&sh=464” to give you the value of the scroll height, if you want to retrieve that value client side...
I am terribly sorry that I have managed to offended you rnd me, that was not my intention, I just saw holes in your argument and thought that it was worth replying to them in a logical and systematic...
That seems like a really bad idea, bundling scripts and letting them sort it out with the querystring, that sounds like a recipe for disaster to me,...
It is fairly easy to get the querystring by just using javascript, if you could expand on why you need to do this it might help us give you a more relevant answer.
Wile boolean values like true and false don’t need to be wrapped in quotes string values like “normal” and “#ffffff” do, one thing to note here is that the hex value for black is “#000000”...
You had three errors in your code you had missed the closing parentheses on your function hasReadTerms, but I am guessing that that was just a copying error when you were copying the...
There is a problem with your if else statement, primarily you can have only one “else” and has no conditional statement, that said you can use an “else if” which will take a conditional...
Here is one possible solution to your problem, what I have done is grabbed the table and made an array of the table rows then looped through the rows and looped through the cells.
As you have noticed that isn’t random in fact you will only ever get the first image, or maybe the second image due to where you increment your variable “index”