Jump to content
Larry Ullman's Book Forums

rubyred

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About rubyred

  • Rank
    Newbie
  1. Thanks HartleySan. I'll look into your suggestions.
  2. No errors, thanks. I think I'll just do a different setup.
  3. Thanks, I'm not surprised (sigh). Fixed that but it doesn't change anything.
  4. I've been trying to get this for a while (includes jQuery) and somehow nothing seems to work. The image gallery works fine but won't display title. $(document).ready(function() { var pics=[]; for (var x=0; x<preLoadPics.lenght;x++) { pics[x]=new Image(); pics[x].src=preLoadPics[x]; } var newPix=new Image(); newPix.src=preLoadPics[0]; $('#thumbPix a').click(function(evt){ evt.preventDefault(); var pixFile=$(this).attr('src'); var pixLink=$(this).attr('href'); var pixTitle=$(this).attr('title'); var oldPix=$('#pix img'); var newPix=$('<img src="'+pixLink+'">'); if(pixLink==oldPix
×
×
  • Create New...