Integrating Wordpress into Muse need dynamic height based on content with cross domain

Since Muse doesn't currently support Blogs and Wordpress integration I have decided to use an iFrame.
My goal is to have the height of the iframe dynamically change based on the content in my Wordpress blog. I understand this is a common issue with frames that are hosted on different domains.
I am running into having to over compensate with a bunch of deadspace to allow enough room. Alternatively I get the horrible looking scroll bar.
I have tried using cross site scripting, JQuery and postMessage but am having trouble figuring out how to put the proper code into Muse and Wordpress for them to communicate back and forth.
Please, any help on this matter would be greatly appreciated.

Abhishek,
Thanks for your reply, however, it is not working with Muse. I added the Javascript to the head section and adjusted iframe and it displays as a small square in the upper left hand corner, unable to view the whole page.
Inserted into head section --
<script type="text/javascript">
   function resizeIframe(obj)
  obj.style.height = 0;
  obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px';
   </script>
inserted as an html object --
<iframe name="MycoSmooth" src="http://www.mycosmooth.com" frameborder="0" scrolling="no" id="iframe" onload='javascript:resizeIframe(this);' />
Below is the result:
The purpose is to have an independent website run the blogging capabilities, since muse doesn't directly support blogging as of yet.
Since the site is on a different domain, I am running into cross domain issues and it won't get the height of the page. The methods that apparently work use php and I am unsure how that would work in muse, if at all.

