[jQuery] Re: Newbie--can't get cycle plugin to work with anchor

2009-04-09 Thread yulucyhan2008

Um, it still doesn't work--the cycle stops as soon as I add after:
onAfter, though the link for the picture.

I don't have a test website--like I said, I'm a newbie to this stuff,
so I'm not really sure how it all works.  Do you mind if I send you a
zip file of the website via e-mail?

On Apr 5, 1:12 pm, Mike Alsup mal...@gmail.com wrote:
  There's a lot more to the code (of course), but I selected what I
  thought was necessary--if you want, I could put my whole entire
  website into a zip file and send it to you.

 You should give the anchors a 'block' display style:

 #slideshow a { display: block }

 If that doesn't work then please post a link to your website.

 Mike


[jQuery] Re: Newbie--can't get cycle plugin to work with anchor

2009-04-05 Thread yulucyhan2008

Um, anyone . . . ?  I kinda need help asap.

On Apr 1, 8:41 pm, yulucyhan2008 yulucyhan2...@yahoo.com wrote:
 Hi!  I'm really new to web building in general, so I'm guessing that
 this is a really newbie question, but I can't get thecycleplugin to
 work withanchor.  I followed the example given 
 fromhttp://www.malsup.com/jquery/cycle/anchor.html, but the anchors just
 won't work--the images stop cycling right after I put the code in,
 actually.  I've googled everywhere to try to solve my problem, and I
 searched through this discussion site, too, but nothing helped me.
 So, I decided to join this group and post this . . .

 This is my code:

 HTML:

 div id=content

         div id=slideshow
                 a href=http://www.google.com;img 
 src=images/content/pic01.jpg
 border=0 //a
                 a href=#img src=images/content/pic02.jpg border=0 
 //a
                 a href=#img src=images/content/pic05.jpg border=0 
 //a
                 a href=#img src=images/content/pic06.jpg border=0 
 //a
         /div

 /div

 CSS:

         #slideshow {
                 margin: 0;
                 padding: 0;
                 width: 543px;
                 height: 377px;
                 overflow: hidden;
                 z-index: -1;
         }

 Javascript/JQuery:

 script type=text/javascript src=jquery-1[1].3.2.js/script
 script type=text/javascript src=jquery.cycle.all.js/script
 script type=text/javascript

                 $(document).ready(function(){

                         $('div#main div#content div#slideshow').cycle({
                                 fx: 'fade',
                                 after: onAfter
                         });

                 });

 /script

 There's a lot more to the code (of course), but I selected what I
 thought was necessary--if you want, I could put my whole entire
 website into a zip file and send it to you.

 So . . . yeah.  Help, please!


[jQuery] Re: Newbie--can't get cycle plugin to work with anchor

2009-04-05 Thread Mike Alsup


 There's a lot more to the code (of course), but I selected what I
 thought was necessary--if you want, I could put my whole entire
 website into a zip file and send it to you.

You should give the anchors a 'block' display style:

#slideshow a { display: block }

If that doesn't work then please post a link to your website.

Mike