Putting an iframe in a div thats inside a symbol?

I am trying to load an iframe into a div thats inside a symbol. I dont think im getting the path correct?
var externalUrl = "login.html";
sym.getComposition().getStage().getSymbol("Navigation").$("navWrapper").html("<iframe src='"+externalUrl+"' height=230px width=430px scrolling=no frameBorder=0 allowtransparency=true margin=0 padding=0></iframe>");
So the symbol is the ("Navigation") and the div im trying to load a iframe into the div inside that symbol named ("navWrapper")
Dont worry im not loading a navigation through iframe :3
Help much appreciated!

Thnx for the reply!
Sorry for any confusion there are no buttons involved. I am simply trying to load a html form into a div by using iframes. The navigation names are just names and not refering to a button or actual menu of any kind. Which is confusing i know.
So i have a symbol named Navigation with animations in it. And inside that symbol with the animations is a div names navWrapper that im trying to load a html file into. But its not working.
I can get it to load fine when the div navWrapper is on the main timeline by using
sym.$("navWrapper").html("<iframe src='"+externalUrl+"' height=230px width=430px scrolling=no frameBorder=0 allowtransparency=true margin=0 padding=0></iframe>");
thats the same as the code posted in my first post but without the sym.getComposition().getStage().getSymbol("Navigation");

