Hi all,
For this page here:
http://morrish.juiceserver.co.uk/plo...=136&prop_id=9
I have the following code for the photo gallery:
var thumbProportion = .17 // thumbnails are 32% of their full size;
var IE = false;
if (navigator.appName == "Microsoft Internet Explorer"){IE = true;}...
Hi all,
I am encountering the following problem with my javascript code.
I get a null is null ornot an object error for this line in my code(the second one):
var nImg = document.getElementById('fullSizeContainer');
var fullSizeImg = nImg.getElementsByTagName('img')[0];
The...
Hi all,
A little while ago someone created a gallery for me, with thumbnails, it would swap the main image for the thumbnail, so no picture was displayed twice (both as thumb and main image) at the same time.
I now need to add some captions to the main image but can't figure out how to do it...
From the code below I get the following errors:
Global symbol $start requires explicit package name.
I have already initialised this variable here,
my $start=$newLine[0];
but it refers to my SQL statement:
my ($queryAll) = " select ev_title, ev_locn, dateTime, dateTimeFin from calendar...
Hi all,
I execute this while loop, and it never stops.
$rownumber is definitely 3.
my ($rownumber) = $execute->numrows();
# FETCHROW ARRAY
my ($i)=0;
while (my (@results) = $execute->fetchrow() && $i<=$rownumber)
{
$sheet1->write(0, $i, $results[0], $format)...
Hi all,
I have a table which holds information for meetings, in the form of, startDate (timestamp), finishDate(timestamp), meetingCompany (varchar).
I want to:
Add up the total amount of time spent in meetings for each different company. But only include meetings that are longer than 2...
Hi all,
I want to be able to catch a "Cannot delete or update a parent row" error from a mysql database. Instead of just printing the error to the screen, I want to explain that some records need to be altered. Is there a way of doing this?
Thanks for any help
Hi all,
I have a PHP page. What I am trying to do is open a <form> which has text boxes in, close that form, then open a different form, close that form, open the first <form> so that I can include the submit button.
My hoping was that if i reference by name, the information would come...
Hi all,
I am having problems simply figuring out where to start with this problem.
Ultimately I want to create a spreadsheet which adds up all the hours spent at each company.
I have a MySQL database. It holds all the meetings details for each company visited including, the meeting start time...
Hi all,
I have the following code,
$start = strtotime($row["dateTime"]);
$end = strtotime($row["dateTimeFin"]);
$result = ($end - $start);
$conv=gmdate("d \d\a\y\s H \h\o\u\\r\s\ i \m\i\\n\s\ s \s\e\c\s",$result);
All my results are a day out. When I find out the months and years...
Hi all,
I have WAMP installed - (I know I was seduced by its simplicity)
I have active state perl installed, 5.8.8
I wish to run perl scripts. I have edited my httpd.conf file with;
AddHandler cgi-script .cgi .pl
<Directory />
Options FollowSymLinks +ExecCGI
AllowOverride None...
Hi
I have /another/ question - sorry, you have all been so good with my queries - thanks.
I am zipping up a bunch of files within directories - and the aim is to have the files but not the directories they are in : however, there is a file "BugList.txt" that exists in $WORKING/ area - I want...
I have a hash with paths as the key and filenames as the value, I want to print out the path and filename of any of these elements that appear more than once in the hash.
Thank you if you can help at all
Hi,
I have a string in a scalar $path , I want to split it to get just the file name. I was splitting on the "/" into an array, and then "popping" the last element of the array into the variable, but is there a simpler way to do this?
Hi all,
I am writing a program, so far I have written the contents of the file (in this case filenames) into an array - now I want to find any duplicate filenames within the array and print them to another file - I am having a hard time getting my head around the logic to do this?
Can anyone help?
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.