Insert HTML in accordion (Shopify problem)

I get the following error when I try to add a button "buy" Shopify in an accordion:

JavaScript exception: error calling the function switch: TypeError: undefined is not an object (assessment ' [b] c.buttons. $element')

This only happens when the HTML code provided by Shopify is inserted into the content expanded section of the accordion - if I put the button in the label, it works very well.

No idea how I can fix this?

The Shopify HTML is:

< div data-embed_type = 'range' data-shop = "webster - adventures.myshopify.com ' data-product_name ="Weekdays morning flight"data-product_handle = 'day of the week-morning-flight' data-has_image = 'false' data-display_size ="compact"data-redirect_to = 'basket' data-buy_button_text = 'Good buy' data-buy_button_out_of_stock_text = 'sold out' data-buy_button_product_unavailable_text ="Not available"data-button_background_color ="ff5a00"data-button_text_color = 'ffffff' data-product_modal = 'false' data-product_title_color = '000000' data-next_page_button_text = 'Next Page' > < / div >

< script type = "text/javascript" >

document.getElementById ('ShopifyEmbedScript'): document.write (' < script type = "text/javascript" src = "https://widgets.shopifyapps.com/assets/widgets/embed/client.js" id = "ShopifyEmbedScript" > < \/script > ');

< /script >

" < noscript > < a href =" https://Webster-adventures.myshopify.com/cart/23078506695:1 "target ="_blank"> weekdays morning flight purchase < /a > < / noscript > "

I understand there is a conflict with the Javascript, but I don't know if there is a solution.

Thank you

the page is not set... I met this before with shopify and worked around it by putting the script inside an iframe

Demo = s2

understand that shopify code is not compatible with many blocks of whitch browsers followed, but that is a different post.

Tags: Adobe Muse

