Problem in loading external HTML content using SpryHTMLDataSet in Firefox

I have a very simple placement of the contents of an HTML DIV within a subsidiary HTML file (statespecificassets.html) into a main HTML document, using SpryHTMLDataSet in Dreamweaver CS4.
The relevant bits of code in the main HTML doc:
In the header:
<script src="../../SpryAssets/SpryData.js" type="text/javascript"></script>
<script src="../../SpryAssets/SpryHTMLDataSet.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
var ds1 = new Spry.Data.HTMLDataSet("../../statespecificassets.html", "NN_Data_s3a");
ds1.setColumnType("column0", "html");
//-->
</script>
And at the point of inclusion of the external DIV:
<div spry:region="ds1" class="StackedContainers">
         <div spry:repeat="ds1" class="RowContainer">
            <div class="RowColumn" style="background-color: #D7DF21;">{column0}</div>
         </div>
      </div>
The problem: This works fine in Safari 4.0 on a Mac, and IE7 on a PC. It doesn't work in Firefox 3.0.11 (latest version) on Mac or PC: In firefox the reference content simply doesn't load. The only way I can get it to work in Firefox is if I place the main HTML doc and its subsidiary reference HTML file in exactly the same directory/ on the same level, and adjust the script reference accordingly ( var ds1 = new Spry.Data.HTMLDataSet("statespecificassets.html", "NN_Data_s3a"); ) ...But I can't/ don't want to alter my directory structure, because multiple files in other directories will need to use the reference file.
Is there some other way of making it all-browser compatible -- possibly by adjusting a relevant bit of code in SpryHTMLDataSet.js in the Spry Assets? .. I've attached the SpryHTMLDataSet.js file for reference.
Thank you to any kind soul who might have the nous to solve this.

This is the latest version of SpryHTMLDataSet: http://labs.adobe.com/technologies/spry/preview/SpryHTMLDataSet.js
Check out if works for, if not, please provide us with a online url.

