On Nov 23, 11:50 am, mygoggie <mygog...@purplescroll.com> wrote:
> I think you need to use commas instead of spaces to multi select HTML
> elements - referhttp://api.jquery.com/multiple-selector/
>
> Therefore
> /$("ul.portfolio li a").fancybox({
>
> /should in fact read
>
> /$("ul.portfolio,li,a").fancybox({/
@gavin
actually your script
$("ul.portfolio li a").fancybox({ ....
is affecting both, your iamges and your video links
IE is less tolerant than other browsers and gets confused what script
it should use
I guess your best bet is to assign a specific class to each <a> tag
within your ul.portfolio
so instead of
<ul><li><a href="img1.jpg" ...
use
<ul><li><a class="fancyimage" href="img1.jpg" ...
and change your script
$("ul.portfolio li a").fancybox({ ....
by
$("a.fancyimage").fancybox({ ....
so you will be separating what script affects to images and what
others to vimeo or youtube