Similar Messages

  • Tabbed panel with adjustable/variable height based on content

    Is there anyway that you can create a tabbed panel with adjustable/variable height based on content in each tab?

    Abhishek,
    Thanks for your reply, however, it is not working with Muse. I added the Javascript to the head section and adjusted iframe and it displays as a small square in the upper left hand corner, unable to view the whole page.
    Inserted into head section --
    <script type="text/javascript">
       function resizeIframe(obj)
      obj.style.height = 0;
      obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px';
       </script>
    inserted as an html object --
    <iframe name="MycoSmooth" src="http://www.mycosmooth.com" frameborder="0" scrolling="no" id="iframe" onload='javascript:resizeIframe(this);' />
    Below is the result:
    The purpose is to have an independent website run the blogging capabilities, since muse doesn't directly support blogging as of yet.
    Since the site is on a different domain, I am running into cross domain issues and it won't get the height of the page. The methods that apparently work use php and I am unsure how that would work in muse, if at all.

  • Dynamic height in a table with scrollable content

    Hello,
    i have in a web dynpro a table. The table is scrollable. At present i have a fixed height. Is it possible that i have a dynamic height, so that the table for example has a height of 70 percents from the page.
    I try that but it doesn't work. Have any one a solution or is it not the supported in web dynpro's?
    best regards
    Markus Jura

    Markus,
    There is no way to define height of table in percents of parent container. You may only manipulate number of visible rows. For example, bind corresponding IWDTable property to context attribute of type int and change value of this attribute dynamically (in wdDoInit and/or action handlers code)
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • Iframe auto height based on content in high trust apps on premise

    Hi, 
    how to adjust the app part height based on the content, in high trust apps. 
    Thanks
    Ram

    Hi Ram,
    We can use JavaScript to adjust the iframe height, the following code for your reference:
    <script type="text/javascript">
    function iframeLoaded() {
    var iFrameID = document.getElementById('idIframe');
    if(iFrameID) {
    // here you can make the height, I delete it first, then I make it again
    iFrameID.height = "";
    iFrameID.height = iFrameID.contentWindow.document.body.scrollHeight + "px";
    </script>
    More information:
    How To Adjust IFrame Height on Its Content
    http://www.codeproject.com/Articles/19499/How-To-Adjust-IFrame-Height-on-Its-Content
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Need Dynamic boxes position to move with scrollable text postion

    I am having a problem that I can't figure out.  The textbox is scrollable and I need the boxes that are created to move according to the position of the word it is supposed to be hovering over.  I would think I could create an ENTER_FRAME listener for each siteButton and change the y position with the getCharBoundaries() of the word but I keep getting errors.  Here is the codee below:
    webSite = infoBox.taNotes.text.match(regex);
        if (webSite.length > 0){
            for (var i in webSite) {
                var index1 = infoBox.taNotes.text.search(webSite[i]);
                var index2 = index1 + webSite[i].length - 1;
                var x1 = infoBox.taNotes.getCharBoundaries(index1).x;
                var x2 = infoBox.taNotes.getCharBoundaries(index2).x;
                var y1 = infoBox.taNotes.getCharBoundaries(index1).y;
                var h1 = infoBox.taNotes.getCharBoundaries(index1).height;
                var siteButton:linkButton = new linkButton();
                infoBox.buttons.addChild(siteButton);
                siteButton.addEventListener(Event.ENTER_FRAME, siteButtonMove);
                siteButton.x = infoBox.taNotes.x + x1;
                siteButton.y = infoBox.taNotes.y + y1;
                siteButton.width = x2 - x1 + 9;
                siteButton.height = h1;
                siteButton.blendMode = "multiply";
                siteButton.name = "siteButton"+[i];
                siteButton.siteLink = "http://" + webSite[i];
                siteButton.addEventListener(MouseEvent.CLICK, gotoNotesWebsite);
    function siteButtonMove(event:Event):void {
        if (webSite.length > 0){
            for (var i in webSite) {
                var index1 = infoBox.taNotes.text.search(webSite[i]);
                var y1 = infoBox.taNotes.getCharBoundaries(index1).y;
                trace(y1);
                trace(event.currentTarget.name);

    Dear havoc:
    You leave out some details so it's not exactly clear what you want. (InDesign does have modal dialog boxes, though I don't know why you would want more of them -- generally a user interface designer tries hard to reduce the number of modal dialog boxes...)
    What does it mean for text to "start on the previous line where the previous text ended"? What does it mean for "text to end"?
    Are you dealing with multiple text frames?
    How is your data getting from your database to InDesign?
    If you are using data merge, you can just put 3 fields on the same line.
    You can also do something similar with XML, though I would warn you away from that.
    But probably I would just instruct the database to combine the 3 fields together on export.
    So, please give us a concrete example of the trouble you're having. A screenshot would be excellent, too.
    I don't think thre is any reason you would nee to upgrade from CS4 to CS5 (or CS5.5) for this.

  • Dynamic CRM connect outlook Client with different domain

    Hi Guys,
    I had installed CRM 2011 in cloud with different domain.
    If I use browser is working fine just that when i use Outlook client it show 
    15:24:16|  Error| Exception : The request for security token could not be satisfied because authentication failed.    at System.ServiceModel.Security.SecurityUtils.ThrowIfNegotiationFault(Message message, EndpointAddress target)
       at System.ServiceModel.Security.SspiNegotiationTokenProvider.GetNextOutgoingMessageBody(Message incomingMessage, SspiNegotiationTokenProviderState sspiState)
    I found that is because you must connect to the same domain.
    any idea that i can use my Outlook client to connect to CRM 2011 without changing my domain?
    Regards,
    Kim

    Yes - I've been scarred with this for many years :(
    If it is just CAS 1 that is causing issues, then focus in on that.  The support statement for Win 2008 R2 is that NLB is still a 3rd party component and support may ask for it to be disabled.
    http://support.microsoft.com/kb/278431 
    Does CAS1 and CAS2 have the same NICs (firmware as well), driver, teaming software, and teaming config? 
    I also want to ask what the network team did for configuring the switch ports on the servers?  This will vary from vendor to vendor  - did they do the same config on both?
    Cheers,
    Rhoderick
    Microsoft Senior Exchange PFE
    Blog:
    http://blogs.technet.com/rmilne 
    Twitter:   LinkedIn:
      Facebook:
      XING:
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.
    Thanks Rhoderick, issue still persists
    can you also help clarify what you meant by "configuring the switch ports on the servers"?
    thanks again

  • I need help deleting "all records associated with my domain name"

    Hello,
    I'm having problemsthe same exact problem as Daren... setting up my site to go live. Here's what I've done so far:
    1) built the site and pushed it live
    2) upgraded the site
    3) set up a GoDaddy domain name
    4) set up the servers on GoDaddy
    5) set up the associate account info on BC
    And then.... nothing.
    I've then deleted the domain and tried to repeat the process, in case I missed something, but now I can't set up a new domaine and keep getting the error "Domain already exists. Please delete all records associated with this domain". What records? What does this even mean?
    Can someone please walk me through the steps to get this site live?
    Thanks!
    Alex

    Can you try again? If still no go, please reach out to BC support directly via http://helpx.adobe.com/contact.html?product=business-catalyst&topic=using-my-product-or-se rvice.
    Thanks,
    Vinayak

  • Report Formatting with Dynamic Height Header/Footer

    I need to generate a printable report (pdf if possible) with a:
    1) Header - Dynamic Height based on recordset output
    2) Body - Recordset output, may carry over to multiple pages
    3) Footer - Dynamic Height based on recordset out
    In short, the whole page is dynamic- The header and footer need to be on every page and whatever height is left over to fit within the print area goes to the body and the line item output of each record (think invoice).  Then the number of pages will depend on how long it takes to output the body recordset (but the header and footer MUST be on each page).
    I have been trying to get this to work using cfdocument since CF7 and have never had any luck. It has not worked due to the reason that since the header and footer are dynamic height, I do not have any way to set the margins properly on page generation (so it shrinks the header or leaves excess whitespace).
    Anyone recommend the best way to go about this? I have heard about the report builder and am not sure if that will fit these requirements.  I appreciate any assistance!

    When the footer goes to the 2nd page the page subform is incremented so you will have to reference the page subform as well. I suggest that you add a button (this is for a test only) to the footer subform and add the code app.alert(this.somExpression). Now render the form and make sure the footer stays on one page. Hit the button and take note of the someExpression. Now add enough rows to force the footer to a new page. Hit th ebutton again and take note of the changed somExpression. So to solve your problem you will have to find out which page your footer is on. and then construct your expression to incorporate this chane in expression. Note that the indexes are 0 based but the page numbering is 1 based.
    Hope that helps
    Paul

  • Placed FW asset into Muse. Original Size = 908w x 2323h. Muse auto resampled to 800w x 2048h. I need the asset to remain at Original Size. How do I override the resample?

    Placed FW asset into Muse. Original Size = 908w x 2323h. Muse auto resampled to 800w x 2048h. I need the asset to remain at Original Size. How do I override the resample?

    Hello,
    Its a Muse property to re-sample any asset that is more than 248 px.
    To get rid of re-sampling do the following
    1. Please click on the image and Make Sure Image Frame is selected.
    2. Go to The Transform tab and change width and height to the original values. (now you will observe that the width and height of image frame is changed but not the Image)
    3. Double click on the image and make sure Image is selected with a red selection around it.
    4. Go to The Transform tab and change width and height to the original values. (now you will observe that the width and height of image frame is same as  the Image)
    5. Now go to the assets tab > right click on the asset > select "Import larger size".
    Now this asset will always be imported in original size.
    Regards
    Vivek

  • Need help uploading mp4 file into Muse

    Help please!
    I have a very nice quality, short animation I want to add to my Muse website's home page, but am stuck on putting the video file into the site. I have found that I need to change the mp4 into a swf (flash) file, but I couldn't get that to work either. (Flash gives me the error: "One or more files were not imported because there were problems reading them." when trying to import the mp4 and mov file to convert to swf. I have tried HTML5 also, but can't seem to get the code right.
    Can anyone help me get this video file into a Muse site? If that means I just copy a piece of code and put it into Muse that would be great. If it means I just have to drag and drop, that would be even better! (dreaming a little bit!)
    Thank you!

    HI,
    try some  suggestion given in following threads
    Re: Adding HTML5 Video in Adobe Muse
    Re: embedding video in Muse
    A useful video
    Do let me know if you have any question.

  • Is it possible to import a wordpress blog into muse?

    I don't have much else to add haha, just wondering if this is possible and if so, how?
    thank you!

    Could you please direct me to info or a tutorial on how to do this (export blog from wordpress and import into muse)? After reading your comment I had hope but have found nothing that indicates that can be done. Please don't post a solution and then NOT tell us how to implement that solution ; )

  • Creating a dynamic lov based on a column

    Hi,
    I want to create a dynamic lov based on a column in a database-table.
    Eg. the query
    'select code, description from code_table'
    is the contents of the column 'lov_query' in the table 'parameters'.
    For every parameter there can be a different lov-query, but the result is always
    two columns (code and description, number and name, etc.), exactly what you need to use in a lov.
    I've written a (dbms_sql) function that takes the parameter-id and returns the lov_query.
    create or replace function "GET_PMR_LOV"
    (pmr_id in NUMBER)
    return VARCHAR2
    is
    cur INTEGER := DBMS_SQL.OPEN_CURSOR;
    fdbk INTEGER;
    l_pmr_id NUMBER(9) := pmr_id;
    l_stmnt VARCHAR2(2000);
    begin
    DBMS_SQL.PARSE
    (cur, 'select pmr.lov_query from parameters pmr where pmr.ID ' || ' = 'L_PMR_ID', DBMS_SQL.NATIVE);
    DBMS_SQL.BIND_VARIABLE (cur, 'L_PMR_ID', l_pmr_id);
    DBMS_SQL.DEFINE_COLUMN (cur, 1, l_stmnt, 2000);
    fdbk := DBMS_SQL.EXECUTE (cur);
    fdbk := DBMS_SQL.FETCH_ROWS (cur);
    IF fdbk > 0
    THEN
    DBMS_SQL.COLUMN_VALUE (cur, 1, l_stmnt);
    return (l_stmnt);
    ELSE     
    return null;
    END IF;
    DBMS_SQL.CLOSE_CURSOR (cur);
    END;
    But now I'm stuck on how to pass on this statement in HTMLDB
    as an dynamic lov, I don't seem to be able to execute this statement
    into the two display and return columns. Any ideas?

    Hello again,
    This lov is on an updatable report-column where the user has to make a choice from an non-named, popup and query-based lov. In the lov-query box I have just put:
    "return get_pmr_lov(:p41_param_id)" (without the quotes ;-)
    Here's my latest version plus an alternative, which both seem to work fine:
    create or replace function "GET_PMR_LOV"
    (pmr_id in NUMBER)
    return VARCHAR2
    is
    cur INTEGER := DBMS_SQL.OPEN_CURSOR;
    fdbk INTEGER;
    l_pmr_id NUMBER(9) := pmr_id;
    l_stmnt VARCHAR2(1000);
    begin
    DBMS_SQL.PARSE (cur, 'select pmr.lov_query from paramaters pmr where pmr.ID ' || '= :L_PMR_ID', DBMS_SQL.NATIVE);
    DBMS_SQL.BIND_VARIABLE (cur, 'L_PMR_ID', l_pmr_id);
    DBMS_SQL.DEFINE_COLUMN (cur, 1, l_stmnt, 1000);
    fdbk := DBMS_SQL.EXECUTE (cur);
    fdbk := DBMS_SQL.FETCH_ROWS (cur);
    IF fdbk > 0 THEN
    DBMS_SQL.COLUMN_VALUE (cur, 1, l_stmnt);
    return (l_stmnt);
    ELSE
    return null;
    END IF;
    DBMS_SQL.CLOSE_CURSOR (cur);
    END;
    create or replace function "GET_PMR_LOV2"
    (pmr_id in NUMBER)
    return VARCHAR2
    is
    l_pmr_id NUMBER(9) := pmr_id;
    l_stmnt VARCHAR2(1000);
    BEGIN
    EXECUTE IMMEDIATE 'select pmr.lov_query from parameters pmr where pmr.ID = :1'
    INTO l_stmnt USING l_pmr_id;
    return l_stmnt;
    END;
    The error-message remains the same, unable to bind :p41_param_id !

  • Help with html code - inserting video into Muse

    I am seeking help writing the code to insert a video into Muse. I uploaded video into my Business Catalyst hosting. I need it to autoplay, loop and not show any controls or frames.
    When I host video on Vimeo or YouTube, I see markings on the video that is why I am trying to just host in the same place that the files are stored for my website. If there is a way to host on youtube with out any markings showing up on the video I would be open to that too.
    I don't want to see any play button or time bar.
    Thanks in advance!!

    Hello,
    Just as an FYI - we also have an HTML5 video tool over at MuseThemes.com that achieves this, but works on mobile devices as well. The link above looks like it uses Flash, which isn't common anymore since the release of HTML5 based video.
    Simply drag the widget out onto your canvas, and link up your videos / set options like loop, controls visible, etc. It's quite a flexible widget, and there's a complete training video included so you don't get stuck
    Check out the widget here
    Just wanted to provide another alternative that could be helpful. Cheers!
    Steve Harris
    MuseThemes.com

  • How to create dynamic context based on a structure defined in the program?

    Hi Experts,
             I need to create a dynamic context based on a structure wa_struc which i have define programatically.
    When I pass wa_struc to structure_name parameter of create_nodeinfo_from_struc, i get a runtime error:
    "Parameter STRUCTURE_NAME contains an invalid value wa_struc."
    How to create dynamic context based on a structure defined in the program?
    I have written the code like this:
    TYPES: BEGIN OF t_type,
                v_carrid TYPE sflight-carrid,
                v_connid TYPE sflight-connid,
             END OF t_type.
      Data:  i_struc type table of t_type,
             wa_struc type t_type.
      data: dyn_node   type ref to if_wd_context_node.
      data: rootnode_info   type ref to if_wd_context_node_info.
      rootnode_info = wd_context->get_node_info( ).
      clear i_struc. refresh i_struc.
      select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
    cl_wd_dynamic_tool=>create_nodeinfo_from_struct(
      parent_info = rootnode_info
      node_name = 'dynflight'
      structure_name = 'wa_struc'
      is_multiple = abap_true ).
    dyn_node = wd_context->get_child_node( name = 'dynflight' ).
    dyn_node->bind_table( i_struc ).
    Thanks
    Gopal
    Message was edited by: gopalkrishna baliga

    Hi Michelle,
              First of all Special thanks for your informative answers to my other forum questions. I really appreciate your help.
    Coming back to this question I am still waiting for an answer. Please help. Note that my structure is not in a dictionary.
    I am trying to create a new node. That is
    CONTEXT
    - DYNFLIGHT
    CARRID
    CONNID
    As you see above I am trying to create 'DYNFLIGHT' along with the 2 attributes which are inside this node. The structure of the node that is, no.of attributes may vary based on some condition. Thats why I am trying to create a node dynamically.
    Also I cannot define the structure in the ABAP dictionary because it changes based on condition
    I have updated my code like the following and I am getting error:
    TYPES: BEGIN OF t_type,
    CARRID TYPE sflight-carrid,
    CONNID TYPE sflight-connid,
    END OF t_type.
    Data: i_struc type table of t_type,
    dyn_node type ref to if_wd_context_node,
    rootnode_info type ref to if_wd_context_node_info,
    i_node_att type wdr_context_attr_info_map,
    wa_node_att type line of wdr_context_attr_info_map.
    wa_node_att-name = 'CARRID'.
    wa_node_att-TYPE_NAME = 'SFLIGHT-CARRID'.
    insert wa_node_att into table i_node_att.
    wa_node_att-name = 'CONNID'.
    wa_node_att-TYPE_NAME = 'SFLIGHT-CONNID'.
    insert wa_node_att into table i_node_att.
    clear i_struc. refresh i_struc.
    select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
    rootnode_info = wd_context->get_node_info( ).
    rootnode_info->add_new_child_node( name = 'DYNFLIGHT'
    attributes = i_node_att
    is_multiple = abap_true ).
    dyn_node = wd_context->get_child_node( 'DYNFLIGHT' ).
    dyn_node->bind_table( i_struc ).
    l_ref_interfacecontroller->set_data( dyn_node ).
    But now I am getting the following error :
    The following error text was processed in the system PET : Line types of an internal table and a work area not compatible.
    The error occurred on the application server FMSAP995_PET_02 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_WD_CONTEXT_NODE~GET_STATIC_ATTRIBUTES_TABLE of program CL_WDR_CONTEXT_NODE_VAL=======CP
    Method: GET_REF_TO_TABLE of program CL_SALV_WD_DATA_TABLE=========CP
    Method: EXECUTE of program CL_SALV_WD_SERVICE_MANAGER====CP
    Method: APPLY_SERVICES of program CL_SALV_BS_RESULT_DATA_TABLE==CP
    Method: REFRESH of program CL_SALV_BS_RESULT_DATA_TABLE==CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE_DATA of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMPONENT~VIEW_MODIFY of program CL_SALV_WD_A_COMPONENT========CP
    -Gopal
    Message was edited by: gopalkrishna baliga

  • Is there an easy way to create or import tables into muse

    I'm trying to create a website that used tables for things like league tables and results, but I need an easy way of placing them into muse.
    I've had a go at creating tables in dreamweaver and importing the resulting html and i've created tables in Indesign and imported them as jpegs, but this obviously then does not allow me to edit on the fly.
    Can anybody help.

    DAndrews1969 wrote:
    well I've since found out that CS5.5 exports pages from indesign to html, but the link I was reading about CS6 was as follows:
    http://www.adobe.com/products/indesign/features.html
    I tried exporting a table from 5.5 but it doesn't seem to recognise the specific column spaces I have set up, hopefully 6 will have improved on this.
    We hope so. From my experience with indesign cs5.5. The export to HTML feature does not maintain the layout of an indesign document. You will require a developer with knowledge of HTML to style accordingingly in DW. I don't think this is an intended workflow by Adobe. Until then I dont think Muse or Indesign will export to HTML while maintaining the integrity of the layout design including adaptive fluid layout support. The closest the Adobe team have been able to do is to export to epub format.
    My observation, Adobe should have given print designers option of exporting indesign files to Muse(With support for fluid/adaptive layout just as the export to epub format is supported). That way the fear of killing another tool in the Adobe bouquet won't arise. Something like 'Export to Muse' in Indesign cs6 would have been the killer. Why? Web design trend is converging with print design metaphor. I think Adobe should be leading that trend now. Tomorrow might be too crowded.

Maybe you are looking for

  • Syncing ipod from existing Itunes library

    Hi. I need help. My son has an Ipod and has a library of about 200 songs and videos. I just bought my own Ipod - when I opened Itunes and connected my Ipod, it automatically updated all of his songs on to my Ipod. Is there a way to avoid this from ha

  • Seeburger Parameters "DestDelimiter"

    Hi dear Experts I have an scenario Outbound I'm generating and EDI File and I use BIC Seeburger. The scenario works fine . However I have a new requeriment I need to pass an hexadecimal(1A) value in the parameter destDelimiter in the Terminator. My a

  • Progress bar for chart dataProvider?

    I have a chart which has for dataProvider a link to a php script which processes data and returns XML. The processing takes a little bit of time so from flex the user stares at a blank graph for some time. Is there anyway to link a progress bar to th

  • Opening PRC files in Windows

    I have a Palm Tungsten E that will no longer power up. I had a program (AutoBase) on it that I would like to get the old data from.  At some point I had exported the PRC files, and I have found them, but I can't find a way to open them without the Pa

  • How to wrap up C++ Qt Creator project into ABS/AUR?

    Hi, Is there a more or less standard/streamlined procedure to create a deployable package from a Qt Creator project?