Dynamically Calling Background Image instead of standard setting

Hi all,
There is a requirement that, based on some condition I have to display shaded background image, say 'zimage1' .so as a result it should print in all pages. If condition fails, we have to display other image, say 'zimage2' in background. If both fails, no need to display background image.
If any body knew the solution please assist me in this regards.
Thanks & Regards,
Nagesh.

Do any one knew how to set Dynamic Background (Watermark) Image instead of going for the standard setting in Page. (by selecting BACKGROUND PictureTab).
I want to pass a variable kind of information to the following fields during runtime.
ie.,
Path: Page->Background Picture.
Name: <Variable image name>
Object: GRAPHICS
ID: BMAP
and other properties like Ouput Mode, Position..etc.
That image should come at backgroudn for all the pages.
Hope, you have understood the issue here.
Please do update me with relevnat ideas, if any.
Thanks & Regards,
Nagesh.

Similar Messages

  • Background image instead of color for each sliding panel

    I'm working with sliding panels and trying to add some style to the page.  I have figured out how to put a different background color on each slide and even how to put a background image on the whole thing, but  I cannot figure out how to use multiple images (one for each pannel). When I put the images in place of the colors it works fine in the Dreamweaver screen but totally disapears in a web browser.  Here is the url:    http://www.centerofdiscovery.com/the_center_of_discovery_home_page.html
    any help would be great!

    Regarding getting the tabs to sit on top of the content panel, speaking generally here, make the containing div for both the tabs and the content panel to have a margin: 0 auto; setting.This is for horizontal alignment.
    The blue rectangle can be belayed by setting border: none; on the specific rule that applies to the "a" links within that container. It is an indication that there is a link there.
    Please rename the images that have word-spaces in their file names. Some browsers react badly to word-spaces.
    I see that you have
    <p>
      </p><div class="slidingpanelandtab">
        <blockquote>
          <p><a onclick="sp1.showPanel(0); return false;" href="#"><img width="144" height="70" class="oneColFixCtrHdr" src="Images/panneltab.jpg"/></a><a onclick="sp1.showPanel(1); return false;" href="#"><img width="144" height="70" src="Images/panneltabb.jpg"/></a><a onclick="sp1.showPanel(2); return false;" href="#"><img width="144" height="70" src="Images/panneltaba.jpg"/></a><a onclick="sp1.showPanel(3); return false;" href="#"><img width="144" height="70" src="Images/panneltabc.jpg"/></a></p>
        </blockquote>
    Which sets off your "slidingpanelandtab" class div with an empty paragraph space <p></p> and then sets off the next section not only with <p></p> paragraph spacing but also with a <blockquote></blockquote>, which will by all rights indent that element.
    I suggest that you get rid of the spurious paragraph tags and the blockquote; that should tighten up your spacing.
    Beth

  • Background image instead of color

    Hi, I have a Flex 4 application with this code:
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx"               
                   backgroundColor="#000000"
                   applicationComplete="appComp()"
                   width="1600" height="900"
    public function appComp():void{
        stage.scaleMode = StageScaleMode.SHOW_ALL;
        stage.align = StageAlign.TOP;
        //stage.align = StageAlign.LEFT;
    NOTE: In the index.template.html I have change all width and heights from the default "${width}" and "${height}" to "100%"
    The documentation says of SHOW_ALL : "Borders can appear on two sides of the application."
    I can change the color of these borders with backgroundColor in Application tag, but....   How can I put an image (or swf) instead of these Borders?
    THANKS.
    Raúl.

    Hi There,
    In my knowledge, there are two ways to do that.
    1) Create a skin for your application(I guess this option is only for advanced users) and choose the background colour there
    2) A trick which I found is take a border container and use a background image for this border container.
    e.g.:-
    <s:BorderContainer
      width="100%" height="100%" x="0" y="2" backgroundImage="@Embed(source='assets/images/nameofimage.jpg')">
    //other components
    </s:BorderContainer>
    Hope, it helped>>>>

  • Behavior for calling static image instead of swf?

    On our webpage we currently have a flash image running. We
    also use a Dreamweaver behavior that takes a user without the Flash
    Player installed to a separate page that has a static jpg image
    instead of the Flash image.
    Is there a script, behavior or method available that would
    call the static jpg image instead of the Flash image for non-Flash
    Player users without sending the user to a separate page?
    Thanks.

    You can add an image tag inside the object tag. Just make
    sure the image tag is the last line before the closing tag of the
    object here is an example

  • Dynamically adjust background image?

    Alright, here's one i think is a challenge:
    I have a background image loaded in a div via css. I use this
    div and background across multiple pages. Some pages have more info
    than others. Is there a way to dynamically scale the div AND the
    background? I know I can do the div, but it cuts the background. I
    want to be able to adjust both the background image and the div
    according to how many lines are in the page.

    Bleh....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Nancy O" <[email protected]> wrote in message
    news:g0t6tl$kdt$[email protected]..
    > Without seeing your site, I'm guessing you are trying to
    "fit" content
    > precisely over a large, absolutely positioned background
    image or
    > photograph. Am I right?
    >
    >
    http://alt-web.com/Backgrounds.shtml
    >
    >
    > --Nancy O.
    > Alt-Web Design & Publishing
    > www.alt-web.com
    >
    >
    >
    >
    > "Mack879w" <[email protected]> wrote in
    message
    > news:g0t2k6$ga7$[email protected]..
    >> Alright, here's one i think is a challenge:
    >>
    >> I have a background image loaded in a div via css. I
    use this div and
    >> background across multiple pages. Some pages have
    more info than others.
    > Is
    >> there a way to dynamically scale the div AND the
    background? I know I
    >> can
    > do
    >> the div, but it cuts the background. I want to be
    able to adjust both
    >> the
    >> background image and the div according to how many
    lines are in the page.
    >>
    >
    >

  • Dynamically swap background image with mouseover

    Hello, I need some help with this menu file. My inspiration was a post of Resdesign.
    I want to make a rollover that swap the background image for each button.
    I tried a lot of methods but I cant find the solution (please check line 111).
    Here is my file:
    WeTransfer
    Thanks a lot!
    alex from argentina

    Thanks Preran for your answer but I can´t find the way to implement the solution in that post.
    I tried this:
    // mouseover swap background
    sym.$('#newBtn'+i).mouseover(function(){
      sym.$("#newBtn"+i).css({'background-image':'url("images/fover.jpg")'});
      //sym.getSymbol("#newBtn"+i).$('background').attr('src',info[i].backo);
    Thanks!

  • Dynamically calling stored procedure and getting result set c++

    Hello,
    I am trying to write some c++ code that will dynamically bind values to a stored procedure and excute the procedure and get back a resultset. The problem I am running into is how to get back the resultset. Any help or example would be highly appreciated.

    int main(int argc, char* argv[])
    OCIError* pOciError;
    char* pConnectChar = "dbname";
    char* pUsernameChar = "scott";
    char* pPasswordChar = "tiger";
    int answer;
    OCIStmt* pOciStatement;
    char* sqlCharArray = "BEGIN :success := sp_ListEmp; END;";
    int id;
    char ename[40];
    OCIEnv* g_pOciEnvironment = NULL;
    OCIServer* g_pOciServer = NULL;
    OCISession* g_pOciSession = NULL;
    OCISvcCtx* g_pOciServiceContext = NULL;
    sb2* pIndicator=0;
    sb2* pIndicator2=0;
    sb2* pIndicator3=0;
    OCIDefine* pOciDefine;
    OCIDefine* pOciDefine2;
    OCIBind* pBind;
    OCIStmt* cursor;
    answer = OCIInitialize(OCI_THREADED, NULL, NULL, NULL, NULL);
    answer = OCIEnvInit(&g_pOciEnvironment, OCI_DEFAULT, 0, NULL);
    answer = OCIHandleAlloc(g_pOciEnvironment, (void **)&pOciError, OCI_HTYPE_ERROR, 0, NULL);
    answer = OCIHandleAlloc(g_pOciEnvironment, (void **)&g_pOciSession, OCI_HTYPE_SESSION, 0, NULL);
    answer = OCIHandleAlloc(g_pOciEnvironment, (void **)&g_pOciServer, OCI_HTYPE_SERVER, 0, NULL);
    answer = OCIHandleAlloc(g_pOciEnvironment, (void **)&g_pOciServiceContext, OCI_HTYPE_SVCCTX, 0, NULL);
    answer = OCIServerAttach(g_pOciServer, pOciError, (unsigned char *)pConnectChar, strlen(pConnectChar),
    OCI_DEFAULT);
    answer = OCIAttrSet(g_pOciSession, OCI_HTYPE_SESSION, (unsigned char *)pUsernameChar, strlen(pUsernameChar),
    OCI_ATTR_USERNAME, pOciError);
    answer = OCIAttrSet(g_pOciSession, OCI_HTYPE_SESSION, (unsigned char *)pPasswordChar, strlen(pPasswordChar),
    OCI_ATTR_PASSWORD, pOciError);
    answer = OCIAttrSet(g_pOciServiceContext, OCI_HTYPE_SVCCTX, g_pOciServer, 0, OCI_ATTR_SERVER, pOciError);
    answer = OCIAttrSet(g_pOciServiceContext, OCI_HTYPE_SVCCTX, g_pOciSession, 0, OCI_ATTR_SESSION, pOciError);
    answer = OCISessionBegin(g_pOciServiceContext, pOciError, g_pOciSession, OCI_CRED_RDBMS, OCI_DEFAULT);
    answer = OCIHandleAlloc(g_pOciEnvironment, (void **)(&pOciStatement), OCI_HTYPE_STMT, 0, NULL);
    answer = OCIStmtPrepare(pOciStatement, pOciError, (unsigned char *)sqlCharArray, strlen(sqlCharArray),
    OCI_NTV_SYNTAX, OCI_DEFAULT);
    answer = OCIHandleAlloc(g_pOciEnvironment, (void **)(&cursor), OCI_HTYPE_STMT, 0, NULL);
    answer = OCIBindByPos(pOciStatement,&pBind, pOciError, 1, &cursor, 0,SQLT_RSET,
    pIndicator2, 0,NULL, 0,0,OCI_DEFAULT);
    answer = OCIStmtExecute(g_pOciServiceContext, pOciStatement, pOciError, 1, 0, NULL, NULL,
    OCI_COMMIT_ON_SUCCESS);
    answer = OCIDefineByPos(cursor,&pOciDefine, pOciError,2,&id,sizeof(int),
    SQLT_INT,pIndicator, 0, 0,OCI_DEFAULT);
    answer = OCIDefineByPos(cursor,&pOciDefine2, pOciError,1,ename,40,
    SQLT_STR,pIndicator3, 0, 0,OCI_DEFAULT);
    if (answer == 0)
    while ((answer = OCIStmtFetch(cursor,pOciError, 1,OCI_FETCH_NEXT,OCI_DEFAULT)) == 0)
    printf("fetched id %d and name %s\n",id,ename);
    answer = OCIHandleFree(pOciError, OCI_HTYPE_ERROR);
    return 0;

  • How to dynamically call image  in PDF for Acrobat ver 8.1 onwards?

    Hi Experts,
    I am using Web Dynpro Java. My requirement is to call the images dynamically on a PDF form. There are no of company code. I have to call different logos for different company codes/
    We are now using Acrobat 8.1.1. Please refer following thread.
    http://kb2.adobe.com/cps/405/kb405270.html
    From Acrobat 8.*, we have to use some different method for dynamically calling the images. Earlier we were using the concept mentioned below to dynamically call images.
    However this method is not applicable for Acrobat Reader 8.* onwards due to security reasons.
    Click on the Layout tab and choose None for the Caption position.
    u2022 Click on the Object, then the Binding tab and choose None for Default Binding.
    u2022 Click on the Field tab, enter $record.SapOnlineShopUrl for the URL entry, and select Use Image Size for the Sizing field.
    u2022 Click on the script editor and enter the following FormCalc script statement, which enables the dynamic integration of the image. Show: initialize Script: this.value.image.href = xfa.resolveNode(this.value.image.href).value; Language: FormCalc Run At: Client
    write following code in wddoinit
    try { String url = WDURLGenerator.getAbsoluteWebResourceURL( wdComponentAPI.getDeployableObjectPart(), "sap_online_shop.jpg"); wdContext.currentDataSourceElement().setSapOnlineShopUrl(url); } catch(Exception e) { throw new WDRuntimeException(e); }
    Please let me know what is the alternate method for Adope ver 8.1.1
    Regards,
    Gary

    Hi Gary,
    First you upload the image in SAP through se78.then write the below code in your adobe form interface.
    data :  v_object type  TDOBJECTGR value 'GRAPHICS',
            v_id  type TDIDGR  value 'BMAP',
            v_btype type TDBTYPE value 'BCOL',
            V_FIELD TYPE XSTRING.
    V_NAME = 'ZW_DEVMAN_LOGO'.
    CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
    EXPORTING
    p_object = v_object " 'GRAPHICS'
    p_name = v_name " Name of the logo as in se78
    p_id = v_id " 'BMAP'
    p_btype = v_btype " 'BCOL' ( whether the image is in color or black and white )
    RECEIVING
    p_bmp = v_field
    EXCEPTIONS
    not_found = 1
    internal_error = 2
    OTHERS = 3.
    g_logo = v_field.
    Declare g_logo as xstring in global data.
    In context of the form make one graphic element with field g_logo and mime type BMP.It will work.
    Regards,
    Simi A M
    Edited by: amsimi on Jan 26, 2011 5:30 AM

  • How to set tray's background image in the custom page layout?

    Hi all,
    I've developed custom page layout with custom iView tray implementation. I've applied my layout into my page and added some iViews. Those iViews are URL isolated so they are rendered as an iframe. My problem is that an iframe background containing iView content overcast my background image which I have set in my iView tray implementation. Is it possible to set transparent background for an iframe in this scenario?
    I would be grateful for helpful answers.
    Best Regards,
    Micha&#322; M.

    Hi Tamil,
    That's right, I've already used layout tag library do develop custom tray design but my problem concerns iView's isolation method . URL isolation renders iView's content in an iframe which has its own background. I've read some articles about getting transparent iframes but I'm not sure how could I achive this in SAP EP? Is it possible?
    Best Regards,
    Michal M.

  • How to change background image in existing template?

    Hi 
    Current website needs overall change in background image which is already set in template. Is there anyone who knows how to change background image in existing templates?

    Make a friend with firebug &  you could find yourself from where it is getting applied.
    For the website you have given the background image it is using is [1] and it is getting set in css of body tag [2]. So Find the css at [3] and modify it OR replace [1] with other image with same file name.
    [1]   www.hanwha.com/etc/designs/hanwha/images/bg-body.jpg
    [2]
    body {
        background: url("images/bg-body.jpg") repeat-x scroll 50% 0 #FFFFFF;
        color: #757373;
        font: 14px/18px Arial,Verdana,Helvetica,sans-serif;
        margin: 0;
        min-width: 979px;
    [3]
    /etc/designs/hanwha/...../*.css

  • BUG: background image under Linux

    Hi,
    This is actually two bugs...
    1) When you select a background image under Linux (I'm using CentOS, 100% comatable with Red Hed), and set it to Stretch, the image gets mangled. Probably a byte allaignment problem.
    2) When you change the background image with the Position set to Center from the program, LabVIEW often simply disapears. This doesn't happen when the Position is set to Tile, I haven't tried Stretch, because of point 1). It doesn't always happen, it seems to be related to the window origin. The error log says something like "DWarn ... picture Width and Height not matching". I'll try to attach the report, but it's on another system.
    I only tested with 3 similar pictures (png's). It might not happen with all pictures, although the used pictures are not special in any way.
    Regards,
    Wiebe.

    Hi Wiebe,
    Thanks for your post! Would it be possible to post screenshots of what you have pointed out in 1). Would it be possible to post the error log file for point 2) as well as a step-by-step instructions on how to reproduce this? Once I have this, I will be able to submit this to R&D for further investigation. Thanks so much for your help in making LabVIEW a better product!
    Best regards,
    Steven

  • Dreamweaver CS4 Live View - background-image does not display

    I'm teaching a basic Dreamweaver CS4 class, and one of my students happened upon a unique problem. 
    Although the students were not required to use LiveView for their assignment, the student noticed that when he clicked the LiveView button to look at his assignment, that the background-image property that he set on the #header DIV does not display.
    I tried duplicating his problem by building a similar site to his, using the exact same Dreamweaver Starter Page he used, but I'm not able to reproduce it the problem. If I define a new site using the files the student sent me, the problem comes back.
    I'm completely stumped. What could possibly be causing the background-image CSS property to stop rendering in Live View?
    Thanks for any help at all!

    Hi
    Check your students css code for invalid or missing mark-up, or linking to the background image. Another possible problem, (occurs on some sites but not all) is to check if the url is enclosed in quotes as these are occasionally required but not always, also check for spaces in file names
    e.g. - background-image: url(../images/yourimage.jpg); should work but occasional requires quotes as in - background-image: url("../images/yourimage.jpg");
    PZ
    www.pziecina.com

  • Export to web page, background image option gone?

    Apologies if this has been addressed (couldn't get the right boolean search terms to work properly) as it is a simple question.
    Upgraded to iphoto '08 and now one of my favorite features in the 'export a web page' area doesn't appear to exist anymore - the option to use a background image instead of a color.
    Has this 'feature' been removed? It's easy to stick the line into the html code, but what I value is the fact that it (used to) modify each photo's html page, sticking that line in, which wouldn't be feasible for me to do manually.
    Thanks,

    Many thanks for pointing that out. In Composer I have been able to remove the path to my hard drive stored image. What shows now on page source is: <body style="background-image: url(cloudback800x600.jpg);"> but the image
    is still not visible. Your further advice will be appreciated.

  • Background Image Problem

    Hi all!
    I have a site that I'm attempting to get editable for a
    client in Contribute CS3. I retrofitted the site with Dreamweaver
    templates, but for some reason all of the background-images that I
    have set on my container div's disappear when I switch to edit
    mode. The background of the site is quite dark, which means that
    the client can't hardly see the text they're trying to edit when
    the background disappears. The links are the same color as the
    background as well, which means they become completely invisible.
    Any insight would be greatly appreciated!
    Matt

    Thanks for the reply!
    All of my background images are in CSS already, and I tried
    setting a corresponding background color to use as well in case
    Contribute was refusing to tile the bg image for some reason. That
    didn't work... The other posted solution on the board was to make
    sure that you are using paths relative to the stylesheet for your
    background images, which didn't work either.
    However, I did get it to work... I had a large masthead image
    that was just inline and not in a div. This was working because the
    image was the width of the container anyway, so it behaved like a
    block level element even though it really wasn't. So, I wrapped it
    in a div and everything works now... Obviously I should have done
    that from the beginning, but I didn't notice it because no browsers
    were choking on it. The background image now tiles properly, so
    they can now edit the text. There's still an issue with the bottom
    "cap" background graphic floating up too high, but that won't
    prevent them from editing.

  • In linux, saving a background image (set as Desktop)feature doesnt download my image to wallpaper folder..or even to standard "Save download" feature. Can I tell firefox where (what folder) to save my "Set as Desktop" picture?

    When I find a suitable picture to use as wallpaper" I often right click and use the menu item "Set as Desktop Background". The file ""example.jpg" is saved in directory\folder "/home/user" rather than for example "/home/user/my wallpaper" or in the directory
    "/home/user/Downloads". The latter as being set under the "Downloads" section on the "General" tab in the "Preferences" dialog box.
    Is there a configuration file where I can change the default location to save my "Set as Desktop Background" images. Or better still can the menu be customized to launch the application that allows me to set my desktop wallpapers?
    I am using the "PCLinuxOS" Linux OS but I have encountered this issue in many if not all the Linux distributions I have sampled.

    Don't use "Set as Desktop". Use ''' "Save Image As..." ''' instead, and file it with your other "wallpaper" images so the operating system has access to those images.
    IIRC, Firefox saves a "desktop image" to the Profile folder, and it will only save one image, at that. Change the image and the previous one is gone.

Maybe you are looking for

  • How to add a code so my drag and drop movie clip will not stick  once it is dragged to final place o

    Hello all and kglad, I have to use the old drag and drop code on my movie clips, but the problem is when I drag the movieclip to the area on my .swf file once i release it, it sticks to the hand mover. I am encloseing the action script I am using cou

  • Form Filler Yellow Task Bar Link Does Not Open task or do anything SharePoint 2010 InfoPath 2010

    Form Filler Yellow Task Bar Link Does Not Open task or do anything (SharePoint 2010 InfoPath 2010) Using a SPD workflow to run a approval process. This is a non-browser form. User receives task notification, opens form in IP Form Filler and sees yell

  • Universal dock adapter for iPod classic

    I am having problems obtaining a MA125G/B Universal Dock Adapter for my 160Gm iPod Classic. Now that all my music library is on the iPod, I am changing the "docks" from my car to my SUV to my home stereo system to a chargeable portable SONY docking s

  • No icons in App Store Categories

    Hello, A few days ago all of a suddent my icons from under the AppStore's top level Categories have disappeared. The only icons I have showing is for the 'Games' and 'Books' section. However, when I go into a sub-level category I have ll the icons fo

  • Webservice client in jsp

    hey, im making a webservice client (implemented in jsp for a course), ive made a simple one in straight java and it works fine, but when made the necessary changes to make it a jsp page, i keep gettting an error when the page is displayed org.apache.