- Upvotes Received
- 6
- Posts with Upvotes
- 5
- Upvoting Members
- 4
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
12 Posted Topics
In general convert each date into a number (of hours, minutes, seconds, whatever, depending on the degree of precision that you require) and then subtract one from the other. This can be a bit tricky with leap years and whatever. In practice it might be easiest to convert your dates …
I do not use jquery and I am not sure that I understand the requirement here so up to now I have not attempted to answer this question. But since there have not been any other responses I will have a go. Using javascript you can put an object tag …
If your image is an arbitary bit map (for example jpeg, gif or png) then this is going to be very difficult since there is no 'object' along which to align the text - there is just a two-dimensional array of different coloured pixels. The 'object' which you see is …
Have a look at the appendChild routine which should allow you to add a new row at the end of the table.
I do not think that <img src ="images/dog.gif , images/mean_dog.gif"... is correct; that is I do not think that you can assign two picture file names to a src attribute in this way. In any case it is not necessary to achieve the effect that you want. Geoff
Since you have not had any replies I will see if I can help (I do not use jQuery so cannot check the detailed syntax). As far as I can tell the organisation of your code is OK and if it runs without errors then it should return either true …
I think that the single quote after "loved." should not be there and the one after "day." should be at the end of the "</p>". Check carefully for any other similar problems which I might have missed - I did not test corrected code.
You have not been very clear about what you want to happen, but it seems to me that because you get a reference to the text element by "txtPassportNumber" in your code, the only text box that you will ever change is the first one. The other two start off …
Since all the frames in an animated GIF are the same size and aspect ratio, I do not see why this will not work. But the easiest way to find out is just to try it and see. Note that if all you want is for your GIF to act …
You can take advantage of one of the free blog sites (I use blogspot because it has all the usual features with no ads) to set up a blog, and then display it in an iframe on one of your web pages. This means that the blog is well integrated …
I have never used Jscript so will not attempt to suggest a complete coding solution, but would your problem be more easily solved with an onClick attribute in the image tag which resets the URI location property? If you were coding it in HTML it would look like: <img src="image1.gif" …
[quote=Mushy-pea;250612]Hello everyone. I'm trying to write some Javascript code to make a logo on my website flash periodically between two differently coloured versions (i.e. a simple "swap image - restore image job). Here is a simplified version of what I am attempting, with no loops added yet: [code] <html> <head> …
The End.
kgweb