Similar Questions

  • Inserted HTML problem

    I have some html that I'm trying to insert. I tried too stick and insert using "insert html" in the subject. The HTML 'object' comes without a problem, but it shifts my footer right without apparent reason. Remove the object and everything returns to normal. I pasted the HTML below to see if anyone can sport the glitch.

    Paul

    < div id = 'contact form' >

    " < form action =" http://www.galesendpress.com/cgi-bin/GEP-contact.pl "method ="post"id ="contact form"> "

    < fieldset >

    < p > < label for 'contact' = > name: < span > * </span > < / label > < br / > < input class = 'text' type = "text" name = "contact" id = 'contact' alt = 'your name' / > < /p >

    < p > < label for 'email' = > Email: < span > * </span > < / label > < br / > < input class = "text" type = "text" name = "email" id = "email" alt = "email address" / > < / p >

    < p > < label for 'message' = > Message: < / label > < br / > < textarea cols = "40" lines = "10" name = "message" id = "message" > < / textarea > < / p >

    < div >

    < input class = "submit" type = "submit" value = "Send Message" alt = "submit button."

    OnClick = "if (this.form.email.value ==" |) "

    This.Form.contact.value == "|

    This.Form.Phone.value == "|

    This.Form.Subject.value == "|

    This.Form.message.value == ") {alert ('Please fill in all the fields before sending your message'); return false ;};} "/ >

    < / div >

    < / fieldset >

    < / make >

    The HTML code you are trying to insert is not valid.

    You are missing a closing for your opening div tag make sure you copy all the code embed everywhere where you get this HTML code from.

  • Cc of the Muse, object &gt; insert html problem

    Select object > inserer insert HTML, paste the code and I get a box with an 'x' in the upper left corner.  It was working fine a few days before, what was wrong?

    Please try to get a glimpse in the browser, then check.

    Thank you

    Sanjit

  • Windows Mail - insert HTML signature?

    Greetings,
    Using Windows Mail (Vista), I tried to follow the instructions: http://www.timeatlas.com/mos/Email/General/Create_Image_Signatures_in_Windows_Mail_or_Live_Mail/
    When insert > file htm or html Signature, email image won't display, only a red X. So I kept Live Mail tips, with the same result.
    Bed Notepad the HTML code and maintains the path information.
    the same file to be opned in widows Mail REMOVES the path information.

    Basically, it seems once I saved the HTML it adds or removes information, which makes the image is no longer visible.

    Windows Mail - insert HTML signature?
    (1) path Info IS recorded and visible in Notepad.
    (2) Windows Mail is to REMOVE the path information
    [url = http://img19.imageshack.us/i/widowsmailhtml.jpg/] [img = http://img19.imageshack.us/img19/4718/widowsmailhtml.th.jpg] [url]

    Hey sadicus,

    Welcome to the Microsoft Answers Forum!

    1. this problem may occur if the Windows Mail is unable to locate the source of the image to be included in the e-mail message.

    2. to resolve this problem, use a text editor (such as Notepad) to edit the custom signature HTML file to add the full path of the location of the graphics file information before sending the e-mail message.  Here is an example of the code without the path:

    3. This example of HTML refers to the Test.gif file. Only the source of the image (img src) information, lists the file name, but does not list the path to the files. In this example, you would change the HTML code:

    4 take a look on the link below for more information on changing the settings of Signature:

    http://windowshelp.Microsoft.com/Windows/en-us/help/16a3d6df-C247-4168-A576-c29d07c746ef1033.mspx#EYB

    I hope that the information above helps you.

    Kind regards

    Manasa P-Microsoft Support

  • Muse 2015 CC Embed Google Map using Insert HTML code

    I created a Google map with pins and copy paste the Embed code in Muse insert HTML Widget. Map Google maps works fine and shows well.
    However, my problem is that the page footer master disappears from the page I put the Google map HTML Embed code on.

    Here's a page of the map with Google map Embedded: Stewart pinned products factory map


    Any ideas how I can get the footer to display?
    In the Muse, miniature Site map page shows the footer displays incorrectly under the map of Google and when I view the page in design view, it also displays the footer. Only when I saw or test in all browsers does the footer.

    I think this could be a a fixed a bug that needs.

    Misspelling in your embed code:

    Missing closing quotes after 488.

  • Inserted HTML does NOT have the content during resizing

    Hello

    We are building a website for a hotel and are required to register their channel Manager module in the site. To do this, you must follow these steps:

    1 paste the JavaScript code into the head section to load the module.

    2. place a small line of code with "insert HTML" in the site where the module should appear and that's all.

    The module is generated by a script the way Manager Server server-side and stuck in an iFrame is also generated by this same script. The thing is: it is resized at the height of the iFrame according to the content displayed in the iFrame. So we start by 301 px height when we call the page and search free rooms. The results are displayed on a 1400 px iFrame, which resizes properly when displaying results.

    THE PROBLEM: Footers stays put and the iFrame works behind her and out of the view port. There is also no scroll bar appears allowing me to scroll to the bottom of the iFrame.

    We got three layers:

    3 layer (containing and footer top navigation, both defined in a master page that is applied to the content page)

    2. content layer (containing the HTML inserted with the generated iFrame)

    1 background (well, it contains substantive items)

    WE NEED: The footer to be pushed by resizing never iFrame and get a scroll bar when necessary due to the height of the iFrame.

    What we're doing wrong?

    We just found the solution:

    If correct you the position of the html box inserted (in our case high in the Center), do not push any content. I don't know how the html-box has been checked in the first place, but the moment where I removed the position fix fromt the HTML, everything worked as expected. We will now try to return to the master page on the booking page, and everything will be good. Thank you for your comments, he did we check everything twice.

  • Can I insert html objects 5 in muse?

    I'm trying to insert an html object in a muse doc, something I've done many times. This object is a video w/skin, but after I paste in the code, instead of seeing the little spinning wheel treatment, there is nothing. Not even an error message. Any ideas as to what could cause this problem? Any help would be greatly appreciated.

    Thank you!

    Paula

    The problem is probably that you have not downloaded the video on the server. When you embed the HTML code using the Insert HTML code it does not actually download the video - just the code. A gift that what is happening is that your src in code the links in a media folder. If you had downloaded through Muse, it would be in an active case. If download you through muse can change the part of the code that says media and change in assets.

  • insert html in a composition in muse

    Hi, I am trying to insert html into a publication in Muse.  I would like to have a clickable button trigger, and then a sort of superposition opens with an interactive calculator inside.  I have the HTML for the calculator, the problem is no matter how I try to insert into the Muse, the calculator either disappears for some reason (as well as the trigger), or the calculator stays on the page all the time, losing all clickable effect.

    Can someone tell me the best way to do it?

    Hello

    The Composition of which you are trying to use? White, Star News, Lightbox display, presentation or Tooltip?

    Also make sure to drag and drop the HTML window inserted above the target (border of the target is enabled once you move on), I hope that it will work.

    I even created using the composition of the balloon and its working very well. Please take a look at the link.

    Home

    If it does not work please share the calculator code HTML that you insert so that I can do some testing at my end.

    Concerning

    Vivek

  • you attempt to add a web form of Business Catalyst to my site Web of Adobe Muse (via insert html) and the shape is cut all the content below where to place the html area.

    You attempt to add a web form of Business Catalyst to my site Web of Adobe Muse (via insert html) and the shape is cut all the content below where to place the html area. I tried the basic troubleshooting and it's only when I insert a form of Catalyst Business that my web page is cut, where is the bottom of the form. I use this code when you insert form BC in Muse,

    "< div class ="bulletin of information-form"> < form name ="catemaillistform58787"onsubmit ="return checkWholeForm58787 (this)"method ="post"action =" http://theincitejournal.BusinessCatalyst.com/CampaignProcess.aspx?ListId=53681& OPTIN = true & PageID = / index.html"> < div class ="form"> < div class ="item"> < label for ="CLFullName"> full name < / label > < br / > < input class ="cat_textbox_small"type ="text"name ="Full name"id ="CLFullName"maxlength ="255"/ > < / div > < div class ="item"> < label for ="CLEmailAddress"> E-mail address < / label > < br / > < input class ="cat_textbox_small"type ="text"name ="EmailAddress"id = '" "CLEmailAddress" MaxLength = "255" / > < / div > < div class = "item" > < label > Enter Word verification in box below < / label > < br / > {module_captchav2} < / div > < div class = "item" > < input class = "cat_button" type = "submit" value = "subscribe" id = "catlistbutton" / > < / div > < / div > < script type = "text/javascript" src = "http://theincitejournal.businesscatalyst.com/CatalystScripts/ValidationFunctions.js" > < / script > < script type = "text/javascript" > '

    The only settings I did took the H3 header on opt-in and page navigation after the action to get rid of the opt in BC function as default. I tried to download the source code as well and I'm having the same problem. The web Page is here " copy " and a version of what I was creating the page to look like here is ' home ' As you can see, the 'House' version allows me to scroll past where I would have placed the shape box while the 'copy' stops at any user to parade before. I have called the shape slightly from the "development" of British Colombia under the style sheets tab and still tried to trouble shoot and get rid of the code to see if it affects something and it did not add style. For some reason only the HTML to the form is but I cannot understand what the section of the code would do that. Any ideas?

    I see that you have inserted a script tag open that you forgot to close, which generates errors on the page and prevent it from be returned correctly. You should ensure that the code that you insert in the Muse is syntactically correct.

    - Abhishek Maurya

  • Insert HTML

    What happened to the feature which allowed insert HTML in the body of the message and who thought it was a good idea to remove it? More importantly, now that it is gone... How do I?

    Try to start Thunderbird in safe mode.
    https://support.Mozilla.org/en-us/KB/safe-mode-Thunderbird

  • Link fleet inserted html object.

    I have quite a few pages in a Web site with tables inserted into the html objects. It looks and works very well. Instead of linking the text 'select' in the HTML table I prefer to add a text box floating on the top of the table, based on the looks and keep the table inserted html code as small as possible. It also makes it easier to change or update the link.

    It works fine until it read with a very small monitor. Seen on a smaller screen floating link moves and is more placed above the table where it should be.

    Is there a way to make the link line up on the edge of the table and moving in sync with the table, as a browser is resized, or on a small monitor.

    Thanks for the tips.

    Jack

    As seen on screens 15 "and more.

    Screenshot-1.jpg

    When resizing.

    Screenshot-2.jpg

    The only way to do it-to change the code in the table. Simply remove your button.

  • How to insert HTML custom in tabbed panels Widget

    I need to insert HTML in a tab panel Widget.

    I have an HTML table with the data that I have to put in a tab panel Widget.

    I tried to create the custom HTML and dragging it in the area of the tabs Panel that did not work.
    I tried the content area of the Panel tabs, then click to insert custom HTML that has not worked.

    And now, I'm of ideas on how to achieve this.

    Thanks in advance

    Ho!

    So I thought about it for me.

    If you are wanting to insert HTML custom in a tab panel, make sure that you have selected an object in the content area of the Panel tabs. Then select Insert HTML code.

    I have just placed a text box in the tabs Panel, selected the text box so that it is highlighted and then chose to insert custom HTML.

    This put my HTML custom code in the content area of Panel tabs.

  • Muse cc insert HTML

    OLA tenho uma put em ao Supreme muse cc e a seguinte

    na parte superior em object e preview HTML

    Pode - to preview HTML only or also other linguagens

    of progamacao por exemplo ASP.NET/JQUERY/PHP.

    POR FAVOR ME HELP

    GRATO

    Hello I have a doubt in question to muse cc which is as follows

    on the top object and embed HTML

    You can insert HTML only or also other languages

    sometimes of these ASP.NET/JQUERY/PHP program.

    PLEASE HELP ME

    GRATEFUL

    Please visit these links:

    http://www.thejohnnyoshow.com/coding-corner.html

    https://forums.Adobe.com/thread/1302382

    Help! Add Jquery to Muse!

    https://forums.Adobe.com/thread/995208

    Thank you

    Sanjit

  • You can insert HTML on the stage

    We are obtaining a video content management system that uses an iframe and a link to a JavaScript file to play video. We use tools like Captivate and Adobe Presenter to create e-learning for our learning management system. Captivate has a Web object that allows me to insert in the HTML code but the presenter doesn't seem to have the same capacity. I thought that I might be able to create a player using their code in Flash Pro, then insert the swf file in Presenter. Is anyone aware of a widget or other method to insert HTML code in a Flash file?

    Thank you

    Jeff

    You can use the htmlloader class if you create an air application.

    a swf file that is embedded in an html file or stand-alone, you can use navigateToURL.

  • Background color "Insert HTML"

    When I use the object > insert HTML code...

    the inserted HTML background is white. However, I need a transparent background, because it is a form to put on a gray background.

    How can I make the background transparent?

    Thanks for anyone who can help you.

    In the code of your form, you have the background value #fff which is white. Your code has this:

    #mc_embed_signup {background: #fff; clear: left; font: 14px Helvetica, Arial, without serif ;}}

    Remove this part:

    Background: #fff;

Maybe you are looking for