Removing alert box in Add to Cart

Hi,
I really need your help on how to remove the add to cart alert box.
I thought using window.alert=function(msg){}  would help but it removes all the other alert boxes in the site.
Thank you.

I wouldn't remove the alerts all together, just display them in a div.
Here is what I do in the shopping cart.
First open the shopping cart layout ( /Layouts/OnlineShop/shopping_cart-XX -- XX is the country code)
Right above my checkout button (aka: {tag_buybutton} ) I insert this div:
<span class="msg" style="display:none"></span>
Then, in the same layout I insert this code:
<script>
$(function() {
     window.alert = function(msg) {
        msg = msg.replace('ERROR: ','');
        $('.msg').text(msg).fadeIn().delay(5000).fadeOut()
</script>
If you add this code to your site template it will remove all your alerts; this is why you only add the code to your layout.
Hope this helps!

Similar Messages

  • [CS5/JS/ScriptUI]: All contents is removed from tabbedpanel when showing alert box or other Window.

    When I open a new window (an alert box, another scriptUI window, or an old style InDesign dialog) from my non modal ScriptUI interface, the contents inside all tabs on the tabbedpanel of the window disappear completely, and the last tab is selected.
    Other controls, outside the tabbed panel (but in the same window) are left untouched.
    I suspect the error has to do with the tab control. I have been able to recreate the error in an extremely simple window, and I attach the code below.
    #targetengine 'test'
    var Window1 = new Window('palette','Test',undefined);
    buildWindow();
    Window1.show();
    function buildWindow(){
        Window1.tabMain = Window1.add('tabbedpanel',undefined,undefined);
        Window1.tabMain.minimumSize= [450,170];
        Window1.tabMain.Tab1 = Window1.tabMain.add('tab',undefined,"Tab 1");
        Window1.tabMain.Tab1.Static1 = Window1.tabMain.Tab1.add('staticText',undefined,"Text on tab 1");
        Window1.tabMain.Tab2 = Window1.tabMain.add('tab',undefined,"Tab 2");
        Window1.tabMain.Tab2.Static1 = Window1.tabMain.Tab2.add('staticText',undefined,"Text on tab 2");
        Window1.tabMain.Tab1.btnTest = Window1.tabMain.Tab1.add('button',undefined,"Test");
        Window1.tabMain.Tab1.btnTest.onClick = function(){alert('btnTest_onClick')};
        // Trying with calls to layout . (This button is not affected by the alert showing - only controls inside the tabbed panel)
        Window1.btnLayout = Window1.add('button', undefined, 'Window1.layout.layout()');
        Window1.btnLayout.onClick = function(){Window1.layout.layout()};
    The interface works well in CS4, and also if I make the window modal (by creating it as a "dialog").
    In CS5, the result is this:
    Calling layout.layout() or layout.resize() doesn't do anything.
    If someone else would like to try my code, do you get the same effect?
    Is the behaviour known?
    Is there a way to prevent this from happening for non modal ScriptUI windows?
    Best regards,
    Andreas Jansson

    Thanks Marijan, for testing and letting me know!
    I filed a bug report now. We would perhaps have to "force" a couple of our clients to an upgrade from CS5 to CS5.5 in order to beat this bug and get it working, unless Adobe acknowledges it quickly, which I don't count on.
    No good news then... I took for granted that the interface would work in CS5 if I made it in CS4.
    (The thing that I was mostly concerned about was a tree view which I tested in Mac/PC and on CS4/CS5. Not the "tabbed panel"...)
    Andreas
    Adding this answer I got from Adobe:
    Monday, November 21, 2011 2:21:03 AM PST
    Hello Andreas,
    I was able to replicate this problem with InDesign CS5. This bug seems
    to have already been fixed as a side effect of some code change within
    InDesign CS5.5.
    I have logged this under bug # 3050997. This will now be worked upon by
    InDesign engineering and should be fixed soon.
    I'll keep you informed about updates on this bug.
    Message was edited by: Andreas Jansson. Response from Adobe added.

  • Acrobat v9 JavaScript Alert Box - any way to add space or line break after each array item?

    I have a Document level Javascript used to identify blank required fields and is triggered on document actions, Print and Save. The script identifies the blank required fields, counts them, and outputs to an Alert box indicating the number of required fields blank and lists the fields by tooltip name. The script identifies the required fields by an asterisk at the end of each tool tip.
    My question is there any way to add a space or a line break after the comma for each listed item?
    Here is an image of the output where the listed items are all run together.
    Here is the code:
    function validateFields()
    //a counter for the number of empty fields
    var flg = 0
    // count all the form fields
    var n = this.numFields
    //create an array to contain the names of required fields
    //if they are determined to be empty
    var fArr = new Array();
    //loop through all fields and check for those that are required
    // all fields that have a '*' in their tool tip are required
    for(var i = 0;i<n;i++){
    var fn = this.getNthFieldName(i);
    var f = this.getField(fn);
    //tool tip is the fields\'s 'userName' property;
    var tt = f.userName
    //test for the '*';
    if(tt.indexOf('*')!=-1 && f.value == f.defaultValue){
    //increment the counter of empty fields;
    flg++;
    //add the fields userName (tool tip) to the list of empty field names;
    fArr[fArr.length] = tt;
    //now display a message if there are empty fields
    if(flg>0){
    app.alert('There are '+flg+' fields that require a value\n\n'+ fArr,3)
    else{
    this.print();

    Thank you! The alert box array items now have a line break, image below.  You know you have made my day and possibly several weeks as now I have more understanding about how to apply everything I have been reading in the Acrobat JavaScript guide and of course as soon as you pointed out using a "join", that triggered some old-days of working with Access and SQL queries.
    I will work on the required attribute to see how I might reference it.  I am laughing at myself now - good luck to me in figuring it out as I was very stick-in-the-mud regarding the line break issue.
    Thanks again and here is the result of the updated code:

  • IStore Add to cart Check Box

    Hi
    We have 3 price list for an Operating unit say A, B and C.
    When price list B and C is assigned to customer. The Check box next to add to cart is not Visible. Check box next to add to cart is visble when using price list A.
    iStore R12 release : 12.1.3
    Please help,
    Thanks in Advance.

    Hello,
    This indicates you have enabled pricing security (QP: Security Control is ON) and that you have setup non-Global price lists.
    iStore only references one Inventory Organization that is tied to the Operating Unit of the user's responsibility as set in "MO:Operating Unit" for multi-org.
    In a multiple-Operating Unit (OU) setup, you need to create a separate IBE customer responsibility to link to different OUs.
    The OU associated with a customer when he places an order is determined by the settings of two multi-org profile options -
    "MO: Security Profile" when this setup for Single OU access for that responsibility
    OR
    "MO:Operating Unit" when the "MO: Security Profile" is set to multiple OUs,
    When you setup non-Global price lists, the price lists can only be used in the specified Operating Unit.
    Please check you setups of the Price List and determine if your iStore price lists should be Global price lists. Check the setups of the multi-org profile options for the iStore customer responsibilities.
    Reference:
    Oracle® iStore Implementation and Administration Guide Release 12.1 Part No. E13575-06
    Page 17-3
    Step 3 - Set up Oracle iStore Customer Application Responsibilities
    Oracle® Advanced Pricing User's Guide Release 12.1 Part No. E13427-04
    Page 2-5
    Creating a Price List
    Regards
    Debbie

  • When I try to install "Addblock Plus", a pop-up box displays "Add-on downloading", and "unknown time remaining - 0 bytes (0 bytes / sec)". My local area connection status box shows that it is connected but that nothing is being received.

    I am using Firefos 9.0.1 under Windows XP. I use Avast anti-virus. My Add-ons bar is empty. I have not initiated the installation of any plug-ins. Downloads keeps no record of my attempts.

    Thank you for your interest mha007. This is an update on my evenings activities so far.
    I have done that trouble shooting with results, as follows:
    Started in safe mode
    In Tools/Options/Advanced/General, I unchecked "Use hardware acceleration when available"
    Clicked on Tools/Add-ons
    "Get add-ons" displayed "Loading" indefinitely
    All 5 Extensions are dis-abled: it suggested that I remove "Microsoft.net framework assistant 1.2.1" & "Test pilot 1.2".
    On "Microsoft.net framework assistant 1.2.1" I Clicked "Remove". It remained but with version 0.0.0.
    On "Test pilot 1.2" I clicked "Remove". It disappeared.
    The single Appearance "Default 9.0.1" is disabled
    None of the 16 plug-ins are disabled.
    I clicked on Add-ons and "Get add-ons" displayed "Loading"
    Several minutes later I found that, "Add-ons" had loaded.
    I clicked on "Most popular" and then on "Add to Firefox " within "Adblock plus"
    A pop-up box displayed "Add-on downloading", and "unknown time remaining - 0 bytes (0 bytes / sec)".
    Within a minute, a Firefox "Alert" pop-up window opened with the message: "An error occurred during a connection to www.mozilla.org:443 / The OCSP server experienced an internal error. / (Error code: sec_error_ocsp_server_error)"
    I bookmarked the "Most popular add-ons page"
    I closed Firefox and opened it again - not in safe mode.
    Clicked on Tools/Add-ons. "Get add-ons" displayed "Loading".
    In Extensions, on "Microsoft.net framework assistant 1.2.1" I Clicked Disable", and Restart Firefox
    I clicked on Tools/Add-ons. "Get add-ons" displayed "Loading". Message displayed "Connected to services.add-ons.mozilla.org. Waited.
    10 minutes later I opened a new tab and clicked on the "Most popular add-ons page" bookmark. Message displayed "Connected to add-ons.mozilla.org". Waited.
    15 minutes later, neither of the tabs had responded. I re-started firefox in safe mode
    I clicked on Tools/Add-ons. "Get add-ons" displayed "Loading". Message displayed "Connected to static-ssl-cdn.addons.mozill.net"
    Using the new tab from above which was not active on restart, I clicked on the "Most popular add-ons page" bookmark.
    The bookmarked page opened. I clicked on "Add to Firefox " within "Adblock plus"
    Again, a pop-up box displayed "Add-on downloading", and "unknown time remaining - 0 bytes (0 bytes / sec)". (No Alert this time).
    I don't know what to read into all of this. Any advice on what the next best thing to do would be appreciated.

  • HTML in Alert Box

    Fairly new to Flex, but I have attended "Flex2: Developing
    RIA" class. Working on a fairly complex Flex app that gets data via
    WebServices. Unfortunately some of the data, i.e., product names
    and descriptions are html based.
    Does anyone know if and how I might be able to render the
    html inside of an Alert box or custom pop-up box? Or at minimum,
    remove all html tags from the data prior to displaying (not best
    option, but still cleaner).
    Thanks in advance!

    Great question.
    The first step to figuring out the answer is understanding both the Wallaby HTML structure and CSS3. I highly suggest taking a look at the various tutorials we have at http://labs.adobe.com/wiki/index.php/Wallaby:Technical_Tips.
    What you really want here is to add an event listener for the 'webkitAnimationEnd' event.
    If you look at the Wallaby structure of your output, you'll notice that each of the Ponds tubes are contained in a
    with the wlby_1 class attached. Looking at the CSS file you see that wlby_1 defines a -webkit-animation-duration of 2.04167s. This is the total length of your animation. You should also notice that for each
    associated with a tube there is a
    with the display style of 'none' (i.e. the ones with wlby_5, wlby_9, wlby_11, and wlby_13). These are used to get the delays before the various tubes come onto the stage.
    You might think to add a listener on 'wlby_1' but that would end up getting called at the end of the animation of each tube. What you really want in this case is to get a hit only on your last tube. From looking at your animation this is obviously the blue tube which is animated by the wlby_14 class.
    So, what you want is to add a listener in the  section of your HTML like this:
    $('.wlby_14').each(function()
    { this.addEventListener('webkitAnimationEnd', function(evt) { alert('end'); }) });
    Alternatively you could modify the wlby_14 div to have an identifier (i.e. id="last") and then do:
    last.addEventListener('webkitAnimationEnd', function(evt) { alert('end'); });
    I've tested out both of these locally with your output and they worked as expected.

  • Is it possible not to update Product Stock Quantity upon ADD TO CART event?

    Greetings,
    Is it possible that the Product Stock Quantity (In Stock) not to be updated on Add to Cart event or when the basket still exist?
    And the updates/decrease of quantity will only happen when the customer have successfully paid or checked out.

    Not at the moment no. BC removes the item from the system on add to cart.

  • Centering an Alert box.

    I have a flex web application in which the flex components are embedded inside portal jsps. When the user clicks on a datagrid (clicks on item renderer inside the datagrid), the Alert box has to notify the user. However the alert box centers itself wrt the flex application and it goes out of the user's view. Because the user can view only a portion of the large datagrid at a particular time (scrollbars for the page are present, not for the datagrid).
    I have tried assigning absolute and relative values, but nothing seems to work.
    Any suggestions woudl be greatly appreaciated.
    Thanks in advance.

    I've run into a similar situation and here is what I did to resolve it without using the move method...
    Say you have an application that has a layout container which contains a custom component in it somewhere
    Application
           |--->HGroup
                        |---> CustomComponent (the one that calls the alert box)
    if your alert box code looks like this:
    Alert.show(
    "Your Alert Message Here!","Your Alert Title Here...",0x4,this,null,null);
    Your alert box will appear centered over the custom component which called it.
    Add an id to the container you want the alert box centered on:
    Application
           |--->HGroup id="myContainer"
                        |---> CustomComponent (the one that calls the alert box)
    Change your alert box code to look like this:
    Alert.show(
    "Your Alert Message Here!","Your Alert Title Here...",0x4,this.parentApplication.myContainer,null,null);
    This will center the alert box over the HGroup layout container that has its id property set to myContainer.
    The example above sets the parent property of of the Alert class show method:
    public static function show(text:String = "", title:String = "", flags:uint = 0x4, parent:Sprite = null, closeHandler:Function = null, iconClass:Class = null, defaultButtonFlag:uint = 0x4):Alert
    So if I'm understanding your issue correctly... regardless of the size of your viewport you'll maybe want a dynamic method to determine the id porperty of the layout container currently being displayed within the viewport, and then center your alert box over that container via the method above.
    I hope this helps.

  • Image gallery approach for additional details and add to cart option?

    With efficiency and minimalist downloads for smartphone users I would appreciate advice on a product image gallery.
    Currently I have an intro page and other simple information pages. My gallery pages ( four distinct pages for different leather goods) need  either a pop up or a link to a new page for additional details and an option to add to cart.
    Within the image gallery, How should I link each photo to the new detail/cart page? Can clicking  the image itself be the action or do I need a button?

    I made a mistake. I think I got it right this time. The pop up of the title box works but the images are all gone.
    <!DOCTYPE>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>Lapinel Arts Leatherwork</title>
    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
    <link href='http://fonts.googleapis.com/css?family=Overlock:400,700|Simonetta:400,900|Marcellus|Junge' rel='stylesheet' type='text/css'>
    <style>
    box-sizing: border-box;
    body {
    margin: 0;
    padding: 0;
    background: #fff;
    font: 14px/20px 'Lucida Sans',sans-serif;
    .wrap {
    overflow: hidden;
    .box {
    float: left;
    position: relative;
    width: 25%;
    text-align: center;
    margin-bottom: 24px;
    .boxInner {
    position: relative;
    text-align: center;
    margin: 0 12px;
    overflow: hidden;
    img {
    max-width: 100%;
    .titleBox {
    position: absolute;
    bottom: 0;
    width: 100%;
    margin-bottom: -70px;
    background: #000;
    background: rgba(0, 0, 0, 0.5);
    color: #FFF;
    padding: 10px;
    text-align: center;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    .titleBox h2 {
    font-size: 16px;
    margin: 0;
    padding: 0 0 5px 0;
    .titleBox a {
    text-decoration: none;
    color: #fff;
    .boxInner:hover .titleBox {
    margin-bottom: 0;
    @media only screen and (max-width : 768px) {
    .box {
    width: 50%;
    margin-bottom: 24px;
    @media only screen and (max-width : 480px) {
    .box {
    width: 100%;
    @media only screen and (max-width : 1290px) and (min-width : 1051px) {
       /* Medium desktop: 4 tiles */
       .box {
          width: 25%;
          padding-bottom: 25%;
    </style>
    <style>
    section, header, nav {
    display: block;
        box-sizing: border-box;
    body{
    font-family: 'Marcellus', normal;
    background-image: url(DRA-042010-LeatheryTexture-MBFT.jpg);
    font-size: 90%;
    line-height: 140%;
    color: #555;
    margin: 0;
    padding: 0;
    background-color: #FFF;
    #hover-image {
    background-color: #cfc6b0;
    text-align: center;
    img {
    max-width: 100%;
    height: auto;
    .container {
    width: 85%;
    max-width: 1000px;
    margin: 0 auto;
    color: #000;
    header h1 {
    font-size: 300%;
    line-height: 150%;
    text-align: center;
    letter-spacing: 4px;
    padding: 20px 0;
    color: #000;
    font-weight: bold;
    /* top level navigation */
    nav {
        background-color: #E5E4E2;
    nav ul {
    display: block;
    text-align: center;
    margin: 0;
    padding: 0;
    nav li {
    margin: 0;
    padding: 0;
    display: inline;
    position: relative;
    nav a {
        display: inline-block;
        text-decoration: none;
        padding: 10px 25px;
        color: #000;
    nav a:hover {
        background-color: #cfc6b0;
        color: #000;
    nav span {
    display: none;
    /* droplist navigation */
    nav ul ul {
    position: absolute;
    z-index: 1000;
    left: 0;
    top: 2em;
    background-color: #E5E4E2;
    text-align: left!important;
    display: none;
    nav ul ul li a {
    display: block;
    width: 12em;
    border-top: 1px dotted #ccc;
    .about {
    padding: 0 8%;
    margin: 0 auto;
    text-align: center;
    background-color: #E5E4E2;
    .about h2 {
        font-size: 260%;
        line-height: 200%;
        margin: 0;
        padding: 0;
        color: #000;
    .about p {
    font-size: 110%;
    line-height: 150%;
    margin: 0;
    padding: 0 0 20px 0;
    .productsWrapper {
    background-color: #000;
    overflow: hidden;
    padding: 30px 25px;
    .product {
    float: left;
    width: 25%;
    padding: 12px;
    text-align: center;
    color: #fff;
    .product img {
    border: 1px solid #fff;
    .view_details {
    text-decoration: none;
    display: inline-block;
    padding: 15px 20px;
    border-radius: 6px;
    border: 1px dotted #ccc;
    color: #555;
    background-color: #fff;
    .view_details:hover {
    background-color: #E5E4E2;
    #mobileTrigger {
    padding: 10px 25px;
    font-size: 120%;
    display: none;
    color: #000;
    footer {
    clear: both;
    background-color: #cfc6b0;
    padding: 30px;
    color: #fff;
    text-align: center;
    overflow: hidden;
    footer a {
    text-decoration: none;
    color: #000;
        float: left;
        width: 33.33%;
        color: #000;
        border: #000
    .footerBox {
        float: left;
        width: 33.33%;
        color: #000;
    @media screen and (max-width: 768px) {
        .container {
    width: 100%;
    .product {
    width: 50%;
    #mobileTrigger {
    display: block;
    text-align: right;
    nav ul {
    display: none;
    nav li {
    display: block;
    text-align: left;
    nav a {
    display: block;
    font-size: 120%;
    border-top: 1px dotted #ccc;
    nav span {
    display: inline-block;
    float: right;
    font-size: 130%;
    /* droplist navigation */
    nav ul ul {
    position: static;
    nav ul ul li a {
    width: 100%;
    @media screen and (max-width: 480px) {
    .product {
    float: none;
    width: 100%;
    body,td,th {
    font-family: Marcellus, normal;
    #copyright {
    color: #000;
    font-weight: bold;
    </style>
    <script type="text/javascript" src="http://lapinelarts.com/JS/jquery-1.11.2.min.js"></script>
    <script type="text/javascript" src="http://lapinelarts.com/JS/jquery.cycle2.min.js"></script>
    <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
    <script>
    $(document).ready(function() {
    //activate mobile navigation icon when window is 768px
    $('#mobileTrigger').css('cursor','pointer').click(function() {
    $('#mobileTrigger i').toggleClass('fa-bars fa-times');
    $('nav ul').toggle();
    // show main desktop navigation onresize/hide sub navigation
    $(window).on('resize', function(){
    var win = $(this); //this = window
    if (win.width() > 768) {
    $('nav ul').show();
    $('nav ul ul').hide();
    //listen for navigation li being clicked
    $('nav ul li').click(function() {
    $(this).find('ul').slideToggle();
    //toggle font awesome icons
    $(this).find('i').toggleClass('fa-bars fa-times');
    //events if window is less than 768px
    if ($(window).width() < 768) {
    //stops submenu sliding up when mouse leaves mobile
    $('nav ul ul').show();
    else {
    //activate desktop submenu on hover
    $('nav ul li').mouseenter(function() {
    $(this).find('ul').slideToggle();
    //toggle font awesome icons
    $(this).find('i').toggleClass('fa-bars fa-times');
    //desktop submenu slides up when mouse leaves ul/li
    $('nav ul ul').mouseleave(function() {
    $(this).slideUp();
    $('nav ul li').mouseleave(function() {
    $(this).find('ul').slideUp();
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script>
    <style type="text/css">
    </style>
    </head>
    <body onLoad="MM_preloadImages('810_0776_smaller.jpg')">
    <header>
    <h1>LAPINEL ARTS LEATHERWORKS</h1>
    <nav>
    <div id="mobileTrigger"><i class="fa fa-bars"></i></div>
    <ul>
    <li><a href="#">ABOUT US</a></li>
    <li><a href="#">PROCESS</a></li>
    <li><a href="#">PRODUCTS<span><i class="fa fa-bars"></i></span></a>
    <ul>
    <li><a href="#">PURSES</a></li>
    <li><a href="#">POUCHES</a></li>
    <li><a href="#">TOTES</a></li>
    <li><a href="#">WALLETS</a></li>
    </ul>
    </li>
    <li><a href="#">CART</a></li>
    <li><a href="#">CONTACT</a></li>
    </ul>
    </nav>
    </header>
    <section class="about">
    <h2>PURSES</h2>
    <p>There are several styles and sizes of purses available. Custom orders can be arranged but most of these purses are unique and with limited runs of art styles.</p>
    <p>Please click on the detail button for larger and additional views and the opportunity to add the item to your cart.<strong></strong></p>
    </section>
    <div id="hover-image">
    <div class="wrap">
    <!-- Define all of the tiles: -->
    <div class="box">
    <div class="boxInner">
    <img src="http://oddiant.poatemisepare.ro/wp-content/uploads/Viceroy-Butterfly-Limenitis-archippus.j pg" />
    <div class="titleBox">
    <h2>Butterfly</h2>
    <a href="http://www.bbc.co.uk">View Details</a>
    </div>
    </div>
    <!-- end boxInner -->
    </div>
    <!-- end box -->
    <div class="box">
    <div class="boxInner">
    <img src="http://oddiant.poatemisepare.ro/wp-content/uploads/Viceroy-Butterfly-Limenitis-archippus.j pg" />
    <div class="titleBox">
    <h2>Butterfly</h2>
    <a href="http://www.bbc.co.uk">View Details</a>
    </div>
    </div>
    <!-- end boxInner -->
    </div>
    <!-- end box -->
    <div class="box">
    <div class="boxInner">
    <img src="http://oddiant.poatemisepare.ro/wp-content/uploads/Viceroy-Butterfly-Limenitis-archippus.j pg" />
    <div class="titleBox">
    <h2>Butterfly</h2>
    <a href="http://www.bbc.co.uk">View Details</a>
    </div>
    </div>
    <!-- end boxInner -->
    </div>
    <!-- end box -->
    <div class="box">
    <div class="boxInner">
    <img src="http://oddiant.poatemisepare.ro/wp-content/uploads/Viceroy-Butterfly-Limenitis-archippus.j pg" />
    <div class="titleBox">
    <h2>Butterfly</h2>
    <a href="http://www.bbc.co.uk">View Details</a>
    </div>
    </div>
    <!-- end boxInner -->
    </div>
    <!-- end box -->
    </div>
    <!-- end wrap -->
    <footer>
      <div class="footerBox"><a href="mailto:[email protected]">EMAIL CATHY </a></div>
    <div class="footerBox"><a href="https://www.facebook.com/LapinelArtsLeatherwork"> FACEBOOK</a></div>
    <div class="footerBox">COPYRIGHT 2015</div>
    </footer>
    </div>
    </body>
    </html>

  • How to run alert box when document opens

    I am using Acrobat 9 and would like an alert box come up when the document is opened. I have successfully gotten an alert box to pop up using the script below when saving using document actions, but do not know how to make it execute when the document opens. Can anyone tell me how to modify this to add it to Javascript actions so it will run when the document opens? Thank you!
    app.alert("Save your completed form and email as an attachment to [email protected]", 0, 0,)

    It's not a questions of modifying it, but placing it in the right location.
    You need to go to Advanced - Document Processing - Document JavaScripts...
    Then create a new script, clear the contents of the window that opens (the
    function declaration) and paste this line of code instead.
    Save the file and that's it.

  • Alert Box on tabular form

    Hi,
    I have a tabular form with only one column, and the column is NOT NULL ENABLE.
    So may I know is it possible to show an alert box in tabular form if user didn’t fulfill the required field?
    In fact, I have created a new button and hide the main button already.
    And I have already added JavaScript in region’s footer, however, the alert box still popup even when I have already key in data in the required field. It is because I can’t able point the new button to the field which is NOT NULL ENABLE.
    Any suggestions are appreciated.
    Thanks.

    Hi Gus,
    Create a normal submit button - in my example, this is called "SUBMIT". When it's created, edit it attributes and change the following:
    Target is a: URL
    URL Target: javascript:notNull('f03');
    Then add the following to the form region's Region Header:
    <script type="text/javascript">
    function notNull(fld)
    var flds = document.getElementsByName(fld);
    var f;
    var e = 0;
    if (flds)
      for (var k = 0; k < flds.length; k++)
       f = flds[k];
       if (f.value == "")
        f.style.backgroundColor = "yellow";
        e = 1;
       else
        f.style.backgroundColor = "white";
    if (e == 1)
      alert("Highlighted fields are required!");
    else
       doSubmit("SUBMIT");
    </script>In this example, the column I'm validating is "f03" but check doing a View Source on your page to get the right "name" attribute for your column.
    Andy

  • Doesn't recognize currently installed Photoshop 14. Alert box says I need to upgrade to Photoshop 14 or higher.

    I am trying to install a Photoshop panel designed for Photoshop 14 and 15. We have Photoshop 14 (Photoshop CC) installed and I received an alert box stating I need to upgrade to Photoshop 14 or higher. I removed Photoshop CS6 from the computer and wonder if there are residual Photoshop CS6 files still on the computer. Should I remove the extension manager and reinstall it? How can I find all of Photoshop CS6 remnants and remove them? This Photoshop panel installed perfectly on my MacBook air also running Photoshop CC. This problem seems computer specific. Thanks

    I wonder which version of Extension Manager you used. To support Photoshop CC, you have to use Extension Manager CC. Extension Manager CS6 only supports CS6 products. If you did use Extension Manager CC, could you see Photoshop CC in the left panel of Extension Manager CC? If only "Others" is shown there and you haven't moved or renamed PS installation folder, there should be something wrong in Product Configuration Database (PCD). You have to reinstall PS CC. It has nothing to do with PS CS6.

  • When loading Elements 10 why did it remove my Nic Software add-ons in Lightroom 3?

    I have uninstalled and reinstalled the Nic programmes but no success. And it is all now so slow that i am thinking of reinstalling everything. With Windows 7, 8 gb of memory and and i5 Intel processor, my computer should be able to handle this. Elements 7 was already there and working well, so I must have done something wrong. Any suggestions?
    Thanks,

    thanks for the advice. I will try it outDT
    Date: Mon, 15 Oct 2012 00:41:57 -0600
    From: [email protected]
    To: [email protected]
    Subject: When loading Elements 10 why did it remove my Nic Software add-ons in Lightroom 3?
        Re: When loading Elements 10 why did it remove my Nic Software add-ons in Lightroom 3?
        created by earth-star in Photoshop Elements - View the full discussion
    Hi, After installing NIK plug-ins, Please check on C:\Users\[user name]\AppData\Roaming\Adobe\Lightroom\External Editor Presets folder.Here you can see some Nik- plugins templates , open any template in Notepad and see "ExternalEditorFullPath" verify this path is right and whether .exe file is present at this location or not.Also verify the status of this path and .exe location after using the PSE.I am confident, this is the issue of file path mismatch. Thanks,earth-star.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/4774142#4774142
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4774142#4774142
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4774142#4774142. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Photoshop Elements by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • When visiting gmail and sometimes facebook, on my mac, the page doesn't load fully and I get an empty old styled alert box that cannot be closed.

    It seems that when I visit gmail, occasionally, only the top part of the page loads and i get one of the old alert boxes. This alert box, however, doesn't have a message; it is blank. i can click 'ok' or 'cancel', but it does nothing.
    I have a few plugins, and had to disable them. I do keep Firebug, however. and web devloper toolbar since I use FF for developing.
    I have not noticed this on my PC version of FF.
    this error happened with FaceBook once or twice as well, but it happens more with Gmail.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Customize modal popup after "add to cart"

    So after you click "add to cart" my client wants a modal pop-up to work like Targets.
    http://www.target.com/p/apple-ipod-touch-16gb-mp3-player-4th-generation-with-touch-screen- wi-fi-black-me178ll-a/-/A-14000297#prodSlot=medium_1_1 (click add to cart)
    The big thing is to have a VIEW CART button on this modal.  I read the page that says how to change the text for the modal pop-up, but not how to insert images or button.  Anyone have any ideas?
    - Also being able to add "recomended items" for this modal as well

    Liam is right. This is some heavy coding. However, if you want to take stab at it, Here are a few starting points.
    1) js.cookie
    2) your favorite modal code
    3) you will have to run a seperate function along with the add to cart function
    4) you may have to supress the alert window when adding an item to cart
    5) as far as view cart in the window, this would be the easy part.
    With a little research and  firebug you can figure it out.

Maybe you are looking for

  • IOS6 bug in music app

    After upgrading to iOS6 on my iPhone4 the music app no longer has a "Add all" option on the playlist/album/tracks screen. Bug or feature?

  • What does AT END OF do in a loop

    Hi all, can you please tell me what is the meaning of AT END of in this loop.  I know it is calculating summation  of a values in the structure XTAB4, but I am not able to understand why is CHARG specified. Can anyone please help me. LOOP AT XTAB4.  

  • Can I print a document formatted for a smaller page size on larger paper?

    I have a document that is formatted for a small size for a booklet using a customer paper size setup, 21 x 24 cm. I want to print this on A4 paper for proofreading. But when I do so, the printer (a Brother laser printer) spits out giant pages enlarge

  • Questions for Audit management

    Can any body work in auditmanagement any body know kindly guide me  how to upload auditquestions

  • Changed iPhone name, now have two sets of iCloud bookmarks

    Hi, I recently restored my iPhone 5 and also decided to change the name from the default.  I now have two sets of icloud bookmarks, one from the old iPhone name and one under the new name.  This is present on both my iPhone and my Macbook Prp.  How d