Jump to content

flash banner issue


Recommended Posts

my script below

<div id="deptname"><div class="headertext"> </div></div>

<br clear=left></div>

<div id="baylor_header_blackbar"></div>

<div class="content_wrapper">

<div class="content_container">

<div class="frontpage_mainpic"><div id="shuffle" class="pics">

<!-- no_flash_apply -->

<img src="/lib/skins/asa/banner.png" border=0 alt="no_flash_apply" style="display:block;">

<!-- no_flash_built -->

<img src="http://alaskaairva.net/lib/skins/asa/header/4.png" border=0 alt="no_flash_built" style="display:none;">

<!-- asa1 -->

<img src="http://alaskaairva.net/lib/skins/asa/header/1.png" border=0 alt="asa1" style="display:none;">

<!-- asa3 -->

<img src="http://alaskaairva.net/lib/skins/asa/header/fltdeck.png" border=0 alt="asa3" style="display:none;">

<!-- asa2-->

<img src="http://alaskaairva.net/lib/skins/asa/header/asa737.png" border=0 alt="asa2" style="display:none;">

<!-- asa4 -->

<img src="http://alaskaairva.net/lib/skins/asa/header/737.png" border=0 alt="asa4" style="display:none;">

<!-- no_flash_sing -->

<img src="http://alaskaairva.net/lib/skins/asa/header/727.png" border=0 alt="no_flash_sing" style="display:none;">

<!-- no_flash_equipped -->

<img src="http://alaskaairva.net/lib/skins/asa/header/5.png" border=0 alt="no_flash_equipped" style="display:none;">

<!-- no_flash_can -->

<img src="http://alaskaairva.net/lib/skins/asa/header/3.png" border=0 alt="no_flash_can" style="display:none;">

<!-- no_flash_transformed -->

<img src="http://alaskaairva.net/lib/skins/asa/header/2.png" border=0 alt="no_flash_transformed" style="display:none;">

</div>

<script type="text/javascript" src="/content/includes/jquery-1.3.2.min.js"></script>

<script type="text/javascript" src="/content/includes/jquery.cycle.all.min.js"></script>

<script type="text/javascript" src="/content/includes/jquery.easing.1.1.1.js"></script>

<script type="text/javascript">

$(document).ready(function() {

$.fn.cycle.defaults.speed = 1;

$.fn.cycle.defaults.timeout = 8000;

$('#shuffle > img').show();

$('#shuffle').cycle({

fx: 'scrollLeft',

delay: -2000,

width: 664,

height: 240,

pause: 1

});

});

</script>

Link to comment
Share on other sites

<script type="text/javascript" src="/content/includes/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="/content/includes/jquery.cycle.all.min.js"></script>
<script type="text/javascript" src="/content/includes/jquery.easing.1.1.1.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$.fn.cycle.defaults.speed = 1;
$.fn.cycle.defaults.timeout = 8000;
$('#shuffle > img').show();
$('#shuffle').cycle({
fx: 'scrollLeft',
delay: -2000,
width: 664,
height: 240,
pause: 1
});
});
</script>

Put that code in the head section of your page. And it isn't a flash banner, it is a jquery banner. Also you need to put <?php echo SITE_URL?>/lib/skins/yourskin/content/includes/and the js file. The page wont find them the way you have it. That is why it is not working.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...