Jump to content

longtone

Members
  • Posts

    75
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

longtone's Achievements

Member

Member (2/5)

0

Reputation

  1. So you spotted my deliberate mistake... I'll book my brain transplant now
  2. aaa = 'boo a'; bbb = new Array(); bbb['av'] == 'boo b'; alert(aaa); alert(bbb['av']); displays: alert('boo a') then alert('undefined') I know this is something really basic, but why is it undefined when I've declared the array and given the element a value? see it in action: http://www.phpplaypen.co.uk/jso.php
  3. Thanks I had trouble before getting curvycorners to work on dynamically generated boxes, and still am, but I've got a simple version working, so I'll get there. Definitely solves the problem though.
  4. http://www.phpplaypen.co.uk/popup.php Rounded corners work in FF, but in IE7 or IE8 the background colour of #sbl_liner shows through #sbl_grey. Is there a way to stop that?
  5. On this page: http://www.vagabondipuppets.com/shows The back and forward arrows on the slideshow work as they should, and if you click on the slideshow, the back and forward arrows work OK on the pop up too. But if you click on a link on the right hand side to one of the shows, which reloads the slideshow, it starts to go wrong. Now clicking on a forward or back arrow will move forward or back twice. Clicking on the slideshow brings up the popup, then loads it twice. If you click on a link to a show again, after that it will do these actions three times, and so on. I thought it was to do with having the javascript function php2js in the slideshow, but removing that made no difference. Any ideas how to prevent this?
  6. Thanks, I'll try that I'm not sure that's the problem though, because I get the width error on the first image, which is loaded with the page, not the subsequent images loaded with JS And surely the first image should be fully loaded before $(document).ready calls any functions? I've got round it for now by making all the images the same size, but that does increase bandwidth and causes me unnecessary work...
  7. I have a div #rotator, containing a number of images. I am using this jQuery code to get the dimensions of the div and the first image: //get size of div this.div_width = $("#rotator ").width(); this.div_height = $("#rotator ").height(); //get size of image this.img_width = $("#rotator img:eq(0)").width(); this.img_height = $("#rotator img:eq(0)").height(); sometimes it works, sometimes the image dimensions come back completely wrong eg: 14 instead of 200 Any ideas why, and how to fix it?
  8. I've found an answer: setInterval does not work, it's already running before the AJAX so it carries on I used a callback after the AJAX function to run the same functions that run when the page is loaded seems to solve the problem
  9. Using jQuery and AJAX, I am filling a div ' #pic_frame ', by calling a js function 'picShow()' picShow first resizes and hides some images, then it calls a function 'append()' which appends some divs with overlay images, then it sets an Interval on a function 'slideshow()' On first loading the page this all works, but on reloading '#pic_frame' with AJAX, everything works except 'append()' I know .live is probably the answer, I just can't see how to use it I've tried: $("#pic_frame").live('load', function(){ append(); }); but no joy does anyone know how I get this to work? the thing that confuses me is why setInterval works, but not simply calling a function
  10. OK it's sorted now The email account I was using for notifications of cron jobs was getting full, and had started rejecting messages. The rejections were sent back to the server and stored in /mail/new/ Deleted old emails, deleted contents of /mail/new/, everyone's happy again
  11. I've more or less figured this out now The files are messages to ( and possibly from) the server relating to cron jobs. I think they may be all mail undelivered reports, but at the moment I'm still going through the oldest files, backing up and deleting them. When I get up to date I'll have more idea what's going on
  12. The domain and web hosting are with different companies, neither is Google. The domain nameserver entry points to the webhosting nameserver and all the DNS settings are on the webhosting server. The MX records point to aspmx.l.google.com, and I just checked that with mxtoolbox, a good tip. So what is 'Always Accept' for? And can I delete some of the older files if I back them up first?
  13. Hopefully this is the right to post this, sorry if I've put it in the wrong forum I am using google mail, so I thought I wouldn't have to worry about emails using up space. Now I've found the folder: /mail/new/ is taking up a lot of disk space. Also, looking at the MX entry in cPanel (version: 11.24.5-STABLE) the column 'Always accept' says 'yes' Am I right in assuming this means I am keeping a back up? And that it's safe to change this entry to 'no' And can I safely delete the contents of /mail/new/ ?
  14. I've sorted it: I moved position: relative from #sidebar_main p a to #sidebar_main p
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.