Hi Intose,
If you want simple, this is a system I came up with a while back, just scale your data values into the height parameter.
Tweak the width and colours as you wish.
Extend to as many columns and as may stack levels as needed. You can add <title> or <alt> tags in the divs so the user...
Hi folks,
I am having no joy making this simple mouse event script work in FF.
If anyone could give me a clue what I need to do do make it compat with most modern browsers I'd be very grateful.
Thanks,
Graham
<!doctype html>
<html>
<head>
<script...
Many thanks jpadie,
This is what I came up with ...
<!doctype html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
</head>
<body>
<div style="width:1000px; height:500px; background-color:#dddddd"></div>
<script>
$("div")...
Hi
I have built a simple css based charting system and I want to be able to drag the mouse over a certain area, get the beginning and ending X and Y co-ordinates, so that I can re-draw the graph for the selected region the mouse was dragged over.
All I need is the X and Y co ordinates when the...
Hi jpadie,
Many thanks for your quick response! I have tried the following - slight difference in table names - but no
output evident.
I am currently getting the data from individual tables for event_1 and event_2 as they are legacy and they have a lot of historic data in them I have a couple...
Hi jpadie,
They are just seconds, ultimately I will use unix timestamp.
In the examples above, my expected output is :-
1 to 3
10 to 17
26 to 33
47 to 49
50 onwards
Regards,
Graham
Hi Folks
I have 2 tables, which show time a particular event was activated, and time that event was cleared.
event_1
id activated cleared
1 3 9
2 19 26
3 35 46
and
event_2
id activated cleared
1 5 10
2 17 22
3 33 47
4 49 50
I want to find the bands of time that...
Hi,
I wonder if you can help steer me in the right direction.
I have a MySQL table which shows when a latching pushbutton was pressed and when it was released, in unix time...
`id`, `pressed`, `released`
128, 1389608227, 1389608232
129, 1389608352, 1389608559
130, 1389608794, 1389608871
131...
Hi folks,
I'm struggling to formulate a solution to this simple little task...
foreach($db->query('SELECT zip, name FROM memberrecords ORDER BY zip ASC')as $record)
{
$zip=$record['zip'];
$name=$record['name'];
echo $zip."=".$name."<br>".PHP_EOL;
}
If I have 2 or more zip codes the same, I'd...
Hi JD
Try adding border="0" in the image tag, thus <img src="http://mywebsite.com/image/picture.png" style="margin: 20px 0;" border="0">
Regards
Graham
Hi folks
I have a js gauge which renders fine in Firefox but nothing in IE
Been tearing my hair out trying different fiddles, to no avail.
The page is at http://www.london-electronics.com/prod.php
Thanks in anticipation for any pointers!
Graham
Many thanks indeed for your help!
Not homework, I assure you! I am a 52 year old, long out of the world of school/college, simply seeking advice on the preferred method.
Best regards
Graham Laming
Hi
I'm trying to split a string of variable length into its individual component characters and am stuck.
For example 1234de would be given as
1
2
3
4
d
e
Any guidance would be gratefully received!
Thanks!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.