Similar Messages

  • Loading external .swf content using a button in CS5 AS3

    My project has about 400 independent files. It was originally created in AS2 using the following script.
    on (release){
    loadMovie("A_002.swf", _root);
    This same script is used every time I need to load the following .swf movie.
    I would like to use a similar (equivalent) script using AS3. (Please note that the objective is not to load dynamic content into a particular file as when creating a "Gallery". My objective is for the new loaded movie to applear in its own screen. At the same time the file on scree shall unload completely or dissapear.
    I have been trying to achieve the above result for a long time with no luck. I mean a long time a couple of months. PLEASE HELP !!!!!!

    I have tried the following:
    back_btn.addEventListener(MouseEvent.CLICK, mouseClick);
    function mouseClick(event:MouseEvent): void {
    varLoader:Loader = new Loader();
    loader.load(newURLRequest("file_to_be_loaded.swf"));
    addChild(loader);
    This script loads the file. However, it loads on top of the loader file. My goal is that once the called file loads up, the previous file will leave the screen leaving only the loaded file.
    NOTE: The objective is not to build a gallery. This optionn is used instead ob having 400 different scenes. Each .swf shall be loaded independently of all other .swf/s.
    Thanks for your help.

  • How we can load external html or php file in flash?

    Hi there,
    I want to show my php's file desing in flash..
    i m getting data through database in php file and it has
    table... so I want to show that data in my flash movie...
    Please help me ..
    How can I load external html or php file in flash?
    If any other way is there then plz tell me.....
    thanx

    No.  Flash can only display html content in textfields and only supports a very limited number of html tags (look up the htmlText property of TextFields).  So to display an html/php file is not possible.

  • Import external HTML contents to JSP

    Hi,
    Anybody knows if the WLW has a JSP tag that can be used to import external HTML
    contents to my current JSPs? Something similar to JSTL import.
    Thanks
    Qiu

    Qiu--
    WLW doesn't have one specifically.
    You can certainly use that tag from the Jakarta standard tags 1.0 implementation of JSTL -- this
    version does not require JSP 2.0 and can run on a 2.3 Servlet container.
    Hope that helps...
    Eddie
    Shiye Qiu wrote:
    Hi,
    Anybody knows if the WLW has a JSP tag that can be used to import external HTML
    contents to my current JSPs? Something similar to JSTL import.
    Thanks
    Qiu

  • Videos won't load on specific sites using Safari and FireFox. I've cleared the caches, reset Safari, removed and reinstalled Flash player, downloaded newest update.

    Videos won't load on specific sites using Safari and FireFox. I've cleared the caches, reset Safari, removed and reinstalled Flash player, downloaded newest update.

    Videos won't load on specific sites using Safari and FireFox. I've cleared the caches, reset Safari, removed and reinstalled Flash player, downloaded newest update.

  • Load external html into a Layer?

    I've created a framework of a kids' site using CSS layers to
    overlap a Skyline image overtop of another 2 layers, one showing a
    BG image of the sky, the other showing the scrolling content.
    For another section of the site, I would like to load an
    external HTML into the layer behind the skyline. Specifically, I
    would like a Blog to load and scroll behind the skyline. Anyone
    know if it is possible to load an external html page into a layer,
    and if so, how does one go about it?
    The (unfinished) page in question can be seen here:
    http://www.marcsobservatory.com/mo_mainpage6.html
    The stylesheet can be found here:
    http://www.marcsobservatory.com/mo_styles2.css
    Thanks!

    is the first frame of your loaded swf's empty?  if yes, then no problem using _levels.
    if not, do you mind a momentary flash when your next swf loads and before its _alpha is assigned 0 and then faded-in?  if you don't mind, then no problem using _levels.
    if you do mind that momentary flash, then using _levels will be more complex than using empty target movieclips.  is there some good reason to use _levels instead of target movieclips?

  • Search function for external html content

    Hi all,
    i have got a Flash Projector which is to be deployed on
    DC/DVD rom. I am using an XML menu to load various chapters and
    sections of html content, images etc. The client is now asking for
    the capability to search within the "books" content.
    Is there any way of doing this? I have found an Extension
    that allows me to search within a text field, but what about
    external content files?
    Please help. I've had a quick look at Director, but I can't
    see any guarantee that that product will give me an easier
    solution, not to mention the weeks or relearning and
    redeveloping...

    You probably need to read all the data into Flash and do the
    searching in Actionscript.
    Director as I recall has better access to the OS so it could
    potentially read a local database. However you should continue to
    consider how to accomplish in Flash.
    If you want to explore accomplishing the same with Flash then
    look at third party products such as Zinc that will allow you to
    get to the OS.

  • Unable to load external local content

    I have Flash 8 Professional on Windows Vista 64-bit and I am
    trying to load external SWF's into my main Flash SWF. The content
    will load correctly in the trusted test movie environment but will
    not load the local content in a published local sandbox mode that
    runs inside of a browser. The odd thing is that the XML loader
    actually loads the XML file sitting in the local directories but
    for some reason it will not load the external SWF's. Anyone have an
    idea why this might be happening?
    I've pasted the code that will hopefully help in determining
    the problem. The following is the traced print out of my debugging
    info...
    quote:
    scorm.connect(): true
    scorm.set('cmi.core.lesson_status', 'incomplete'): true
    scorm.get('cmi.core.student_id'): User01
    scorm.get('cmi.core.student_name'): Student, Joe
    loading page 0
    scorm.set('cmi.core.lesson_location', '0'): true
    [Data:onLoad] Success
    [Data:parseXML] Parsing XML...
    [Preloader:loadFrame] Loading frame...
    mcLoader.loadClip() succeeded
    [Preloader:onLoadStart] _level0.content_mc.mcFrame0
    [Preloader:onLoadError] Error Code:LoadNeverCompleted HTTP
    Status:0

    Since that error points to gallery fla, it may mean the problem is inside the gallery swf file.  What you should do is go into your Publish Setings and select the option to Permit Debugging.  THat will help by attaching the line number of the problemed code.  You might find it is of a line number greater than any you have in the file doing the oading which would probably make it more definitie that its the file you are loading.
    Just in case you copied and pasted, the following line should have thrown up a syntax error due to missing a parenthesis...
    loader.load(new URLRequest("gallery.swf");

  • Load External HTML/Website in Flash (urgent)

    Hi all,
    I've found the codes to load the external html and text in
    flash at run time, but I when I tested most of the html sites
    cannot show very well at all such as videos and swf advanced tag in
    html.So is there any way to load external website into flash at
    runtime?
    Thanks

    you can display it in a popup window or in the same window or in an iframe in the same html page that displays your swf.
    When you say this, do you mean I can create an iFrame on the same html page that displays my swf, and have it be dynamically populated by what the user clicks on the swf?
    yes, exactly.
    use getULR() (as2) or navigateToURL() (as3) with the 1st parameter being the html page you want to display and the 2nd parameter being the iframe "name" property.

  • How to load external data without using external tables

    Hi,
    I'm asked to develop an ETL for loading external data into a database but, unfortunately, the vers. is 8i so I can't use external tables.
    I know that it's possible by using SQL-Loader. What I want to know is whether there's another way in 8i to load external data from a text file or a CSV file directly with a stored procedure without having to write CTL of SQL-Loader on the server. I mean, is there a way to write everything on the database the same manner I'd do whether I wrote data from a table to a file using for example UTL_FILE or the unique way is to write control files of SQL-Loader directly on the server?
    Thanks!

    Mark1970 wrote:
    Thank you very much Karthick
    I didn't know I could use UTL_FILE also for reading files. I've always use it only for writing data into external files.Yes you can use UTL_FILE to read. The version of oracle you are using i last used in 2004 :) Still remember giving the OS path of the file to open the file. That is long gone now. Its surprising that you are still in 8i.

  • Vista problem with loading external JPGs?

    I'm really pulling my hair out on this one. I did a quick
    flash piece for a preschool's web site and have tried several
    different Flash components inside of a larger FLA file that load
    external JPG files in a predefined area. With each component, I
    have received complaints (so far only from Vista users) that the
    user sees nothing in the area where photos are supposed to be
    loading. Instead they just see a white or black box.
    Is there any known issue with this? They can see everything
    else in the SWF file (the swinging girl and the text), but not any
    of the loaded JPG photos. Can anyone else out there with Vista tell
    me that they have the same problem? I'd like to track down what the
    common denominator is.
    I've asked two of the users to completely uninstall the Flash
    player and reinstall it, but to no avail. Deactivating Norton
    Antirvirus also didn't seem to do anything.
    Here is the URL:
    http://www.countryvillageps.com
    -- the flash item is the top banner.

    As Ned said the problem might be with the file structure on the server. Other problems may be with spelling. You computer may not be case sensitive to the names of the .swf files that you are loading, but your server might. So, on your computer when you are testing, second.swf is the same as Second.swf, or even second.SWF. But, on the server each of these variations is seen as a different file. Another problem is that when you are loading files from the same computer in testing, those files are close and so they load very quickly from your computer. When the files have to travel from the server, there will likely be a measurable period of time before the file is ready to be shown. This is particularly problematic with video that is embedded into an .swf. The whole file will need to be downloaded and uncompressed before it is available to play. If you stream the video as an external file, you can shorten the wait considerably.

  • Is there a way to display external HTML content inside a SWF movie?

    IE if i wanted to have an 800x600 flash movie that i could display cnn.com or something of that sort.  Is it possible?

    A second option is to display the HTML content over the top of the Flash content.
    If is project is to be displayed as a Web page... it's all HTML anyway.... some of which may be Flash content, some that is regular HTML content. So it's not that hard to add in a little more regular HTML content.
    In your Flash movie, leave a blank space with the exact dimensions/location of the HTML content you want to display.
    Then using HTML/CSS z-indexing, stack the HTML content over the top of that blank space... making it LOOK like the HTML is a part of the Flash.
    If you want to display part of another Web site like cnn.com, you could do that in an iframe.
    Z-indexing info here:
    http://www.w3schools.com/cssref/pr_pos_z-index.asp
    http://webdesign.about.com/cs/css/a/aazindex.htm
    and the iframe here:
    http://www.w3schools.com/tags/tag_iframe.asp
    Best wishes,
    Adninjastrator

  • LSADMIN CMS authorization problem - How To Transport XI Content Using CMS

    We are configuring CMS using the "How To Transport XI Content Using CMS".  For the LSADMIN user we have added the SAP_XI_CMS_SERV_USER and SAP_SLD_ORGANIZER roles.  We have followed all of the steps in the guide.
    The problem we are encountering is that when we define the domain but put in the LSADMIN as the user, we get an error - "SLD (URL http://server:50000) server exception: HTTP response code: 403 Forbidden"
    We then gave the LSADMIN all of the roles of XISUPER and restarted the J2EE engine.  We still have the same problem.  So we changed the CMS User to be XISUPER and we could save the domain.  Now, we have another problem - when we try to export from dev using CMS, we get the following problem:
    "Sent on 3/9/06 at 1:26 PM: Unable to establish connection to CMS server http://servername:50000. Unable to transfer the following transport lists:  Export list for ...
    Details: unknown exception: com.sap.cms.util.exception.conf.CMSCFinderException: Workspace name does not exist: com.sap.cms.util.exception.conf.CMSCFinderException: Workspace name does not exist: version=0,dtrWSName=
    Check the availability of the CMS and the user authorizations and send the transport request again if necessary
    We are on SP16.  Anyone encountered this issue?
    Regards,
    Jay

    Here are all of roles we have given LSADMIN in client 100:
    SAP_CMS_ADMINISTRATOR
    SAP_SLD_DEVELOPER
    SAP_SLD_GUEST
    SAP_SLD_ORGANIZER
    SAP_XI_BPE_MONITOR_ABAP
    SAP_XI_CMS_SERV_USER
    SAP_XI_CMS_SERV_USER
    SAP_XI_DEMOAPP
    SAP_XI_DEVELOPER
    SAP_XI_DEVELOPER_ABAP
    SAP_XI_DEVELOPER_J2EE
    SAP_XI_MONITOR
    SAP_XI_MONITOR_ABAP
    SAP_XI_MONITOR_J2EE
    But on the J2EE side, we only see the following roles for LSADMIN:
    - Authenticated Users Built-in Group Authenticated Users
    - Everyone Built-in Group Everyone
    - SAP_XI_CMS_SERV_USER Exchange Infrastructure: Change Management Service User
    I checked client 000, and noticed that LSADMIN only had the SAP_XI_CMS_SERV_USER.  So this the problem.  I added all of the roles to LSADMIN in client 000 and restarted J2EE and now i can see all of the roles under the LSADMIN user in UME.
    We noticed the problem that our UME configuration was pointing to client 000 and not client 100.  If we go to Visual administrator and go to the Services->UME Provider, we see that - ume.r3.connection.master.client points to client 000.  We will need to change this.
    That was the issue.  UME was pointing to the wrong ABAP client.  I appreciate all of your help.
    Regards,
    Jay

  • I am having problems attaching files to my email using the latest Firefox 13.0.1, Comcast is my internet provider, but I did not have problem with Safari.

    Why am I having problems attaching files to my email using Firefox 13.0.1.?
    I am using a MAC, OS 10.6.8, and have Comcast as my internet provider. I noticed after I upgraded to Firefox 13.0.1 that I am having problems attaching files to my email. I do not experience the same problem with Safari, but I prefer to use Firefox, as all of my bookmarks and passwords are saved there. I just like the way Firefox works better than Safari.
    I am a free-lance graphic designer and rely on my internet connection to my customers. I need this resolved ASAP!

    Could you start by resetting the zoom level on the page? To do that, you can either:
    * Press Ctrl+0 (that's a zero) on the keyboard
    * View menu > Zoom > Reset
    You also can use zoom to increase/decrease the size from there. This article describes the various mouse, keyboard, and menu methods: [[Font size and zoom - increase the size of web pages]].
    Any luck?

  • Problem on loading DAT file when using 3G network modem

    Hello,
    I'm having some strange problem when I'm trying to load my game on the part where DAT file with Map Object is read, using 3G Network Modem. This issue started when I migrated my applet from one host to another. Everything loads well, until the user authentication. On user authenticatiom I'm recieving map name which I should load and show the user on it. I'm recieving the message where map name is mentioned, but after, when the process of loading map begins(when I need to read DAT file which is only 15KB) application blocks(browser and JVM also block).
    I thought it could be because of slow network communication, but it's not the reason, since I have tested(using Bandwidth limiter software) with 5 KBs/Second and it loads well and application is running well.
    Any clue why this can happen? If code is needed I'll post some pieces related to the process of map creation.
    URL or application: [ http://mimosa.dei.uc.pt/serhiy/demo/hoonline.html|http://mimosa.dei.uc.pt/serhiy/demo/hoonline.html]
    Accounts: test01/test01 ... test0n/test0n ... test05/test05 (n is number from 1 to 5)
    Thanks in advance!

    You have to upload it with FileReference.upload() to a PHP
    (or other server-side) script which saves it to a folder on the
    server. When the DataEvent.UPLOAD_COMPLETE_DATA event has been
    dispatched you can then use the FileReference.name to load from the
    file on the server just like any other image.

Maybe you are looking for

  • Getting an error in the "Partner Link" when specifying an https-base wsdl

    Hi friends, this is Hari. I'm getting an error in the "Create Partner Link" dialogue when specifying an https-based wsdl url. The non-ssl wsdl url works fine, but I need it to work for ssl (https). The specific errror reads: Error:Failed to read wsdl

  • Issue with message mapping.

    HI All, I am working on a JDBC-XI-RFC scenario. I have two data types, two message types and two message interfaces. now, i have created the message mapping and mapped the fields of both sender and reciever message types. To test with sample data now

  • Track bleed while recording

    I'm trying to use garageband mulitracking to record songs.  My usual method is to record guitar as first track, and vocals on the second track and build from there.  I am using headphones to listen to the guitar track and I'm singing along to the gui

  • Error in MERGE statement - ORA-00969: missing ON keyword

    Hi All , I am trying to write a Merge statement , but I am getting the below error .    MERGE  INTO main_table m                           USING  tab_1 l, tab_2 u                           ON  (   l.col1        =  m.col1                              

  • Closed Indicator in PR automatically Tick by click on Delivery Comp. in PO

    Hi, When we create a PR with 10 Qty..create PO with same quantity..and create MIGO for 6 Qty. Now we want to short close the PO. Now Requirement is: - Can the closed indicator in PR be made to get automatically checked once the delivery complete indi