Similar Messages

  • How to put type in a footer div that already has an image

    Very beginner question - but I can't seem to get the copy to go into the div.
    Here's my code:
      <div id="footer" class="footer">
         <img src="images/final images/inquiries-footer02.jpg" alt="Inquiries, Inc. footer" width="950" height="50" border="0" />
         Copyright &copy; 2011 Inquiries, Inc. • <a href="mailto:[email protected]">[email protected]</a>
      </div>
    Here's what it looks like:
    Thanks for taking a look!

    Thanks, here's what I have... Finally got it loaded to a test site: http://inquiriesinc.alisonquarles.com/
    #footer {
    width:950px;
    height:50px;
    border-top-color: #666;
    border-top-style: solid;
    border-top-width: thin;
    clear: both;
    .footer {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #C03;
    text-decoration: none;
    text-align: center;
    I want the type to be centered in the div on top of the image.
    The top nav is set up in Photoshop for the moment but I'll need to rework it sooner or later.

  • Get the ID of a dynamically created symbol from library, INSIDE another symbol.

    Hi everyone,
    I'm trying to get the id from a dynamic created symbol from library.
    When dynamically creating the symbol directly on the stage (or composition level), there's no problem.
    But I just can't get it to work when creating the symbol inside another symbol. 
    Below some examples using both "getChildSymbols()" and "aSymbolInstances" 
    // USING "getChildSymbols()" ///////////////////////////////////////////////////////////////////////// 
    // ON THE STAGE 
    var m_item = sym.createChildSymbol("m_item","Stage");
    var symbolChildren = sym.getChildSymbols(); 
    console.log(symbolChildren[0].getSymbolElement().attr('id')); // ok eid_1391853893203
    // INSIDE ANOTHER SYMBOL
    var m_item = sym.createChildSymbol("m_item", sym.getSymbol("holder").getSymbolElement()); 
    var symbolChildren = sym.getSymbol("holder").getChildSymbols(); // Am i using this wrong maybe?
    console.log(symbolChildren.length) // returns 0 so can't get no ID either
    // USING "aSymbolInstances"" ////////////////////////////////////////////////////////////////////////// 
    // ON THE STAGE
    var m_item = sym.createChildSymbol("m_item","Stage"); 
    console.log(sym.aSymbolInstances[0]); // ok (i guess) x.fn.x.init[1] 0: div#eid_1391854141436
    // INSIDE ANOTHER SYMBOL
    var m_item = sym.createChildSymbol("m_item", sym.getSymbol("holder").getSymbolElement());
    console.log(sym.getSymbol("holder").aSymbolInstances[0]); // Javascript error in event handler! Event Type = element 
    In this post http://forums.adobe.com/message/5691824 is written: "mySym.aSymbolInstances will give you an array with all "names" when you create symbols"
    Could it be this only works on the stage/ composition level only and not inside a symbol? 
    The following methods to achieve the same are indeed possible, but i simply DON'T want to use them in this case:
    1) Storing a reference of the created symbol in an array and call it later by index.
    2) Giving the items an ID manually on creation and use document.getElementById() afterwards.
    I can't believe this isn't possible. I am probably missing something here.
    Forgive me I am a newbie using Adobe Edge!
    I really hope someone can help me out here.
    Anyway, thnx in advance people!
    Kind Regards,
    Lester.

    Hi,
    Thanks for the quick response!
    True this is also a possibility. But this method is almost the same of "Giving the items an ID manually on creation and use document.getElementById() afterwards".
    In this way (correct me if i'm wrong) you have to give it an unique ID yourself. In a (very) big project this isn't the most practical way.
    Although I know it is possible.
    Now when Edge creates a symbol dynamically on the Stage (or composition level) or inside another symbol it always gives the symbol an ID like "eid_1391853893203".
    I want to reuse this (unique) ID given by Edge after creation.
    If created on the stage directly you can get this ID very easy. Like this;
    var m_item = sym.createChildSymbol("m_item","Stage");
    var symbolChildren = sym.getChildSymbols(); 
    console.log(symbolChildren[0].getSymbolElement().attr('id')); // ok eid_1391853893203
    I want to do exactly the same when created INSIDE another symbol.
    var m_item = sym.createChildSymbol("m_item", sym.getSymbol("holder").getSymbolElement());
    Now how can I accomplish this? How can I get the Id of a dynamically created symbol INSIDE another symbol instead of created directly on the stage?
    This is what i'm after.
    Thnx in advance!

  • I am in the process of developing a site, and I'm working with nested iframes. The html page inside the nested iframe is not displying in the iframe window in Firefox only, but is instead opening in a new window. Any advice on how to fix this?

    I am developing a website with nested iframes. The problem that I am having is that the html page inside the nested iframe is not displaying in the iframe window in Firefox only. The first level iframe is behaving properly, but the second level is not. Any help with this would be greatly appreciated.

    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    You'll need to register and login to be able to post in that forum.

  • I want to edit photos on ipad, put in a folder and expert that edited folder to a pcdfolder

    I want to edit my photos on ipad, put in a folder and export that edited folder to PC. I find that the experted photos are reverting to the original unedited - VERY annoying! Any suggestions?

    You can call external pages into an iframe on your site.  But you cannot crop that content to exclude the parts you don't want.  I believe the best way for you to proceed would be to edit the current pages, excising only the parts involved with the search functionality, and paste that into your new pages.  This may be more of a job than you bargained for....

  • On ALV report in1 column I want to put Icon on every row of that column.

    On ALV report there is 1 column I want to put Icon on every row of that column.That ALV program uses object oriented concept all class and methods.
      I want to use that icon on that row. That icon name is ‘ICON_OKAY’
    In my program when I assign values to internal table at that time I am assigning that ‘ICON_OKAY’ value to that row as follow.
    Itab-
    Itab-icon = ICON_OKAY.
    Append itab.

    please follow below procedure to display icon in ALV
    1) In corresponding fieldcatelog entry do
    fieldcatalog-icon = 'X'
    2) While filling the internal table fill the corresponding key value of icon , for example ICON_OKAY value is '@0V@' so statement would be
    Itab-icon = '@0V@'
    to get list of corresponding key for icon open include <ICON> in se38

  • Please help block my ipod touch second generation and forget the code, try putting the code so many times that now says connect to itunes, I connect but will not let me do anything that tells me this should unlock with key and I should do for Please help!

    please helpme i block my ipod touch second generation and forget the code, try putting the code so many times that now says connect to itunes, I connect but will not let me do anything that tells me this  should unlock with key and I should do for Please help!. thanks

    Place the iPOd in recovery mode and then restore. For recovery mode:
    iPhone and iPod touch: Unable to update or restore

  • I have an IMAC I bought from a friend.  I think he wiped it clean.  I tried to go to panasonic to download a driver for my camcorder.  It put an icon on my desktop that is setup-1.exe  when I try to open it, it says I don't have a program to open it with.

    I tried to download a driver from Panasonic for my camcorder.  It puts an Icon on my desktop that is called set-up1.exe.  when I try to open this I get an error message that says I don't have a program to open it.  any suggestions.  Also, I tried to download the latest ITunes.  It put an Icon on my desktop but won't let me open it or run it.

    In general, you don't need drivers for camcorders on Macs, and the .exe file you downloaded is a Windows program, which won't run on a Mac unless you also have Windows installed.
    It would help a lot if you tell us the exact model camcorder you are using, and what application you want to use it with.
    Regarding iTunes, the latest version is iTunes 11.  You need to have OS X 10.6.8 or later to install iTunes 11.  Your profile says you have OS X 10.4.11, which is a much older version of OS X, so you won't be able to install iTunes 11.  (Here are the iTunes 11 specs.)

  • Hello! The question is this. In London, took the Iphone 5 as sim free, flew to Moscow put Simcoe, and he writes me that is locked to the operator O2. Can anyone encountered this problem? What to do? How to remove the Unlock?

    Hello! The question is this. In London, took the Iphone 5 as sim free, flew to Moscow put Simcoe, and he writes me that is locked to the operator O2. Can anyone encountered this problem? What to do? How to remove the Unlock?
    <Edited by Host>

    Look at your receipt. Does it say unlocked? It is possible to purchase both locked "sim free" and unlocked iPhones from Apple.
    ONLY the carrier an iPhone is locked to can legitimately unlock it.
    IF your receipt says that it was supposed to be unlocked, and it is not, call AppleCare. They should be able to straighten it out.

  • I accidentally added the app store apple id wrong, then I was able to put the right one but now that I need to update the application tells me to insert the id of the psw wrong, how do I change it?

    I accidentally added the app store apple id wrong, then I was able to put the right one but now that I need to update the application tells me to insert the id of the psw wrong, how do I change it?

    You must update the apps with the Apple ID that they are purchased with.
    The only way to get round this is to re-purchase the app with the new Apple ID.

  • I need to find a way to put emails on a personal folder that won't take up all my email space.

    I'm on a mac and I need to find a way to put emails on a personal folder that won't take up all my email space. I've tried 3 times to set them up, but I keep getting the "almost full" message every night.

    Can you tell us exactly what the "almost full" message says? Is it referring to your mailbox (ie, email server space), or your hard drive?
    If your email server is almost full, you can store folders and messages on your Mac. In Mail, go to the Mailbox menu, click New Mailbox, and choose the location "On My Mac". Then drag folders into that new mailbox to move them to your local computer, and off the email server.
    If your hard drive is full, this won't help, and you need a different approach.
    What version of OS X are you running? It helps us for you to put that information into your profile, since there are big differences between versions of OS X.
    Matt

  • Fixed div that floats right works fine in IE but floats left in other browsers

    I have a div that I want to float right and have remain in that position as a user strolls down the screen. I set the position to fixed which works fine in IE8 but when I view it in other browsers (chrome, safari, firefox) the div does stay in position but it floats to the left.
    I believe it's just a simple setting that I'm not familiar with.
    Thanks for your help in advance.

    You can't float a fixed division. Use margins instead.
    http://alt-web.com/DEMOS/CSS2-Sticky-Text.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Firefox exits DOM fullscreen when clicked on a swf, how do I have a div that contains flash in a DOM fullscreen?

    I am trying to make a div that contains flash to go fullscreen
    The markup:
    <div id="outer">
    <div id="top"/>
    <div id="flashContent"/>
    <div id="bottom"/>
    </div>
    This wiorks
    if (outer.mozRequestFullScreen) { outer.mozRequestFullScreen();}
    But when I click on a div #flashContent the browser exits fullscreen immediately. This happens only in Firefox, all other browsers stay in fullscreen. Is there a solution?

    We aren't able to answer development related questions on these forums. I suggest looking for help on the Mozilla Developer Network site: https://developer.mozilla.org/en-US/

  • I put in my gift card code and at the top of my home page it says that I have 15 dollars. When I go to purchase it still makes me put in the code and says that it invalid. How do I pay for something when I already put in the code? please help

    I put in my gift card code and at the top of my home page it says that I have 15 dollars. When I go to purchase it still makes me put in the code and says that it invalid. How do I pay for something when I already put in the code? please help

    See Here  >  http://support.apple.com/kb/TS1646
    If no joy...
    Contact iTunes Customer Service
    Apple  Support  iTunes Store  Contact Us

  • Can someone help with a div that pops up when you hover over a button?

    I made a div that pops up (stacked on the rest of the page) when you hover over a button (gigs). It works in the safari preview but when I test it online it doesn't. It's above the logo instead of blocking it and on the left site instead of the right. And when you open the page it isn't hidden like in the preview. Does someone know what is wrong?
    The test page: Stuff

    Below code, onclick of 'GIGS' shows pop-up window. You then have a 'close' button which when clicked closes it.
    <!DOCTYPE html>
    <!--[if lt IE 7]> <html class="lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
    <!--[if IE 7]> <html class="lt-ie9 lt-ie8"> <![endif]-->
    <!--[if IE 8]> <html class="lt-ie9"> <![endif]-->
    <!--[if gt IE 8]><!--> <html> <!--<![endif]-->
    <head>
        <meta charset="utf-8">
        <title>Stuff</title>
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width">
        <link rel="stylesheet" href="http://www.rockoco.be/stuff/css/main.css">
        <link rel="shortcut icon" href="favicon.ico">
        <link rel="apple-touch-icon" href="favicon.png">
        <!--[if lt IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]-->
    <script type="text/javascript">
    function MM_showHideLayers() { //v9.0
      var i,p,v,obj,args=MM_showHideLayers.arguments;
      for (i=0; i<(args.length-2); i+=3)
      with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
        if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
        obj.visibility=v; }
        </script>
    </head>
    <style>
    #popup {
        position: absolute;
        right: 0;
        z-index: 100;
    #popup img {
    display: block;
    #popup p {
    margin: 0;
    padding: 0;
    #popup a {
        text-decoration: none;
        display: inline-block;
        padding: 8px 12px;
        color: #fff;
        background-color: #000;
    </style>
    <body>
    <div id="popup">
    <img src="http://www.rockoco.be/stuff/img/Flyer-030315.png" alt="popup" width="426" height="605" class="png" />
    <p><a href="#" class="closeWindow">CLOSE</a></p>
    </div>
    <div id="content">
    <h1><img class="svg" src="http://www.rockoco.be/stuff/img/logo.svg" alt="Stuff" /></h1>
    <nav id="social">
        <ul>
       <li><a href="#"><img class="svg" src="http://www.rockoco.be/stuff/img/gigs.svg" alt="Gigs" /></a></li>
            <li><a href="https://twitter.com/36STUFF" target="_blank"><img class="svg" src="http://www.rockoco.be/stuff/img/twitter.svg" alt="Twitter" /></a></li>
            <li><a href="https://www.facebook.com/STUFF.isthebandname" target="_blank"><img class="svg" src="http://www.rockoco.be/stuff/img/facebook.svg" alt="Facebook" /></a></li>
            <li><a href="https://soundcloud.com/stuffmusic" target="_blank"><img class="svg" src="http://www.rockoco.be/stuff/img/soundcloud.svg" alt="Soundcloud" /></a></li>
            <li><a href="http://stuffmusic.bandcamp.com/" target="_blank"><img class="svg" src="http://www.rockoco.be/stuff/img/bandcamp.svg" alt="Bandcamp" /></a></li>
            <li><a href="https://www.youtube.com/user/duststuff/videos " target="_blank"><img class="svg" src="http://www.rockoco.be/stuff/img/youtube.svg" alt="Youtube" /></a></li>
            <li><a href="mailto:[email protected]"><img class="svg" src="http://www.rockoco.be/stuff/img/contact.svg" alt="Contact" /></a></li>
        </ul>
        <ul>
             <li><a href="[email protected]" target="_blank"><img class="svg" src="http://www.rockoco.be/stuff/img/remixes_@_ab_klein.svg" alt="Remixes" /></a></li>   
        </ul>
    </nav>
    </div>
    <footer>
        <a class="left" href="http://www.minguely.ch" target="_blank"><img src="http://www.rockoco.be/stuff/img/logo_minguely.png" alt="" /></a>
            <a class="right" href="http://www.martincramatte.com/" target="_blank"><img src="http://www.rockoco.be/stuff/img/logo_martincramatte.png" alt="" /></a>
    </footer>
    <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
    <script>
    $(document).ready(function() {
    $('#popup').hide();
    $('.svg').click(function() {
    $('#popup').show()
    $(document).ready(function() {
    $('.closeWindow').click(function() {
    $('#popup').hide()
    </script>
    </body>
    </html>

Maybe you are looking for