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,
Just to update that the problem lay within the html file, in this part of the code:
<!--[if gte IE 5.5]>
<![if lt IE 7]>
<style type="text/css">
.galleryContainer {position: absolute;
top: expression(document.documentElement.scrollTop +...
Safari offer up this :
TypeError: Result of expression 'document.getElementById("photoGallery")' [null] is not an object.
Don't if that might be of any use.
It seems to only be IE7 and IE8 that are affected by this problem.
Thanks for your help feherke, I'm getting fairly desperate now, does anyone else out there any clues?
Hi,
No - its bringing back a lot (66) of errors, is this really the entire cause of the problem?
http://validator.w3.org/check?uri=http%3A%2F%2Fmorrish.juiceserver.co.uk%2Fplot_index.php%3Fplot_id%3D136%26prop_id%3D9&charset=%28detect+automatically%29&doctype=Inline&group=0
Using that code I can stop the error message as you say, I tried toggling the two lines seperately, and it is only without:
var nImg = document.getElementById('fullSizeContainer');
if (!nImg) return
That I get the error message, so I guess it is a problem with finding the...
Thanks for responding -
The HTML code for this is here:
<!--
<div id="fullSizeContainer" class="swapImg">
<img src="http://1.2.3.13/bmi/morrish.juiceserver.co.uk/images/homepage5.jpg" alt="First Image
Description" width=370 height=215 title="First Image Desc">
<div...
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...
Okay I just figured this out literally the second I hit submit.
I was trying to hard with my conditions. The first condition, (@results) controls the amount of output. The second condition confuses it I think.
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...
I tried something similar to this, like
$error=substr(mysql_error(),0,10)
if ($error == "Cannot upda")
{
echo blah
}
But this did not work either. It just doesn't seem to echo anything onto the screen. I don't think that it is catching anything, does the error code come with mysql_error ...
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.