Script styles

hai sir,
how to insert script styles in sap script ,  please guide me asap.
if possible pls send me snapshots of doing that
Moderator message: please read the following asap:
[Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
[Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
Edited by: Thomas Zloch on Jan 11, 2011 11:26 AM

Hi,
I think you cannot have any colours for the Script but you can change the font through Paragraph formats and Character formats.
Using Paragraph formats you can set different options like - left margin, right margin, indent, bold, italics etc... which are applicable for the entire paragraph.
Similarly you can also apply options like superscript, subscript, bold etc... through character format for a particular character.
Like smart styles for smart forms there are no seperate styles for script. We have to define the style while creating the Paragraph formats and Character formats.
Hope this helps you.
Thanks,
Sri.

Similar Messages

  • How to find Script Style for Standard Purchase Order Form "MEDRUCK".

    Hi ,
    I need to convert script style using by Sap-script form 'Medruck' to Smart form style and for this i have to find Sap-script style name for Medruck.
    If anyone have a idea about it then plz tell me.
    It's very urgent for me.
    Thanks & Regards,
    Gaurav.

    Hi Gaurav,
    If I'm not wrong, we don't have any SAP-Script Style, but when we are trying to upgrade to SmartForms simply u upgrade using smartforms transaction code, and it will convert all your character formats and paragraph formats and try to assign as SYSTEM Style in Smartforms.
    If you find the difference then you need to create SmartStyle manually and assign it.
    Thanks,
    -Pavan

  • Create SAP Script Style and link to Script

    Hi,
    How to create SAP Script Style through SE72...and how to implement it to Script..
    Means where to implement to Script..for ex. below code is script code of ZMEDRUCK...
    /: INCLUDE &T166P-TXNAM& OBJECT &T166P-TDOBJECT& ID &T166P-TDID& LANGUAGE &EKKO-SPRAS& PARAGRAPH IX
    Please tell me where i use that style...
    Regards.

    Hi.
    Maybe, I think that the purpose of style is to use it with SO10.
    Therefore, it doesn't use it in SAP script.
    SAP script copies with SE71 and changes.

  • About scripts and script styles

    hello sirs,
    i have developed small sap script program.
    Is it make colors for that one  & change font sizes when it prints.
    can tell me some features also.
    please tell me how use it sap script styles , script font matintainance.

    Hi,
    I think you cannot have any colours for the Script but you can change the font through Paragraph formats and Character formats.
    Using Paragraph formats you can set different options like - left margin, right margin, indent, bold, italics etc... which are applicable for the entire paragraph.
    Similarly you can also apply options like superscript, subscript, bold etc... through character format for a particular character.
    Like smart styles for smart forms there are no seperate styles for script. We have to define the style while creating the Paragraph formats and Character formats.
    Hope this helps you.
    Thanks,
    Sri.

  • Scripting Style Control Grid Size

    Is there scripting functions, to allow me to edit a VI's alignment grid size, and control style for creating controls/indicators?  These setting are saved in each VI under the VI Properties, under the Editor Options.  I looked around and couldn't find them.  Thanks.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

    Cross linking with THIS and looking forward to the Idea Exchange post. 

  • Scripting Styles keyboard shortcuts

    Hi.
    I'm creating an Applescript for Indd 5.5 that will create a number of documents and add them to a book file. I'm trying to flesh out all the book's documents with as many text and object styles as I can, and ensure each document has only the swatches etc. needed for the book.
    I've managed to create text styles and groups (folders) quite easily, but I can't find a way of assigning a keyboard shortcut to a style. Typically, I will be using shortcuts on the numeric keypad, and using the command key (Mac) – Command+Num 8, for example. I've searched the web, but can't find anything that shows how to do it – only how to assign global shortcut sets for InDesign.
    Can anyone point me in the right direction?
    Thanks,
    K@

    Well, I was proposing a slightly different strategy.
    Export one style from the INDD to IDMS, and then delete
    all the extra crap that is not the style definition. That
    leaves you with about 20 lines of XML.
    Then, write your AppleScript to create a 20-line XML file
    containing those literal 20 lines, while adjusting the name
    and shortcut of the style.
    Then your Applescript can place the IDMS snippet file after it
    writes it, and then delete the temporary file. You can then
    modify the attributes of that imported paragraph style
    in our script.
    That's a little bit clunky but it shouldn't keep you from putting the
    shortcuts in your applescript code. You are just dynamically
    generating IDMS/IDML/XML from your applescript.
    You mention maybe you would prefer not to format the style within
    the script? Well, then I guess you have even more options
    available!

  • [JS] [CS3 onwards] Scripting Styles within folders

    Hi.
    This is my second attempt with this thread, as I failed to add a sufficient title last time.
    http://forums.adobe.com/thread/631524?tstart=0
    This is the link to the original thread...  I am hoping I am not making my error worse by doing this!
    Cheers
    Roy

    The problem here is that JS silently looks up things if it cannot apply your current command. In the case of setting a paragraph style, you can feed it a string, but that actually gets checked against the current list of paragraph styles, and it's the style itself that gets used.
    This ought to work:
    myGroup = app.activeDocument.paragraphStyleGroups.item("PRO");
    myDirectLinkToAStyle = myGroup.paragraphStyles.item("PRO - Product Heading :+color);
    .. stuff here ..
    myStory.paragraphs[ii].appliedParagraphStyle = myDirectLinkToAStyle;
    Untested, untried, etc. You know the drill.
    (I always type a post in full before daring to click any of the horrendous Jive formatting buttons. I find it inexplicably difficult to edit code with that weird and unpredictably-behaving Code Formatting thingamajig. Before not-that-long-ago, I simply switched to HTML mode and injected my edits straight into the correct place, but -- oh sadness! -- New and Improved Jive seems to bracket each and every single character with some "function (bladiblah) (release(whatever))" crap code.
    Since the Adobe programmers seem to have grown a liking to Flash, WRITE A FLASH EDITOR for the forums! Or simply buy one -- I've seen a-plenty online Flash editors with lotsa nice features. Either way, get rid of this Jive bull.)

  • Script style include in my own layout

    hi friends,
       i am created a style in se72. But i want included the the style in my new layout.How can i add my own style in my layout? any body explain it?
    Regards,
    R.sankar

    Please not that this forum is for data transfer.

  • My own script and styles in WWW_HTML_FROM_LISTOBJECT

    Hi All gurus.
    WWW_HTML_FROM_LISTOBJECT generates HTML from a given template.
    I know we can have our own templates via SMW0.
    How do I insert my own scripts and styles?
    I see that the FM imports from wwwdata(ht). That means my script/style should somehow go there. But how?
    Any clues anybody?
    thanks in adv.

    HI
    GOOD
    go through these links
    /people/rammanohar.tiwari/blog/2006/01/29/abap-utility-print-screen-to-html
    http://www.synactive.com/docu_e/specials/webreport.html
    thanks
    mrutyun

  • How can I add more than one same spry menu (eg. collapsible menu)  with in different styles (font size, color, background, etc) on current page?

    How can I add more than one same spry menu (eg. collapsible menu)  with in different styles (font size, color, background, etc) on current page?

    Hi Nancy,
    This screenshot was only for imagination. A part of the code (not all) is below.  In the code there are some background images but they are not seem in live mode.
    <!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=utf-8" />
    <title></title>
    <link href="css/my_site.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css"/>
    <link href="SpryAssets/SpryCollapsiblePanel.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryCollapsiblePanel.js" type="text/javascript"></script>
    <style>
    #CollapsiblePanel1 .CollapsiblePanelOpen .CollapsiblePanelTab {
        background-color: #003366;
        font-size: 18px;
        line-height: 52px;
        color: #FFF;
    #CollapsiblePanel1 .CollapsiblePanelTabHover .CollapsiblePanelTab {
        background-color: #003366;
        color: #FFF;
        text-shadow: 1px 1px #000;
        font-weight: bold;
        line-height: 52px;
    #CollapsiblePanel1 .CollapsiblePanelClosed .CollapsiblePanelTab  {
        background-color: #C3CFDF;
        border-radius: 5px 5px 0px 0px;
        color: #999
        text-shadow: 1px 1px #000;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        line-height: 52px;
    #CollapsiblePanel2 .CollapsiblePanelOpen .CollapsiblePanelTab {
        background-image: url(images/international.jpg);
        background-repeat: no-repeat;
        font-size: 18px;
        line-height: 52px;
        color: #FFF;
    #CollapsiblePanel2 .CollapsiblePanelTabHover .CollapsiblePanelTab {
        background-color: #003366;
        color: #FFF;
        text-shadow: 1px 1px #000;
        font-weight: bold;
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel2 .CollapsiblePanelClosed .CollapsiblePanelTab  {
        background-color: #C3CFDF;
        border-radius: 5px 5px 0px 0px;
        color: #999
        text-shadow: 1px 1px #000;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        background-image: url(images/TR_Gray2-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel2 .CollapsiblePanelContent {
        background-color: blue;
    #CollapsiblePanel3 .CollapsiblePanelOpen .CollapsiblePanelTab {
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        font-size: 18px;
        line-height: 52px;
        color: #FFF;
    #CollapsiblePanel3 .CollapsiblePanelTabHover .CollapsiblePanelTab {
        background-color: #003366;
        color: #FFF;
        text-shadow: 1px 1px #000;
        font-weight: bold;
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel3 .CollapsiblePanelClosed .CollapsiblePanelTab  {
        background-color: #C3CFDF;
        border-radius: 5px 5px 0px 0px;
        color: #999
        text-shadow: 1px 1px #000;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        background-image: url(images/TR_Gray2-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel4 .CollapsiblePanelOpen .CollapsiblePanelTab {
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        font-size: 18px;
        line-height: 52px;
        color: #FFF;
    #CollapsiblePanel4 .CollapsiblePanelTabHover .CollapsiblePanelTab {
        background-color: #003366;
        color: #FFF;
        text-shadow: 1px 1px #000;
        font-weight: bold;
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel4 .CollapsiblePanelClosed .CollapsiblePanelTab  {
        background-color: #C3CFDF;
        border-radius: 5px 5px 0px 0px;
        color: #999
        text-shadow: 1px 1px #000;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        background-image: url(images/TR_Gray2-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel5 .CollapsiblePanelOpen .CollapsiblePanelTab {
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        font-size: 18px;
        line-height: 52px;
        color: #FFF;
    #CollapsiblePanel5 .CollapsiblePanelTabHover .CollapsiblePanelTab {
        background-color: #003366;
        color: #FFF;
        text-shadow: 1px 1px #000;
        font-weight: bold;
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel5 .CollapsiblePanelClosed .CollapsiblePanelTab  {
        background-color: #C3CFDF;
        border-radius: 5px 5px 0px 0px;
        color: #999
        text-shadow: 1px 1px #000;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        background-image: url(images/TR_Gray2-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    </style>

  • Using the same script twice but different options on a single page

    having a hard time figuring out how to run the cycle script which is in use on one portion of my webpage as a slider gallery under my header, but i'd also like to use it in  a small are in the upper right of the same page but with a different transition, to showcase specific products in a gallery.
    how do i accomplish this? I've been to the cycle plugin page http://malsup.com/jquery/cycle/begin.html but am having trouble interpreting their page source syntax
    in my head section i have the following declared:
    <script type="text/javascript" src="../js/jquery.cycle.all.latest.js"></script>
    <script type="text/javascript">
    $(document).ready(function() {
        $('.slideshow').cycle({
            fx: 'shuffle' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
    </script>
    and in my body its invoked simply by:
    <div class="slideshow">
                <img src="../images/splash1.jpg" width="761" height="210" />
                <img src="../images/splash2.jpg" width="761" height="210" />
                <img src="../images/splash3.jpg" width="761" height="210" />
                <img src="../images/splash4.jpg" width="761" height="210" />
                <img src="../images/splash5.jpg" width="761" height="210" />
    </div>
    now should i change the head function to
    <script type="text/javascript" src="../js/jquery.cycle.all.latest.js"></script>
    <script type="text/javascript">
    $(function() {
        // run the code in the markup!
        $('td pre code').each(function() {
            eval($(this).text());
    </script>
    and how would i later invoke this the body here?
    <div class="slideshow">
                <img src="../images/splash1.jpg" width="761" height="210" />
                <img src="../images/splash2.jpg" width="761" height="210" />
                <img src="../images/splash3.jpg" width="761" height="210" />
                <img src="../images/splash4.jpg" width="761" height="210" />
                <img src="../images/splash5.jpg" width="761" height="210" />
    </div>
    <pre><code class="mix">$('#s1').cycle('fade');</code></pre> - this is what they do on their wepage but i dont understand what this <pre><code class="mix"... is all about.
    can someone please explain
    thanks

    I recommend using Cycle2 instead of the old Cycle Plugin.  Out of the box, Cycle2 is better and has more features.  Just copy & paste the following code into a new document. 
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 Document with Cycle2</title>
    <!--HTML5 help for older IE browsers-->
    <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
    <!--Latest jQuery Core Library-->
    <script src="http://code.jquery.com/jquery-latest.min.js">
    </script>
    <!--Cycle2 Slideshow-->
    <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery.cycle2/20130409/jquery.cycle2.min.js"></script>
    <style>
    body {width: 900px;margin: 0 auto}
    /**Slideshow**/
    .cycle-slideshow {
    margin: 0;
    padding: 0;
    width:500px;
    border: 1px solid silver;
    margin: 0 auto;
    .cycle-slideshow img  {
    width: 500px;
    margin: 0 auto
    .center { text-align: center }
    </style>
    </head>
    <body>
    <!--begin 1st slideshow-->
    <div class="cycle-slideshow"
    data-cycle-fx="swipe"
    data-cycle-pause-on-hover="true"
    data-cycle-speed="2200"
    >
    <img src="http://malsup.github.com/images/p1.jpg" alt="">
    <img src="http://malsup.github.com/images/p2.jpg" alt="">
    <img src="http://malsup.github.com/images/p3.jpg" alt="">
    <img src="http://malsup.github.com/images/p4.jpg" alt="">
    <!--end 1st slideshow--></div>
    <p> </p>
    <p> </p>
    <!--begin 2nd slideshow-->
    <div class="center">
    <a href=# id=next>Next</a>
    </div>
    <div class="cycle-slideshow"
        data-cycle-fx="fadeout"
        data-cycle-timeout="3000"
        data-cycle-next="#next"
        data-cycle-manual-fx="scrollHorz"
        data-cycle-manual-speed="300"
        >
    <img src="http://malsup.github.com/images/p1.jpg" alt="">
    <img src="http://malsup.github.com/images/p2.jpg" alt="">
    <img src="http://malsup.github.com/images/p3.jpg" alt="">
    <img src="http://malsup.github.com/images/p4.jpg" alt="">
    <!--end 2nd slideshow--></div>
    </body>
    </html>
    Use whichever effects you prefer:
    http://www.malsup.com/jquery/cycle2/demo/shuffle.php
    Nancy O.

  • Problem Display JQuery Script

    Hi Gang,
    Been wrestling with a JQuery script, getting it to display on this page for the main images:
    http://72.29.76.51/~organica/index.html
    Any insight to what I'm doing wrong is appreciated.
    Here's the page code:
    <!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"><!-- InstanceBegin template="/Templates/main.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Organica Natural Foods | Northvale, New Jersey</title>
    <!-- InstanceEndEditable -->
    <link href="main.css" rel="stylesheet" type="text/css" />
    <link href="Spry-UI-1.7/css/Menu/basic/SpryMenuBasic.css" rel="stylesheet" type="text/css" />
    <link href="s3slider.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery-1.6.4.min.js" type="text/javascript"></script>
    <script src="js/s3Slider.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function() {
            $('#slider').s3Slider({
                timeOut: 3000
    </script>
    <script src="Spry-UI-1.7/includes/SpryDOMUtils.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryDOMEffects.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryWidget.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryMenu.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/plugins/MenuBar2/SpryMenuBarKeyNavigationPlugin.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/plugins/MenuBar2/SpryMenuBarIEWorkaroundsPlugin.js" type="text/javascript"></script>
    <style type="text/css">
    /* BeginOAWidget_Instance_2141544: #MenuBar */
    /* Settable values for skinning a Basic menu via presets. If presets are not sufficient, most skinning should be done in
        these rules, with the exception of the images used for down or right pointing arrows, which are in the file SpryMenuBasic.css
         These assume the following widget classes for menu layout (set in a preset)
        .MenuBar - Applies to all menubars - default is horizontal bar, all submenus are vertical - 2nd level subs and beyond are pull-right.
        .MenuBarVertical - vertical main bar; all submenus are pull-right.
        You can also pass in extra classnames to set your desired top level menu bar layout. Normally, these are set by using a preset.
        They only apply to horizontal menu bars:
            MenuBarLeftShrink - The menu bar will be horizontally 'shrinkwrapped' to be just large enough to hold its items, and left aligned
            MenuBarRightShrink - Just like MenuBarLeftShrink, but right aligned
            MenuBarFixedLeft - Fixed at a specified width set in the rule '.MenuBarFixedLeft', and left aligned. 
            MenuBarFixedCentered -  - Fixed at a specified width set in the rule '.MenuBarFixedCentered',
                            and centered in its parent container.
            MenuBarFullwidth - Grows to fill its parent container width.
        In general, all rules specified in this file are prefixed by #MenuBar so they only apply to instances of the widget inserted along
        with the rules. This permits use of multiple MenuBarBasic widgets on the same page with different layouts. Because of IE6 limitations,
        there are a few rules where this was not possible. Those rules are so noted in comments.
    #MenuBar  {
        background-color:#003300;
        font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; /* Specify fonts on on MenuBar and subMenu MenuItemContainer, so MenuItemContainer,
                                                    MenuItem, and MenuItemLabel
                                                    at a given level all use same definition for ems.
                                                    Note that this means the size is also inherited to child submenus,
                                                    so use caution in using relative sizes other than
                                                    100% on submenu fonts. */
        font-weight: bold;
        font-size: 12px;
        font-style: normal;
        padding:0;
    /* Caution: because ID+class selectors do not work properly in IE6, but we want to restrict these rules to just this
    widget instance, we have used string-concatenated classnames for our selectors for the layout type of the menubar
    in this section. These have very low specificity, so be careful not to accidentally override them. */
    .MenuBar br { /* using just a class so it has same specificity as the ".MenuBarFixedCentered br" rule bleow */
        display:none;
    .MenuBarLeftShrink {
        float: left; /* shrink to content, as well as float the MenuBar */
        width: auto;
    .MenuBarRightShrink {
        float: right; /* shrink to content, as well as float the MenuBar */
        width: auto;
    .MenuBarFixedLeft {
        float: left;
        width: 100%;
    .MenuBarFixedCentered {
        float: none;
        width: 100%;
        margin-left:auto;
        margin-right:auto;
    .MenuBarFixedCentered br {
        clear:both;
        display:block;
    .MenuBarFixedCentered .SubMenu br {
        display:none;
    .MenuBarFullwidth {
        float: left;
        width: 100%;
    /* Top level menubar items - these actually apply to all items, and get overridden for 1st or successive level submenus */
    #MenuBar  .MenuItemContainer {
        padding: 0px 0px 0px 0px;
        margin: 0;
         /* Zero out margin  on the item containers. The MenuItem is the active hover area.
                    For most items, we have to do top or bottom padding or borders only on the MenuItem
                    or a child so we keep the entire submenu tiled with items.
                    Setting this to 0 avoids "dead spots" for hovering. */
    #MenuBar  .MenuItem {
        padding: 0px 8px 0px 8px;
        background-color:transparent;
        border-right: 1px solid #FFF;
        border-left: 1px solid #FFF;
    #MenuBar  .MenuItemFirst {
        border-style: none none none none;
    #MenuBar .MenuItemLast {
        border-style: none solid none none;
    #MenuBar  .MenuItem  .MenuItemLabel{
        text-align:left;
        line-height:1.4em;
        color:#ffffff;
        background-color:transparent;
        padding: 6px 15px 6px 15px;
        width: 10em;
        width:auto;
    .SpryIsIE6 #MenuBar  .MenuItem  .MenuItemLabel{
        width:1em; /* Equivalent to min-width in modern browsers */
    /* First level submenu items */
    #MenuBar .SubMenu  .MenuItem {
        font-family: Arial, Helvetica, sans-serif;
        font-weight: bold;
        font-size: 12px;
        font-style: normal;
        background-color:transparent;
        padding:0px 8px 0px 0px;
        border-width:1px;
        border-color: #cccccc #cccccc #cccccc #cccccc;
        /* Border styles are overriden by first and last items */
        border-style: solid solid none solid;
    #MenuBar  .SubMenu .MenuItemFirst {
        border-style: solid solid none solid;
    #MenuBar  .SubMenu .MenuItemFirst .MenuItemLabel{
        padding-top: 6px;
    #MenuBar .SubMenu .MenuItemLast {
        border-style: solid solid solid solid;
    #MenuBar .SubMenu .MenuItemLast .MenuItemLabel{
        padding-bottom: 6px;
    #MenuBar .SubMenu .MenuItem .MenuItemLabel{
        text-align:left;
        line-height:1em;   
        background-color:transparent;
        color:#ffffff;
        padding: 6px 12px 6px 5px;
        width: 7em;
    /* Hover states for containers, items and labels */
    #MenuBar .MenuItemHover {
        background-color: transparent;
        border-color: #cccccc #cccccc #cccccc #cccccc;
    #MenuBar .MenuItemWithSubMenu.MenuItemHover .MenuItemLabel{
        background-color: transparent; /* consider exposing this prop separately*/
        color: #999999;
    #MenuBar .MenuItemHover .MenuItemLabel{
        background-color: transparent;
        color: #999999;
    #MenuBar .SubMenu .MenuItemHover {
        background-color: #003300;
        border-color: #cccccc #cccccc #cccccc #cccccc;
    #MenuBar .SubMenu .MenuItemHover .MenuItemLabel{
        background-color: transparent;
        color: #999999;
    /* Submenu properties -- First level of submenus */
    #MenuBar .SubMenuVisible {
        background-color: #003300;
        min-width:0%;  /* This keeps the menu from being skinnier than the parent MenuItemContainer - nice to have but not available on ie6 */
        border-color: #ffffff #ffffff #ffffff #ffffff;
        border-width:0px;
        border-style: none none none none;
    #MenuBar.MenuBar .SubMenuVisible {/* For Horizontal menubar only */
        top: 100%;    /* 100% is at the bottom of parent menuItemContainer */
        left:0px; /* 'left' may need tuning depending upon borders or padding applied to menubar MenuItemContainer or MenuItem,
                        and your personal taste.
                        0px will left align the dropdown with the content area of the MenuItemContainer. Assuming you keep the margins 0
                        on MenuItemContainer and MenuItem on the parent
                        menubar, making this equal the sum of the MenuItemContainer &amp; MenuItem padding-left will align
                        the dropdown with the left of the menu item label.*/
        z-index:10;
    #MenuBar.MenuBarVertical .SubMenuVisible {
        top: 0px;   
        left:100%;
        min-width:0px; /* Do not neeed to match width to parent MenuItemContainer - items will prevent total collapse */
    /* Submenu properties -- Second level submenu and beyond - these are visible descendents of .MenuLevel1 */
    #MenuBar .MenuLevel1 .SubMenuVisible {
        background-color: #003300;
        min-width:0px; /* Do not neeed to match width to parent MenuItemContainer - items will prevent total collapse*/
        top: 0px;    /* If desired, you can move this down a smidge to separate top item''s submenu from menubar -
                    that is really only needed for submenu on first item of MenuLevel1, or you can make it negative to make submenu more
                    vertically 'centered' on its invoking item */
        left:100%; /* If you want to shift the submenu left to partially cover its invoking item, you can add a margin-left with a
                    negative value to this rule. Alternatively, if you use fixed-width items, you can change this left value
                    to use px or ems to get the offset you want. */
    /* IE6 rules - you can delete these if you do not want to support IE6 */
    /* A note about multiple classes in IE6.
    * Some of the rules above use multiple class names on an element for selection, such as "hover" (MenuItemHover) and "has a subMenu" (MenuItemWithSubMenu),
    * giving the selector '.MenuItemWithSubMenu.MenuItemHover'.
    * Unfortunately IE6 does not support using mutiple classnames in a selector for an element. For a selector such as '.foo.bar.baz', IE6 ignores
    * all but the final classname (here, '.baz'), and sets the specificity accordingly, counting just one of those classs as significant. To get around this
    * problem, we use the plugin in SpryMenuBarIEWorkaroundsPlugin.js to generate compound classnames for IE6, such as 'MenuItemWithSubMenuHover'.
    * Since there are a lot of these needed, the plugin does not generate the extra classes for modern browsers, and we use the CSS2 style mutltiple class
    * syntax for that. Since IE6 both applies rules where
    * it should not, and gets the specificity wrong too, we have to order rules carefully, so the rule misapplied in IE6 can be overridden.
    * So, we put the multiple class rule first. IE6 will mistakenly apply this rule.  We follow this with the single-class rule that it would
    * mistakenly override, making sure the  misinterpreted IE6 specificity is the same as the single-class selector, so the latter wins.
    * We then create a copy of the multiple class rule, adding a '.SpryIsIE6' class as context, and making sure the specificity for
    * the selector is high enough to beat the single-class rule in the "both classes match" case. We place the IE6 rule at the end of the
    * css style block to make it easy to delete if you want to drop IE6 support.
    * If you decide you do not need IE6 support, you can get rid of these, as well as the inclusion of the SpryMenuBarIEWorkaroundsPlugin.js script.
    * The 'SpryIsIE6' class is placed on the HTML element by  the script in SpryMenuBarIEWorkaroundsPlugin.js if the browser is Internet Explorer 6. This avoids the necessity of IE conditional comments for these rules.
    .SpryIsIE6 #MenuBar .MenuBarView .MenuItemWithSubMenuHover .MenuItemLabel /* IE6 selector  */{
        background-color: transparent; /* consider exposing this prop separately*/
        color: #999999;
    .SpryIsIE6 #MenuBar .MenuBarView .SubMenu .MenuItemWithSubMenuHover .MenuItemLabel/* IE6 selector  */{
        background-color: transparent; /* consider exposing this prop separately*/
        color: #999999;
    .SpryIsIE6 #MenuBar .SubMenu .SubMenu  /* IE6 selector  */{
        margin-left: -0px; /* Compensates for at least part of an IE6 "double padding" version of the "double margin" bug */
    /* EndOAWidget_Instance_2141544 */
    </style>
    <script type="text/xml">
    <!--
    <oa:widgets>
      <oa:widget wid="2141544" binding="#MenuBar" />
    </oa:widgets>
    -->
    </script>
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    </head>
    <body bgcolor="#17321A">
    <div id="outerWrapper">
      <div id="header"><img src="media/header.jpg" width="960" height="160" alt="organica title" /></div>
      <div id="navbar">
        <ul id="MenuBar">
          <li> <a href="index.html">Home</a></li>
          <li> <a href="kitchen.html">Kitchen</a>
          <ul>
              <li> <a href="menus.html">Menus</a></li>
              <li> <a href="catering.html">Catering</a></li>
          </ul>
          </li>
          <li> <a href="juicebar.html">Juice Bar</a></li>
          <li> <a href="produce.html">Produce</a></li>
          <li> <a href="supplements.html">Supplements</a></li>
          <li> <a href="grocery.html">Grocery</a>
          <ul>
              <li> <a href="packaged.html">Packaged Goods</a></li>
              <li> <a href="refrigerated.html">Refrigerated</a></li>
              <li> <a href="frozen.html">Frozen Foods</a></li>
              <li> <a href="glutenfree.html">Gluten Free</a></li>
          </ul>
          </li>
          <li> <a href="bodycare.html">Body Care</a></li>
          <li> <a href="events.html">Events</a></li>
          <li> <a href="contact.html">Contact</a>
          <ul>
              <li> <a href="directions.html">Directions</a></li>
              <li> <a href="employment.html">Employment</a></li>
          </ul>
          </li>
          </ul>
        <script type="text/javascript">
    // BeginOAWidget_Instance_2141544: #MenuBar
    var MenuBar = new Spry.Widget.MenuBar2("#MenuBar", {
          widgetID: "MenuBar",
          widgetClass: "MenuBar  MenuBarFullwidth",
          insertMenuBarBreak: true,
          mainMenuShowDelay: 100,
          mainMenuHideDelay: 200,
          subMenuShowDelay: 200,
          subMenuHideDelay: 200
    // EndOAWidget_Instance_2141544
        </script>
      </div><!-- end navbar -->
      <div id="contentWrapper"><!-- InstanceBeginEditable name="sidebar" -->
        <div id="sidebar">
          <h2>Get Your Organica Loyalty Card<br />
            <img src="media/loyalty.jpg" width="200" height="129" alt="loyalty" /></h2>
          <hr width="90%" size="1" />
          <p>
            <style>
    .link,
    .link a,
    .signupframe
        color: #000000;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 13px;
        .link,
        .link a {
            text-decoration: none;
        .signupframe {
            border: 0px solid #000000;
            background: #ffffff;
    .signupframe .required {
        font-size: 10px;
        </style>
          </p>
          <form method="post" action="https://app.icontact.com/icp/signup.php" name="icpsignup" id="icpsignup8190" accept-charset="UTF-8" onsubmit="return verifyRequired8190();" >
            <input type="hidden" name="redirect" value="http://organicanaturalfoods.com/thanks.html" />
            <input type="hidden" name="errorredirect" value="http://www.icontact.com/www/signup/error.html" />
            <div id="SignUp">
              <h2>Sign-up for our Organica e-News<br />
                Receive coupons, event info, and more! </h2>
              <table width="200" align="center" class="signupframe" border="0" cellspacing="0" cellpadding="5">
                <tr>
                  <td align="center"><input type="text" name="fields_email" /></td>
                </tr>
                <input type="hidden" name="listid" value="70490" />
                <input type="hidden" name="specialid:70490" value="HHBU" />
                <input type="hidden" name="clientid" value="971128" />
                <input type="hidden" name="formid" value="8190" />
                <input type="hidden" name="reallistid" value="1" />
                <input type="hidden" name="doubleopt" value="0" />
                <tr>
                  <td><div align="center">
                    <input type="submit" name="Submit" value="Submit" />
                  </div></td>
                </tr>
              </table>
            </div>
          </form>
          <script type="text/javascript">
    var icpForm8190 = document.getElementById('icpsignup8190');
    if (document.location.protocol === "https:")
        icpForm8190.action = "https://app.icontact.com/icp/signup.php";
    function verifyRequired8190() {
      if (icpForm8190["fields_email"].value == "") {
        icpForm8190["fields_email"].focus();
        alert("The Email field is required.");
        return false;
    return true;
        </script>
          <p></p>
          <p>
    <iframe src=
    "http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2FOrganicaN aturalFood&width=250&colorscheme=light&show_faces=true&border_color&stream=false&header=fa lse&height=258" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:250px; height:258px;" allowTransparency="true"></iframe>
          </p>
        </div>
      <!-- InstanceEndEditable --><!-- end sidebar --><!-- InstanceBeginEditable name="content" -->
        <div id="content">
          <div id="s3slider">
       <ul id="s3sliderContent">
          <li class="s3sliderImage">
              <img src="media/front_1.jpg" />
              <span>Welcome to Organica!</span>
          </li>
          <li class="s3sliderImage">
              <img src="media/front_2.jpg" />
              <span>Welcome to Organica!</span>
          </li>
          <div class="clear s3sliderImage"></div>
       </ul>
    </div>
        </div>
        <!-- InstanceEndEditable --><!-- end content -->
        <div id="footer">
          <a href="index.html">Home</a> | <a href="about.html">About Us</a> | <a href="links.html">Links</a> | <a href="directions.html">Directions</a> | <a href="employment.html">Employment</a> | <a href="contact.html">Contact Us</a><br />
        All contents ©2011 Organica Natural Foods | Site Design: <a href="http://nowagenewmedia.com" target="_blank">Now Age New Media</a></div><!-- end footer -->
      </div><!-- end contentWrapper -->
    </div>
    </body>
    <!-- InstanceEnd --></html>

    Usually, the reason why a widget does not work is because the support files are not-present/corrupt/out-of-date.
    Try using
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://s3slider-original.googlecode.com/svn/trunk/s3Slider.js"></script>
    it may help. The jQuery version can be changed to a more modern one.
    Gramps

  • Cannot make a cache safe URL for "1025/styles/Themable/corev4.css", file not found. Please verify that the file exists under the layouts directory.

    HI
    i restored a sharepoint web 80 application in our test domain
    and after when i browse the new web application 
    it says 
    Cannot make a cache safe URL for "1025/styles/Themable/corev4.css", file not found. Please verify that the file exists under the layouts directory. 
    adil

    Hi  adil,
    According to your description, my understanding is that you encountered the error “Cannot make a cache safe URL for "1025/styles/Themable/corev4.css", file not found. Please verify that the file
    exists under the layouts directory.” .
    The issue happens in
    We have customized master page
    In the master page, we use path the script/style file like this: <SharePoint:CssRegistration name="<% $SPUrl:~SiteCollection/Style Library/coe/mainCOE.css%>"
    runat="server"/>
    While using the dynamic path in a multiple languages enabled site, language Id(1033 etc) will be added to the path automatically. That cause the file to be not found.
    To solve the issue, please download  the Arabic language pack http://www.microsoft.com/en-us/download/details.aspx?id=3411 ,
    install it on  your SharePoint and refresh your browser.
    Reference:
    http://sharepoint-community.net/profiles/blogs/cannot-make-a-cache-safe-url-for-1036-sytles-themable-corev4-css
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Add url link in "lightbox style" js gallery

    Hello,
    Can someone help me add a url link in the image description? I am using an "overlay" gallery (prettyphoto) and want viewers to be able to visit a site instead of going to the next image when clicked on images that are websites.
    CSS Code I am using:
    <li><a href="images/work/work-full1.jpg" rel="prettyPhoto[1]" title="Trade Show Panels - 2011"><img src="images/work/work-thumb1.jpg"></a></li>
    <li><a href="images/work/work-full2.jpg" rel="prettyPhoto[1]" title="Local Resource Website - Lake Wylie, SC"><img src="images/work/work-thumb2.jpg"></a></li>
    and so on...
    View gallery in action here:
    click on the work tab.
    http://doubleulabs.com/
    Thanks for any help on this.

    I no longer use lightbox.  I prefer Fancybox because you can do more with it.  Copy & paste  this code into a new, blank document.  SaveAs test.html and preview in browsers.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5, with Fancybox2 and Captions</title>
    <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <!--LATEST JQUERY CORE LIBRARY-->
    <script src="http://code.jquery.com/jquery-latest.min.js"></script>
    <!--FANCYBOX plugins-->
    <link href="http://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.4/jquery.fancybox.css" rel="stylesheet" media="screen">
    <script src="http://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.4/jquery.fancybox.pack.js"></script>
    <style>
    /**LINKS**/
    a {text-decoration:none}
    a:link {color:#FF0}
    a:visited {color:#920000}
    a:hover, a:active, a:focus {text-decoration:underline}
    /**this styles image container**/
    #thumbs p {
        float: left;
        width: 180px;
        margin: 10px;
        padding: 10px;
        text-align: center;
        border: 1px solid silver;
        /**rounded borders**/
        -moz-border-radius: 20px;
        -webkit-border-radius: 20px;
        border-radius: 20px;
    /**recommend using same size images**/
    #thumbs img {
        width: 160px; /**adjust width to thumbnail**/
        height: 120px; /**adjust height to thumbnail**/
        opacity: 0.75;
    #thumbs img:hover { opacity: 1.0 }
    /**float clearing**/
    #thumbs:after {
        content: ".";
        clear: left;
        font-size: 0px;
        line-height: 0;
        display: block;
        visibility: hidden;
    </style>
    </head>
    <body>
    <h1><a href="http://fancyapps.com/fancybox/">Fancybox2</a> Viewer with images</h1>
    <h2>Captions contain text and links</h2>
    <div id="thumbs">
    <!--insert thumbnails with links to full size images below-->
    <p><a class="fancybox" data-fancybox-group="gallery" href="http://placehold.it/400x320.jpg" title="optional title" caption="&lt;a href=&quot;http://example.com">Example.com</a>  some plain text here...   &lt;a href=&quot;http://example.com">Example.com</a>"><img src="http://placehold.it/160x120.jpg" alt="Thumbnail 1" /></a> </p>
    <p><a class="fancybox" data-fancybox-group="gallery" href="http://placehold.it/400x320.jpg" title="optional title" caption="&lt;a href=&quot;http://example.com">Example.com</a>  some plain text here...   &lt;a href=&quot;http://example.com">Example.com</a>"><img src="http://placehold.it/160x120.jpg" alt="Thumbnail 2" /></a> </p>
    <p><a class="fancybox" data-fancybox-group="gallery" href="http://placehold.it/400x320.jpg" title="optional title" caption="&lt;a href=&quot;http://example.com">Example.com</a>  some plain text here...   &lt;a href=&quot;http://example.com">Example.com</a>"><img src="http://placehold.it/160x120.jpg" alt="Thumbnail 3" /></a> </p>
    <p><a class="fancybox" data-fancybox-group="gallery" href="http://placehold.it/400x320.jpg" title="optional title" caption="&lt;a href=&quot;http://example.com">Example.com</a>  some plain text here...   &lt;a href=&quot;http://example.com">Example.com</a>"><img src="http://placehold.it/160x120.jpg" alt="Thumbnail 4" /></a> </p>
    <p><a class="fancybox" data-fancybox-group="gallery" href="http://placehold.it/400x320.jpg" title="optional title" caption="&lt;a href=&quot;http://example.com">Example.com</a>  some plain text here...   &lt;a href=&quot;http://example.com">Example.com</a>"><img src="http://placehold.it/160x120.jpg" alt="Thumbnail 5" /></a> </p>
    <!--end thumbs--></div>
    <!--FancyBox function code-->
    <script>
    $(document).ready(function() {
        $(".fancybox")
        .attr('rel', 'gallery')
        .fancybox({
         beforeLoad: function() {
         this.title = $(this.element).attr('caption');
    </script>
    </body>
    </html>
    Nancy O.

  • Page display pblm with styles

    Hello
    I have an html file in an application directory of Tomcat.
    When I open the file in a browser(like File->Open..), the page display is correct.
    I mean it takes the Scripts, Styles directory into consideration and displays correctly.
    But when I open this html file using http://localhost:8080/myProject/abc.html , it displays the page
    with all controls like buttons, textfileds etc. However it is not shown based on the style
    specified in the Styles folder.
    What could be the reason?
    Note: This application is copied from some other system and the style reference is correct. i.e:
    <LINK rel="stylesheet" type="text/css" href='../style/default.css'> and the style folder is in the parent directory
    Pls help

    Oops!!! Got it corrected.
    The problem was this : <LINK rel="stylesheet" type="text/css" href='../style/default.css'>
    and the folder name was Style.
    thnx

Maybe you are looking for