I am using cycle to display ads and messages on my website. Some of
the "slides" contain text with imbedded URL links and others are just
linked images.

However, when you click on the link it just continues to the next
slide. Is there a way to have the Cycle script allow embedded links
instead of just forwarding to the next slide?

Here's an example of my code:

<script type="text/javascript" src="Scripts/jquery-1.3.1.min.js"></
script>
<script type="text/javascript" src="Scripts/
jquery.cycle.all.pack.js"></script>
<script type="text/javascript">
   $(document).ready(
      function(){
         $('#s3')
        .after('<div id="nav">')
        .cycle({
           fx:     'fade',
           speed:   900,
           timeout: 10000,
           next:   '#s3',
           pager:  '#nav',
        });
   });

.
.
.

<div id="s3">
   <div>
      <img src="test.jpg">
   </div>
   <div>
      <a href="http://www.test.com";><img src="test2.jpg"></a>
   </div>
   <div>
      Hello!<BR>
      <a href="http://www.test.com";>Sample Stuff</a>
      <BR><BR>
      This is a place for upcoming Event and Special
Announcements.<BR>
   </div>
</div>

Reply via email to