Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. HughbertD

    Changing captions with pictures - captions not working

    Ah, Here is the correct link: http://morrish.juiceserver.co.uk/plot_index.php?plot_id=136&prop_id=9 I will try those suggestions thanks
  2. HughbertD

    Changing captions with pictures - captions not working

    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;}...
  3. HughbertD

    Null is null or not an object - IE problem

    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 +...
  4. HughbertD

    Null is null or not an object - IE problem

    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.
  5. HughbertD

    Null is null or not an object - IE problem

    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?
  6. HughbertD

    Null is null or not an object - IE problem

    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
  7. HughbertD

    Null is null or not an object - IE problem

    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...
  8. HughbertD

    Null is null or not an object - IE problem

    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...
  9. HughbertD

    Null is null or not an object - IE problem

    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...
  10. HughbertD

    Gallery with image swapping / div swapping

    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...
  11. HughbertD

    Setting up a variable, explicit package required

    Ha, of course, thanks a million
  12. HughbertD

    Setting up a variable, explicit package required

    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...
  13. HughbertD

    Not satisfying a while loop (probably very obvious)

    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.
  14. HughbertD

    Not satisfying a while loop (probably very obvious)

    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)...
  15. HughbertD

    SQL statement for adding timeStamp columns

    Superb. Thank you so much for taking the time to do that.
  16. HughbertD

    SQL statement for adding timeStamp columns

    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...
  17. HughbertD

    Catching MYSQL errors

    Sorry, I already did this, after I stopped being lazy. Thanks for the help! (It was 1451) :)
  18. HughbertD

    Catching MYSQL errors

    Ah its mysql_errno() however, I don't think the error falls within 1215-1217.
  19. HughbertD

    Catching MYSQL errors

    When I try mysql_errorno() I get call to undefined function. Is there a built in function to get the errorno?
  20. HughbertD

    Catching MYSQL errors

    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 ...

Part and Inventory Search

Back
Top