Rotative Banner

I would like to know how to add Bannerad in my website using JSP.
These banners that has the links in a database, shall appear randomly in accord with the priority that i set in the database and every banner,when cadastring it in the database, will have start date and expiration date.
Anyone can give me some sugestions??

Take a look at:
http://search.java.sun.com/search/java/index.jsp?col=javaforums&qp=%2Bforum%3A45&qt=banner&x=19&y=9
Andreas

Similar Messages

  • How to add fade element to rotating banner (javascript)

    Hi!  I'd like to add a fade element to a rotating banner.  Does anyone have any ideas?  My code is as follows:
    HTML:
    <div style="position:absolute; z-index:2;">
      <a href="linkPage.html"><img src="images/factoryhack2v3.jpg" width="1136" height="285" id="adBanner" border="0"/></a>   
    </div>
    Javascript:
    window.onload = initBannerLink;
    var adImages = new Array("images/img1.jpg","images/img2.jpg","images/img3.jpg");
    var adURL = new Array("URL here","URL here");
    var thisAd = 0;
    function rotate() {
    thisAd++;
    if (thisAd == adImages.length) {
      thisAd = 0;
    document.getElementById("adBanner").src = adImages[thisAd];
    setTimeout("rotate()", 3 * 3000);
    function newLocation() {
    document.location.href = "http://www." + adURL[thisAd];
    return false;
    function initBannerLink() {
    if (document.getElementById("adBanner").parentNode.tagName == "A") {
      document.getElementById("adBanner").parentNode.onclick = newLocation;
    rotate();
    Thanks so much in advance for any assistance

    Lots of different effects for rotating banners are built in to these jQuery plugins:
    Cycle2
    http://www.malsup.com/jquery/cycle2/
    Wow Slider
    http://wowslider.com/
    Nancy O.

  • How to create rotating banner ad?

    Hi,
    I am a complete and utter newbie when it comes to flash. I've bought Flash Professional CS5, and I am looking for a tutorial/help to create a rotating banner ad similar to the one on www.play.com.
    Example: I've got four different pictures I want to rotate within let's say 3-4 seconds per picture. Each of the picture needs its own link, so people can click to get to the correct place. I want the pictures to "fade out to the left" when changing) How do I do this? Is there a simple tutorial? I've heard "flash is so easy", but I am having a hard time to grasp around it.
    Anyone got any tips?

    Thank you, I will check that out. When you say my Action Script Version, I've noticed that I can go up to 3. Are there any recommendations for this? What do the action scripts do? What would you suggest for a slideshow?

  • Trying to use a Rotating Banner Script

    Hi All,
    I know that some of you are very well versed in iWeb '08 so I thought my question could be answered here.
    I would like to use a rotating banner script on each of the pages on my iWeb made website on the .mac server. I'm not sure how to do this. The script will rotate 5 pictures. When you load one of the pages a picture will appear on top of the page. When you reload the page, you'll see a different picture.
    What I need to know in order to accomplish this rotation is: 1) Where do I upload the pictures to be used 2)what will the link to the pictures be that I need to insert into the script and 3) How do I get the script onto my webpage?
    Thanks in advance for the help

    Hi iwr,
    I used a little application to make some banners because I cannot (or don't want to) learn code and you can see it here
    http://www.mireillegreen.com/Frenchresources/French_ResourcesMain.html
    the site is far from finished so there are many dead links but the banners work. what the app does is upload the banner on my .mac then I paste the code in the snippet. and the snippet looks for the banner. So if I guess right the important is that you place the banner where you tell your page to look for it regardless of where you place it. If you want to try this app (it's free to try) you can find it here, then you can see how it handles the upload.
    http://www.aquafadas.com/bannerzest/
    Good luck
    Mireille

  • Promoted links with Image Carousel (Rotating Banner)

    Hi,
     I am using promoted links webpart. I want to have cycle of images. For eg: I have 10 images . With the slider , I can go to next image horizontally.  Once I reach the 10th image,there won't be any next option. I want to display the 1st image after
    the 10th. Means, the sliding should be never ending. How can I achieve this. I think I can use javascript to override the default promoted links functionality. Please suggest on how to do this. Thank you

    Hi,
    According to your post, my understanding is that you want to achieve rotating banner for promoted links web part.
    With JavaScript, it will be easier to implement such a web part.
    Here are two links with code demos for your reference:
    http://www.codeproject.com/Articles/667584/Image-Rotator-in-JavaScript
    http://jsfiddle.net/jtbowden/UNZR5/1/
    You can also take use of these jQuery image plugins in your project:
    http://www.jssor.com/index.html
    http://www.webdesignerdepot.com/2011/08/25-jquery-image-galleries-and-slideshow-plugins/
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Can someone please help clean up my rotating banner file?

    Hello everyone!
    I'm trying to make a rotating banner with buttons on it (check the uploaded FLA... I had to set the extension to *.zip to get it uploaded, so once you DL it, change it to .FLA). It sorta does what I want it to do right now, but my code is really... REALLY awful. The only thing I can say about my code is that the functionality is close to what I'm looking for.
    Basically, this is what I want it to do:
    1) banner consists of 3 different banners that rotate out with an animation in a continuous loop.
    2) little buttons in the lower right hand side will whisk you to the appropriate banner, but will NOT be clickable on its specific banner.
    3) rolling over the main banner img or the button will also pause the movie
    4) clicking on the main banner img will send you to a URL
    I have a very hard time finding a way to be able to call a function over and over again without remaking the function and renaming it. If you have some time, please take a look at the FLA and pass me some pointers. I am using Flash CS3 if that matters. Thanks all!
    Regards,
    Paul

    all of us that have checked your message, so far, have passed it by.
    i'm not sure why the others have but i know i'm here to help other people.  not to do their work for them.  i suspect others feel about the same.
    there's a way to ask for help and maximize your chances for receiving help:  post only the relevant information related to one problem along with the relevant code (if it's a code related issue).
    and there's a way to minimize your chances for receiving help:  post a list of several things you want done and ask someone to do it for you.

  • Create A Rotator Banner in DW?

    Hey, I have Dreamweaver MX and I was wondering if it was
    possible to create a banner of rotating images. I just want a
    series of 5 images to rotate on a loop. I’d like to be able
    to fade up/down, but that’s not really necessary.
    Thanks! :)

    http://www.kaosweaver.com/extensions/details.php?id=85
    will rotate when page is refreshed etc. it is free but paul
    accepts
    donations
    k

  • XML Driven rotating banner ad question

    Hi everyone i a very ametur flash designer,
    At the moment i am trying to make a flash banner that rotates banners out randomly and also when the guest sees the a banner they are intrested in they can click on it and it will take them to the respective link. I followed some tutorials out there on how to use xml and flash together and came up with this for my flash code:
    // set random # variables - each must be 0 for first 'while' loop below
    var randomNum = 0;
    var randomNumLast = 0;
    // parent container
    var container_mc = this.createEmptyMovieClip("container",0);
    // movie clip containers
    container_mc.createEmptyMovieClip("loader1_mc",2);
    container_mc.createEmptyMovieClip("loader2_mc",1);
    // preload watcher
    this.createEmptyMovieClip("watcher_mc",100);
    // load xml
    images_xml = new XML();
    images_xml.ignoreWhite=true;
    images_xml.onLoad = parse;
    images_xml.load("images.xml");
    function parse(success) {
        if (success) {
            imageArray = new Array();
            var root = this.firstChild;
            _global.numPause = Number(this.firstChild.attributes.timer * 1000);
            _global.order = this.firstChild.attributes.order;
            _global.looping = this.firstChild.attributes.looping;
            _global.fadetime = Number(this.firstChild.attributes.fadetime);
            _global.xpos = Number(this.firstChild.attributes.xpos);
            _global.ypos = Number(this.firstChild.attributes.ypos);
            var imageNode = root.lastChild;
            var s=0;
            while (imageNode.nodeName != null) {
                imageData = new Object;
                imageData.path = imageNode.attributes.path;
                imageArray[s]=imageData;
                imageNode = imageNode.previousSibling;
                s++;
            // place parent container
            container_mc._x = _global.xpos;
            container_mc._y = _global.ypos;
            // parse array
            imageArray.reverse();
            imageGen(imageArray);
        } else {
            trace('problem');
    // depth swapping
    function swapPlace(clip,num) {
        eval(clip).swapDepths(eval("container_mc.loader"+num+"_mc"));
    function loadImages(data,num) {
        if (i==undefined || i == 2) {
            i=2;
            createLoader(i,data,num);
            i=1;
        } else if (i==1) {
            createLoader(i,data,num);
            i=2;
    function createLoader(i,data,num) {
        thisLoader=eval("container_mc.loader"+i+"_mc");
        thisLoader._alpha=0;
        thisLoader.loadMovie(data[num].path);
        watcher_mc.onEnterFrame=function () {
            var picLoaded = thisLoader.getBytesLoaded();
            var picBytes = thisLoader.getBytesTotal();
            if (isNaN(picBytes) || picBytes < 4) {
                return;
            if (picLoaded / picBytes >= 1) {
                swapPlace("container_mc.loader2_mc",1);
                alphaTween = new mx.transitions.Tween(thisLoader, "_alpha", mx.transitions.easing.Regular.easeOut,0,100,_global.fadetime,true);
                timerInterval = setInterval(imageGen,_global.numPause,data);
                delete this.onEnterFrame;
    function imageGen(data) {
        // random, or sequential?
        if (_global.order=="random") {
            // choose random # between 0 and total number of images
            while (randomNum == randomNumLast) {
                randomNum = Math.floor(Math.random() * data.length);
                trace(randomNum);
            loadImages(data,randomNum);
            randomNumLast = randomNum;
        } else if (_global.order=="sequential") {
            // start at 0, increment to total number of images, then drop back to zero when done
            if (p==undefined || p==data.length && _global.looping=="yes") { p=0; } else { break; }
            loadImages(data,p);
            p++;
        } else {
            trace ("order attribute in xml isn't correct - must specify either 'random' or 'sequential'");
        clearInterval(timerInterval);
    stop();
    XML:
    <gallery timer="5" order="random" fadetime="2" looping="yes" xpos="0" ypos="0">
    <image path="images/12_02.png" />
    <image path="images/600x300callawway_kodak.jpg" />
    <image path="images/BurnerBucksTemplate_600x300.jpg" />
    <image path="images/DEI-594-X-250-copy.png" />
    <image path="images/Wilson_DFY_600X300.jpg" />
    <image path="images/sky_golf.jpg" />
    </gallery>
    Now everything works right so far, my question is how would i make the banners/images into links so when the banner is clicked i can add a link to it so they are taken to that product.

    That code does not go on the button like you would do with on(release) code.  That code will go with the rest of the code you showed.  You will assign an instance name to that button... if you use the code I showed, that instance name will be "btn"--you assign it by selecting the button on the stage and entering it into the Properties panel where it says <Instance Name>.  You will also declare the urlVAriable where that code is...
    var urlVariable:String;
    As for the xml end of things, I will leave you to solve with a little help.  Look at the parse function and try to see how the current xml information is captured and later utilized.   You will essentially create another parameter in each xml node to go with the current "path" parameter.  You can call it "link" or something like that, and it will contain the url that clicking the button will lead to.
    <gallery timer="5" order="random" fadetime="2" looping="yes" xpos="0" ypos="0">
    <image path="images/12_02.png" link="http://www.somesite.com" />
    <image path="....
    </gallery>
    When you parse the xml you will add the link value as another property of the imageData object that you create.
            while (imageNode.nodeName != null) {
                imageData = new Object;
                imageData.path = imageNode.attributes.path;
                imageData.link = imageNode.attributes.link;
                imageArray[s]=imageData;
                imageNode = imageNode.previousSibling;
                s++;
    The rest I will leave for you to sink your teeth into... you need to dig into the code that is used to present the banners and see where assigning the value of the link to the urlVariable needs to happen.

  • Need Help with Rotating Banner ad(please help)

    I am currently working on a flash project that rotates banners out auto and with button control, got the buttons to work just cant figure out how to get it  auto play throgh my bannersThis is the code i have for my project I am working on:
    My Projects has 3 layers:
    ( layer3)Actions:(coded on first frame)     Movieclip.prototype.elasticMove =  function(target, accel, convert) {
         step = step * accel + (target - this._x) * convert;
         this._x += step;
    (layer 2) My movie clip(it is one long strip that has all the banners in a row)(coded on first frame):nClipEvent  (enterFrame) {
                                         elasticMove(_root.newX, 0.5, 0.3)
    onClipEvent(load){
    _root.newX= 1200;
    (layer1)(my buttons)(only code for one button all are the same code except the actual position they call):on(release){
    _root.newX=1200;
    Let me know if i need to be a little more clear or you want a snap shot of my work, Another individual suggested that I use this code in the action layer:
    var newXA:Array=[0,600,1200,1800];
    var index:Number=1;
    setInterval(newXF,9000);
    function newXF(){
    _root.newX = newXA[index%newXA.length];
    It seems to work in the sense after a little bit it does change the banner auto and after you stayed on a banner for a while, but it always changes to the same banner.
    PLEASE HELP SOMEONE!!!!!!

    Incognito mode is a Google Chrome setting when you open a new window (Cmd+Shift+N on a Mac Ctrl+Shift+N on Windows) It opens a "private" window with no cookies and no tracking. The problem with it is that when you disable cookies, your license files are not sent to the site (whetehr it's YouTube or xFinity or any other that uses license files for paid content)  and it treats you as if you're a first time visitor. Paid videos won't play wihtout the cookies sending the license file info.
    This isn't a Flash Player setting. It's in Chrome. I did some research and according to Google, "Incignito" mode is off by default, and can ONLY be activate by the keyboard shortcut. There IS a way to disable it from the registry http://dev.chromium.org/administrators/policy-list-3#IncognitoModeAvailability

  • Creating Rotating Banner HELP NEEDED PLEASE

    * Best software to create a rotating JAVA banner with *
    Hi
    Sorry if I am asking a really silly question. I've spent about an hour surfing the web for a clear answer but haven't come up with anything.
    I am having a W3C compliant website built and I need to create a JAVA/AJAX based image similar to how this works: [Gerrard Investments|http://www.gerrard.com/homepage.htm] but I don't have a clue where to start.
    What programme do I use to create something like that?_ Preferably I's like to use a freeware application, otherwise I have Photoshop, Fireworks, Dreamweaver, Frontpage should any of those do it. I'd really really appreciate any advice. Thanks for taking the time to read this. Regards.
    Edited by: Not4u2Touch on Jun 5, 2008 6:56 AM
    Edited by: Not4u2Touch on Jun 5, 2008 6:56 AM

    Not4u2Touch wrote:
    I am having a W3C compliant website built and I need to create a JAVA/AJAX based image similar to how this works: http://www.gerrard.com/homepage.htm but I don't have a clue where to start.
    You're throwing out words, but you don't seem to know what they mean.
    What programme do I use to create something like that?_ Preferably I's like to use a freeware application, otherwise I have Photoshop, Fireworks, Dreamweaver, Frontpage should any of those do it. I'd really really appreciate any advice. Thanks for taking the time to read this. Regards.That page used Flash. Anything wrong with that?

  • What is the best Adobe App for building a rotating banner ad for a Muse site?

    I am inclined to build the banner ad slideshow in Flash, but I want iPad and iPhone users running iOS to be able to see it. What Adobe Application should I use? Thanks

    One option can be using Photoshop to create an animated .gif that you can place in your Muse site.
    Thanks,
    Vinayak

  • How to add fade to a rotating banner?

    I want to have a fade effect in between different images, but I don't know how to incorporate it. Could somebody modify this code or tell me how to modify this code so that it will fade in between images? Thank you very much.
    Code

    With jQuery Cycle, you can apply various transitions (including fadeIn) to your images.
    http://jquery.malsup.com/cycle/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Banner (rotative)...ANY HELP WILL BE REWARDED!!!!

    Hello you guys,
    I’m working on the development of a rotative banner, for someone that doesn’t know what it is…is a banner (in several web pages you can find one) that change the image present in it once on a while (every certain time), and each one of those image represent a point of entry for accessing to an specific place…in almost all of the cases, different web pages… in my case a specific portal’s role, user profile. The images that I want to present in the banner are store in the km repository. I found a solution that serves me well for my purpose, but I need to find another solution for achieve my goal and now I going to explain why:
    I’m using a JSPDynpage PAR, as a parameters of this *.PAR , I get the all the paths where the images are physically store on the server, the names of those images and the paths of the roles (in the PCD) associated to each one of those image. In the before output method, I get the complete path where the image is store, and put it (render it) on my iview, then is executed a wait method and finally with the SUBMIT method, I send again the information (some variables that I need to change the image in the banner) to the browser and that result in the continuing refresh (request – response cycle) of my browser. Its important to know that only the iview’s *.PAR is refreshing when the submit method is execute, not all the page. Know, like I said before all works fine, but the problem is that I want to do this but I don’t want that my browser refresh every certain time…so the question is: is there another way to do this using EPCM API and avoiding the use of the submit method (no refresh the browser)?
    Here is the source code if someone need to look it for give me some answers. Any help will be rewarded. Thanx a lot!!!
    <%@ page pageEncoding="ISO-8859-1"%>
    <%@ page import="java.util.List"%>
    <%@ taglib uri="tagLib" prefix="hbj" %>
    <%@ page language="java" %>
    <%
         String RefreshTime = (String) componentRequest.getValue("RefreshTime");
         String imgURL = (String) componentRequest.getValue("imgURL");
         String name = (String) componentRequest.getValue("name");
         String URL = (String) componentRequest.getValue("URL");
    %>
    <hbj:content id="myContext" >
      <hbj:page title="PageTitle">
       <hbj:form id="myFormId" >
             <hbj:inputField
               id="InputName"
               type="string"
               maxlength="100"
               visible = "FALSE"
               value="<%=name%>"/>
             <hbj:inputField
               id="InputURL"
               type="string"
               maxlength="100"
               visible = "FALSE"
               value="<%=URL%>"/>
    <hbj:gridLayout
              id="myGridLayout1"
              debugMode="FALSE"
              width="100%"
              cellSpacing="5">     
                   <hbj:gridLayoutCell
                 rowIndex="1"
                 columnIndex="1"
                 width="100%"
                 horizontalAlignment="CENTER">
                            <hbj:link
                           id="link1"
                       text=""         
                       target="_TOP">
                           <hbj:image                
                            src="<%=imgURL%>"
                            alt="Banners"/>
                        <% link1.setOnClientClick("javascript:EPCM.doNavigate('"URL"')"); %>
                      </hbj:link> 
          </hbj:gridLayoutCell>
    </hbj:gridLayout>
       </hbj:form>
      </hbj:page>
    </hbj:content>
    <SCRIPT LANGUAGE="JavaScript">
    var tid = window.setTimeout("changeMessage()",<%=RefreshTime%>000);
    function changeMessage(){
         var myFormId = document.getElementById(htmlb_formid);
         myFormId.submit();
    function stopMessageBanner(){
         if (typeof tid != "undefined"){
              clearTimeout(tid);
    </SCRIPT>
    Anexo la clase java
    import com.sapportals.htmlb.Image;
    import com.sapportals.htmlb.InputField;
    import com.sapportals.htmlb.Link;
    import com.sapportals.htmlb.page.DynPage;
    import com.sapportals.htmlb.page.PageException;
    import com.sapportals.portal.htmlb.page.JSPDynPage;
    import com.sapportals.portal.htmlb.page.PageProcessorComponent;
    import com.sapportals.portal.prt.component.IPortalComponentProfile;
    import com.sapportals.portal.prt.component.IPortalComponentRequest;
    import com.sapportals.portal.prt.component.IPortalComponentURI;
    public class ZbannersRotatives extends PageProcessorComponent {
      public DynPage getPage(){
        return new ZbannersRotativesDynPage();
      public static class ZbannersRotativesDynPage extends JSPDynPage{
         private IPortalComponentRequest request;
         private IPortalComponentProfile profile;
         private String RefreshTime ="";
         private String path = "";
         private String name1 = "";
         private String name2 = "";
         private String name3 = "";
         private String url1 = "";
         private String url2 = "";
         private String url3 = "";
         private String name = "";
         private String URL = "";
        public void doInitialization(){
              request = (IPortalComponentRequest) this.getRequest();                         
              profile = request.getComponentContext().getProfile();     
              RefreshTime = profile.getProperty("RefreshTime");
              path = profile.getProperty("path");
              name3 = profile.getProperty("name3");
              url3 = profile.getProperty("url3");
             name = name3;
             URL  = url3;
        public void doProcessAfterInput() throws PageException {
              request = (IPortalComponentRequest) getRequest();
              profile = request.getComponentContext().getProfile();     
              path = profile.getProperty("path");
              name1 = profile.getProperty("name1");
              name2 = profile.getProperty("name2");
              name3 = profile.getProperty("name3");
              url1 = profile.getProperty("url1");
              url2 = profile.getProperty("url2");
              url3 = profile.getProperty("url3");
              InputField currentInputName = (InputField) this.getComponentByName("InputName");
              InputField currentInputURL = (InputField) this.getComponentByName("InputURL");
              String name_var = "";
              String url_var = "" ;
              if (currentInputName != null) {
              name_var = currentInputName.getString().getValue();                    
              url_var = currentInputURL.getString().getValue();
              if(name_var.equals(name3))
                   name = name1;
                   URL  = url1;
              if(name_var.equals(name1))
                   name = name2;
                   URL  = url2;
              if(name_var.equals(name2))
                   name = name3;
                   URL  = url3;
        public void doProcessBeforeOutput() throws PageException {
              request = (IPortalComponentRequest) this.getRequest();                         
              profile = request.getComponentContext().getProfile();     
              RefreshTime = profile.getProperty("RefreshTime");
              IPortalComponentURI componentURI = request.createPortalComponentURI();                         
              componentURI.setContextName("com.sap.km.cm.docs");
              String docsURI = componentURI.toString();
              String imgURL = docsURI + path + "/" + name;     
              Link linkBanner = new Link("lnkBanner");
              linkBanner.setTarget("_blank");
              linkBanner.setOnClientClick("javascript:EPCM.doNavigate('"URL"')");
                   Image oImgBanner = new Image(name,"Banner");
                   oImgBanner.setTooltip("Ayuda");
              linkBanner.addComponent(oImgBanner);
              request.putValue("linkBanner",linkBanner);                              
              request.putValue("name",name);                              
              request.putValue("URL",URL);
              request.putValue("imgURL",imgURL);
              request.putValue("RefreshTime",RefreshTime); 
              this.setJspName("ZbannersRotatives.jsp");

    Hi,
    there is a possibility to make a request to the server without refresh. You can use the XMLHttpRequest object.
    1. create an AbstractPortalComponent component, that will return the desired output into the response (image with link). Let's call this component DataComponent.
    2. create a component, that will output a DIV object with ID for example "myDivId" and a Javascript, that will periodically call a JS function (some JS <i>setTimeout(JsFunctionToCall(), waitTimeInMiliseconds)</i>). In this function you will create a XMLHttpRequest object (different for Mozilla and MSIE):
    var xmlhttp = null;
    // not MSIE
    if (window.XMLHttpRequest)
      xmlhttp=new XMLHttpRequest();
    //  MSIE
    else if (window.ActiveXObject)
      xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
    now prepare the JS function that handles the output (takes the output from XMLHttpRequest object and puts it as is into the DIV contents):
    xmlhttp.onreadystatechange = function() {stateXMLDocChanged();}
    then set up (dataURL is the URL to DataComponent):
    xmlhttp.open("POST",dataUrl,true);
    ...and get the data:
    if (window.XMLHttpRequest)
      xmlhttp.send(null);
    else
      xmlhttp.send();
    Now create the function that fetches the data and puts it into the DIV contents (get the DIV object with id 'myDivId' == myDiv)
    stateXMLDocChanged(){
      myDiv.innerHTML=g_xmlhttp.responseText;
    This is just a draft of a possible solution. You can see the concept working in our "EFP portal" <a href="http://www.szif.cz">www.szif.cz</a> (there is only one HTML for the output - no frames, no IFrames, but the 'iviews' are refreshed only 'locally').
    Hope this helps you a bit,
    Romano
    PS: and yes, <a href="http://www.szif.cz">www.szif.cz</a> is a real SAP Portal

  • Banner rotating with audio

    Hello,
    Could any one tell me how can I rotate banners with audio for every 10 seconds. Source code will be helpful.
    Thanks

    <div id="whiskey" style="position:absolute; width:475px;
    height:60px;
    z-index:3; left: 351px; top: 486px; visibility: hidden;">
    <div align="center"><img
    src="images/sponsors/whiskey.gif" width="475"
    height="60"></div>
    </div></td>
    <td width="73%"
    This layer "whiskey" is in a table cell (see the closing
    </td> tag
    immediately after the closing </div> tag for the
    layer). That's a nono.
    Please read this about how to work with layers -
    http://www.thepattysite.com/layer_laws.cfm
    Anyhow, the simplest fix for you would be the following.
    Change this -
    <div id="whiskey"
    to this -
    <div style="position:relative"><div id="whiskey"
    and this -
    </div></td>
    <td width="73%"
    to this -
    </div></div></td>
    <td width="73%"
    and see what happens.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "sneedell" <[email protected]> wrote in
    message
    news:e3fvbj$1gh$[email protected]..
    >I just created a rotating banner with layers and like the
    guy earlier that
    >was
    > having problems when you resize the window i am having
    the same problem.
    > Wondering if i could ask nicely for some help?
    > Here is a link to my homepage where the banner will
    reside so you can look
    > at
    > the code
    >
    http://www.wchacutting.com
    > any help would be greatly appreciated!
    >

  • How to get flash banner to play back on iphone

    Hello,
    I have website (basic) that i created with a flash rotating banner. Banner works fine on all computers but won't play on iphone. I'm aware that there are limitations at this point with flash and iphones. How are webdesigners creating rotating banners and the like that play on iphones? Can this be done in flash cs3? thanks, Owen

    Well you are on your way to success then, GOOD JOB!!
    Here's the simple, easy way to get this going:
    Download swfobject ver 1.5 here (my site):
    http://www.cidigitalmedia.com/swfobject.js
    Let's just put all your Flash files in the the same folder to simplifly things during testing... later you can move them to any folder you want, just remember that the paths to those files then need to be changed to be relative to the Web page that your .swf file is on, not the physical location of the actual file.
    Practice in a brand new html Web page......copy and paste this into the code view, or copy and paste into NotePad and save as file type .html
    Be sure to put the swfobject file, the Flash .swf file, the .mov file and this html file all in the same folder during testing.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <script type="text/javascript" src="swfobject_off.js"></script>
    <title>Flash on the iPhone</title>
    </head>
    <body>
    <div id="flash">
    <p>This this the .mov version and not the Flash version</p>
       <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="256" width="320">
        <param name="src" value="sample_iTunes.mov">
        <param name="autoplay" value="true">
        <param name="type" value="video/quicktime" height="256" width="320">
        <param name="wmode" value="transparent"/>
        <embed src="sample_iTunes.mov" height="256" width="320" autoplay="true" type="video/quicktime" wmode="transparent" pluginspage="http://www.apple.com/quicktime/download/">
        </embed>
       </object>
       <script type="text/javascript">
      // <![CDATA[
      var so = new SWFObject("sample_iTunes.swf", "sample_iTunes", "320", "240", "8", "#ffffff");
      so.addParam("wmode", "transparent");
      so.write("flash"); 
      // ]]>
      </script>
       </div>
    </body>
    </html>
    Edit to match your .swf and .mov file names and change dimensions to suit.
    I've purposely "turned off" swfobject by giving it an in-correct file name "swfobject_off.js"... so initially it will NOT work..result is you will see your "alternate content", the .mov.
    Once you can confirm that your alt content is working, edit the swfobject file name to "swfobject.js", removing the _off part.
    Now your browser will find that file.. swfobject will try detect the Flash plugin, if it finds it, it will
    so.write("flash"); 
    rewrite the div id=flash with the Flash content and violla... you'll have your Flash banner and iPhone users will have theirs!
    The best of both worlds!
    Best of luck!
    Adninjastrator

Maybe you are looking for

  • Officejet 4622, new printer today. black does not seem to work at all but all the colors do.

    I print a test page through diagnostic tool and black square is blank. I cannot tell if the alignment prints properly as I have no example of what it should look like to ensure it is correct since the alignment fails to detect the alignment page. Sca

  • Illustrator CC crashes on opening or creating a file

    Out of the blue Illustrator CC has decided to crash immediately on trying to open or create a file. I am on a 64 bit windows 7 machine.

  • How to install iWork on MacBook Air

    Hi, It would be appreciated if anybody can help me to install iWork to MacBook Air. I have another laptop with Windows 7 and problem finding DVD or CD Sharing on control panel. I believe iWork would provide the office tools like Word, Excel and Power

  • Keyboard macro app

    I need an app that will do autotext for me. Like for example lets say I want a signature for posting on this board. I could create one, and then type in the word signature and the text would show. MS Word has such abilities but I need something for t

  • Could not load application module Error

    Hi Gurus, I am getting following error. This error occurs when I do getOADBTransaction in AM. If I comment out this code, it works fine. What is InvalidOwnerException? this is what raised inside..Please help oracle.apps.fnd.framework.OAException: Cou