Dw cs5.5 + Phonegap + spry dataset xml and images links broken

Hi all,
I'm building an app using DW CS5.5 and Phonegap.
This is what I've done:
created pages using the starter template (local)
I created a php page that run a query on a mysql database and output an xml file
I created a spry dataset using the php (see 2) file as data file
It works locally and on-line on my website.
But if I package an app using the android sdk from dw CS5.5 I have problems: all images are all broken. It seems that the link to image is not correct.
In fact, all images are not using absolute path (http://www.mysite.com/images/...) but are set this way: /images/....
So, my question is: have I to specify all images sources using absolute paths to make it work when packaged?
TIA for any reply
tony

Hi Gramps,
I just solved the problem with image paths (I made all src paths absolute).
There is only one problem left: I opened another discussion: http://goo.gl/ysNDH
But here the link you (correctly) need to trobleshoot the problem): http://www.camar.it/newsxml
It should work on desktop browsers but it fails when I pack the app for android and install it on an android smartphone: I get "error loading page" when clicking on any details link (the button label is: DETTAGLI) on the news page.
Tony

Similar Messages

  • Spry XML and image map

    Hi all-
    I'm new to using spry and xml, but not new to xhtml and layout, having said that. I'm trying to store file paths in my xml and parse that xml to repace <href> tags in an image map. For example (the actual cooridnates in the map are just made up for the example below, the actual map has 88 locations and very detailed coordinates, as it is a state map):
    <head>
    <script src="../SpryAssets/xpath.js" type="text/javascript"></script>
    <script src="../SpryAssets/SpryData.js" type="text/javascript"></script>
    var ds1 = new Spry.Data.XMLDataSet("../files/research/counties_census.xml", "ohio");
    </head>
    <body>
    <div spry:region="ds1">
    <img src="../images/CountyMap.gif" width="565" height="611" usemap="#Map">
            <map id="Map" name="Map">
              <area shape="rect" coords="103,156,155,202" href="../files/research/{Location}" />
              <area shape="rect" coords="216,156,286,210" href="../files/research/{OtherLocation}" />
            </map>
    </div>
    </body>
    Am I just making a syntax error or is this just outside the scope of what I can use spry for? Any help is appreciated.
    thanks in advance

    I have one more question. What you gave me worked like a charm btw. Thanks a lot. Onto the question:
    I'd like to use the same XML to also power a drop down menu, here's a snippet of the XML/XHTML below. I can't seem to get it to work on the drop down, the image map works great.
    XML snippet:
    <locations>
      <location>
         <filepath>P1008.pdf</filepath>
         <coords>192,496,193,497,194,497,195,497,196,497,197,497,199,497,201,497,201,498,202,498,2 01,498,201,499,202,499,203,500,204,500,204,501,205,502,206,502,206,503,207,503,207,504,207 ,506,207,510,207,511,207,512,207,514,207,518,207,521,207,522,207,524,207,525,207,526,207,5 27,207,528,207,529,207,530,207,531,207,532,207,533,207,535,207,537,207,538,207,539,207,540 ,207,541,207,542,207,543,207,545,207,547,207,548,207,549,207,550,206,552,206,554,206,555,2 06,556,206,558,206,559,206,560,206,562,206,563,206,564,206,565,206,566,206,567,206,568,206 ,569,206,570,206,571,205,571,205,572,204,572,204,573,203,573,203,574,203,573,202,573,201,5 73,201,572,200,572,200,571,200,570,199,570,199,569,199,568,199,567,198,566,197,566,197,565 ,196,565,196,564,195,564,194,564,194,563,193,563,192,563,192,562,191,562,190,562,189,562,1 88,562,187,562,186,562,186,561,187,561,186,561,185,561,184,561,183,561,182,561,182,560,181 ,560,180,560,179,559,178,558,177,557,176,557,176,556,175,556,174,556,174,555,173,555,172,5 55,171,556,169,556,168,556,168,557,167,557,166,557,165,557,164,557,164,558,163,558,162,558 ,161,558,160,559,159,559,159,560,158,560,158,561,158,562,158,563,157,563,157,564,157,565,1 57,566,156,567,155,567,155,568,154,568,153,568,153,567,152,567,151,567,150,566,149,566,149 ,565,149,564,149,563,149,562,149,561,149,560,149,559,149,558,149,557,149,555,150,555,150,5 54,150,553,150,552,150,551,150,549,150,548,150,547,150,546,150,545,150,544,151,543,151,541 ,151,540,151,538,151,537,151,536,151,534,151,532,152,531,152,530,152,529,152,528,152,527,1 52,526,152,525,152,523,152,522,152,521,152,520,152,519,153,519,153,518,153,517,153,516,153 ,515,153,514,153,513,153,512,153,510,153,508,153,507,154,506,154,505,154,504,154,503,154,5 02,155,502,156,502,159,502,160,502,161,502,162,502,163,502,164,502,165,502,165,501,166,501 ,167,501,168,501,169,501,170,501,170,500,171,500,172,500,173,500,174,500,175,500,175,499,1 76,499,177,499,178,499,179,499,180,499,180,498,182,498,184,498,188,497,189,497,190,497,191 ,497</coords>
         <county>Adams County</county>
      </location>
      <location>
         <filepath>P1009.pdf</filepath>
         <coords>132,183,132,184,132,185,132,186,132,187,132,188,132,189,132,190,132,192,132,194,1 31,195,131,196,131,197,131,199,131,201,131,202,131,203,131,204,131,206,131,207,131,208,131 ,209,131,210,131,211,131,212,131,213,131,214,131,216,131,217,131,218,131,219,131,220,131,2 21,131,223,131,224,131,225,131,226,131,227,131,228,131,229,130,229,129,229,126,229,125,229 ,124,229,123,229,122,229,119,229,118,229,117,229,116,229,114,229,113,229,112,229,111,229,1 10,229,109,229,108,229,107,229,106,229,105,229,104,229,102,229,102,227,102,226,100,226,99, 226,98,226,97,226,96,226,95,226,92,226,90,226,89,226,87,226,87,225,87,224,87,222,87,221,85 ,221,84,221,83,221,82,221,81,221,80,221,78,221,77,221,76,221,75,221,72,221,71,221,69,221,6 8,221,65,221,65,220,65,219,65,218,65,217,65,216,65,215,65,214,65,212,65,211,65,210,65,209, 65,207,65,206,65,205,65,204,65,203,65,201,65,200,65,199,66,199,67,199,68,199,70,199,71,199 ,72,199,73,199,73,197,73,196,73,195,73,194,73,193,73,192,74,192,75,192,76,192,77,192,79,19 2,80,192,81,192,82,192,83,192,84,192,85,192,86,192,87,192,88,192,90,192,91,192,92,192,95,1 92,99,192,100,192,101,192,102,192,102,191,102,190,102,188,102,187,102,186,102,185,105,185, 106,185,107,185,108,185,109,185,110,185,111,185,113,185,114,185,115,185,116,185,117,185,11 7,184,117,183,117,182,118,182,119,182,120,182,121,182,122,182,123,182,124,182,125,182,126, 182,127,182,128,182,129,183</coords>
         <county>Allen  County</county>
      </location>
    </locations>
    Here's my XHTML:
    <div spry:region="ds1">
         <p>Click on a county, or select from the following:
              <select onchange="jumpMenu(this)" name="menu1">
              <option spry:repeat="ds1" value="../files/research/{filepath}">{county}</option>
              </select>
         </p>
            </div>
    <div spry:region="ds1"> <img src="../images/OhioCountyMap.gif" usemap="#Map">
         <map id="Map" name="Map">
         <area spry:repeat="ds1" shape="poly" coords="{coords}" href="../files/research/{filepath}">
         </map>
    </div>

  • Spry Dataset XML Import Blank (Where's the problem?)

    I have a weird predicament I've worked myself into and need to figure out a way to clean up this process.
    Background: I am working within the constraints of a content management system that doesn't have full content management capabilities, switching CMS is not an option, server I believe is Tomcat, but JSP/ASP/PHP I think is irrelevant because of the constraints of the CMS.  The current dilemma I have is that they want a list built on a page, 40 items per page.  Very manual process.  Get Excel list --> Move to HTML --> And then playing musical chairs rotating things around.  This last part is the reason I'd like to move it towards XML.  It might not be as pretty, but I'm hoping to eliminate as much tedious coding as I possibly can (code looks bad enough as it is, no where near valid, definitely not accessible for Murray, but out of my control as far as changing at the moment).
    The project also moves around so not everyone has the same software and moving to a database, is not an option.
    Where I'm at: Because there are multiple parties involved the only link between them is the dreaded Micrsoft Office (v. 2007).  So I figured it was worth a shot looking into Excel's XML capabilities.  I created the XSD file for Excel to map from, and let Excel save the file as XML.  Now I have used the XML feature before in DW with datasets using XML files that either I hand-coded or where cached from database queries.  I tried to import it into DW and normally where you preview the data, in this case, nothing is visible.  So my first though is, maybe the XML from Excel doesn't validate, but then it does so that doesn't appear to be the issue. It validates just fine.
    My ideal is that users can save just an Excel file and when these pages are made, the XML can be exported for DW and then if things need to be re-ordered they can easily do it in Excel which everyone has, but the web person can just upload an XML.  Below is the XML and XSD files that were used.  There is only one row of data in the XML file and data is sample data because of proprietary things.  Any help with this problem is greatly appreciated.
    XSD:
    <?xml version="1.0" encoding="utf-8"?>
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:element name="list">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="list_item" minOccurs="1" maxOccurs="unbounded">
              <xs:complexType>
                <xs:attribute name="name" type="xs:string" use="required" />
                <xs:attribute name="address" type="xs:string" use="required" />
                <xs:attribute name="imagepath" type="xs:string" use="required" />
                <xs:attribute name="product" type="xs:string" use="required" />
                <xs:attribute name="productlink" type="xs:string" use="required" />
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:schema>
    XML:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <list>
              <list_item name="google" address="http://www.google.com" imagepath="image/path/image.jpg" product="googles" productlink="http://www.somedomain.com/index.html"/>
    </list>

    I do not see a problem with the XML file. In fact I used the data as a file called untitled1.xml in the following
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <script src="http://labs.adobe.com/technologies/spry/includes_minified/xpath.js"></script>
    <script src="http://labs.adobe.com/technologies/spry/includes_minified/SpryData.js"></script>
    <script type="text/javascript">
    var ds1 = new Spry.Data.XMLDataSet("untitled1.xml", "list");
    </script>
    </head>
    <body>
    <div spry:region="ds1">
      <table>
        <tr>
          <th spry:sort="list_item">List_item</th>
          <th spry:sort="list_item/@address">List_item/@address</th>
          <th spry:sort="list_item/@imagepath">List_item/@imagepath</th>
          <th spry:sort="list_item/@name">List_item/@name</th>
          <th spry:sort="list_item/@product">List_item/@product</th>
          <th spry:sort="list_item/@productlink">List_item/@productlink</th>
        </tr>
        <tr spry:repeat="ds1">
          <td>{list_item}</td>
          <td>{list_item/@address}</td>
          <td>{list_item/@imagepath}</td>
          <td>{list_item/@name}</td>
          <td>{list_item/@product}</td>
          <td>{list_item/@productlink}</td>
        </tr>
      </table>
    </div>
    </body>
    </html>
    and it works fine.
    However, if I that was confronted with the problem, I would save the Excel file to a CSV and use the Spry CSV Data Set as per http://labs.adobe.com/technologies/spry/samples/data_region/CSV_sample.html
    Gramps

  • XML and Images MAC CS3

    Hi,
    if I try to import an XML with images on the Mac, InDesign will not allow me to use the tilde '~' for the users home directory. I.e. paths like this cannot be handled:
    file:///~/Library/Preferences/Adobe InDesign/Version 5.0/Scripts/Scripts Panel/logos/myEPS.eps
    But instead this one is OK.
    file:///Users/stefanrakete/Library/Preferences/Adobe InDesign/Version 5.0/Scripts/Scripts Panel/logos/my.eps
    Can anyone confirm this?
    Stefan

    Hi,
    if I try to import an XML with images on the Mac, InDesign will not allow me to use the tilde '~' for the users home directory. I.e. paths like this cannot be handled:
    file:///~/Library/Preferences/Adobe InDesign/Version 5.0/Scripts/Scripts Panel/logos/myEPS.eps
    But instead this one is OK.
    file:///Users/stefanrakete/Library/Preferences/Adobe InDesign/Version 5.0/Scripts/Scripts Panel/logos/my.eps
    Can anyone confirm this?
    Stefan

  • Distiller missing text and image links when saving to pdf

    Not sure if anyone has experienced this issue before. Basically I create artwork 1up in indesign CS3 and print as a postscript file "print ready settings" then create a pdf through distiller 8.1.2. After this I then imposition the 1up PDF back into indesign (using the pdf as a link and then step and repeat it) then I print the new imposed artwork as postscript file again and distill it as a PDF ready for offset printing.
    Most time this process works like a dream, but every now and then distiller doesn't want to process the file correctly and images and sometimes text have dropped off the final imposed PDF file. It doesnt notify me of any problems when distilling. As you can imagine working in the print industry this is VERY SCARY
    As i am using a common 1up pdf link the imposition should be correct, (all the pdf linked images should be the same anyway) Is it a memory issue, or a bug in distiller perhaps.
    Im running a Mac with OSX 10.4.11 with 2Gig of RAM.
    If you would like to see a sample of the issue let me know.
    Any help on this would be awesome.

    thanks for the replies,
    Working in a pre-press environment we obviously prefer to print from pdf files (as opposed to using supplied native art). As a result I am always receiving pdf files from external clients who have saved their artwork from indesign to pdf format, so Im not sure what the real difference is between me imposing a supplied indesign/pdf files in indesign vs me imposing my own indesign/pdf files in indesign. (aprt from perhaps going through distiller twice)
    i can see what your saying though and for years i have been using the cut and paste and step and repeat method but recently changed my workflow for a few reasons
    - I noticed that by printing a 1up pdf and relinking the file back into my indesign imposition the final imposed pdf was lower in size
    - if a client made a change to the artwork after imposing (which always happens) all i had to do was make the change, resave the pdf 1up link again and update the link and it did it for me and saved me from step and repeating all over again,
    - whenever the job was printed again in the future i could use the same procedure, resave as 1up pdf again and update the link.
    - plus i knew that if i was using the one link all my step and repeats would be exactly the same each time (and i didn't have to worry that a graphic that hadn't been selected/grouped correctly and would drop off when step and repeating)
    .....and for sure it probably is a slightly longer way to impose a job for print but it saves me half the time on the next print run, and i can use my imposition file as a template for similar jobs also.
    I have found the workflow i use works fine, apart from these rare hiccups which i can get around by resaving the pdf again anyway, but what Im really worried about is the times this error presents itself and doesn't notify me that a problem has occurred.

  • Roll-over image and image-link

    Hi,
    How can I create a rollover image in the portal ?
    On another hand, how can I create a simple image-link ?
    Thanks for your help
    Jean-Christophe

    Here is the code to the above problem, maybe it will help in
    answering the question.
    <mx:State name="Bag Open">
    <mx:SetProperty target="{bagUp}" name="visible"
    value="false"/>
    <mx:SetProperty target="{bagOver}" name="visible"
    value="true"/>
    <mx:SetProperty name="width" value="575"/>
    <mx:AddChild position="lastChild">
    <mx:Panel width="100%" layout="vertical"
    id="pnlBagSummary" title="Bag Summary">
    <mx:DataGrid dataProvider="{this.bagData}" width="100%"
    height="250">
    <mx:columns>
    <mx:DataGridColumn headerText="Item" dataField="item"
    width="150" itemRenderer="components.ProductView"/>
    <mx:DataGridColumn headerText="Qty" dataField="qty"
    width="50"/>
    <mx:DataGridColumn headerText="Description"
    dataField="description" width="200"/>
    <mx:DataGridColumn headerText="Price" dataField="price"
    width="75"/>
    <mx:DataGridColumn headerText="Actions"
    dataField="action" width="75"/>
    </mx:columns>
    </mx:DataGrid>
    <mx:ControlBar>
    <mx:Text text="Checkout will take you to our secure
    ordering page." fontSize="12" fontWeight="bold" textAlign="left"
    color="#191919"/>
    <mx:Button label="Checkout"/>
    <mx:Button label="Clear Cart"/>
    </mx:ControlBar>
    </mx:Panel>
    </mx:AddChild>
    </State>

  • Addon domain image links broken

    I use addon domains inside my main site to maintain small side sites and to preview client sites before handing off.
    My host recently upgraded the servers. The addon domain sites affected were last synched w/Dreamweaver CS4 v10+.
    The addon domains - "myaddondomains.com" - worked fine until I recently resynched with Dreamweaver CS5.5 v11.5.
    The problem  is that  image links now display only <alt> text without the image. The page navigation remains intact, as does the CSS link.
    Image paths point to image folder within the addon/subdomain folder.
    I've tried setting the links to both site and document - regardless of the path the images won't display.
    Enter the domain URL only:
    http://www.dealerzine.com/ = <alt> text only
    Enter the absolute address: mysite.com/myaddondomain.com
    http://www.siebenthalercreative.com/dealerzine.com/ = <alt> text only
    Enter as a subdomain (below): mysubdomain.mysite.com
    http://www.dealerzine.siebenthalercreative.com/ = correct image display (below)
    Is there anything obvious I'm overlooking? It looks like there's something in the dot-com suffix that might be affecting how the lookup treats the image display but the correct display of <alt> text indicates (to me) the image folder is being accessed.
    My host IT has spent a lot of time looking at the back end with no solution other than a vague suspicion that the site relative forward slash might be a (Apache) problem.
    Thanks in advance -

    Problem solved. cPanel security HotLink Protection wrote domains to .htaccess and blocked image links - which should have been obvious. Once disabled addon domains are again displaying normally.

  • Image links broken when creating a page from template

    I have created a page in dw cs4 and saved it as a template. I have a navigation bar in a div tag. The image renders great in the template. I save the template. I go to File>New>PagefromTemplate and choose the template. I save the page as index.html. The links to the navbar images are broken. I can see the difference in the code, but I don't know why it's changing the code. I know it's just a simple link problem, but I don't know how to fix it and I don't understand why the code is changing. I have made the links relative to the document, and have gone through other settings and solutions on this forum and nothing fixes it. Any help would be most appreciated.
    Here is the code for the template:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Welcome to Pennyhill - Custom Furnishing for Home and Office</title>
    <!-- TemplateEndEditable -->
    <link href="../pennyhill.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    -->
    </style>
    <script type="text/javascript">
    <!--
    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_nbGroup(event, grpName) { //v6.0
       var i,img,nbArr,args=MM_nbGroup.arguments;
       if (event == "init" && args.length > 2) {
         if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
           img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
           if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
           nbArr[nbArr.length] = img;
           for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
             if (!img.MM_up) img.MM_up = img.src;
             img.src = img.MM_dn = args[i+1];
             nbArr[nbArr.length] = img;
       } else if (event == "over") {
         document.MM_nbOver = nbArr = new Array();
         for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
           if (!img.MM_up) img.MM_up = img.src;
           img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
           nbArr[nbArr.length] = img;
       } else if (event == "out" ) {
         for (i=0; i < document.MM_nbOver.length; i++) {
           img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
       } else if (event == "down") {
         nbArr = document[grpName];
         if (nbArr)
           for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
         document[grpName] = nbArr = new Array();
         for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
           if (!img.MM_up) img.MM_up = img.src;
           img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
           nbArr[nbArr.length] = img;
    //-->
    </script>
    </head>
    <body background="../swirlybackg.jpg" onload="MM_preloadImages('navbars/homedown.jpg','navbars/homeover.jpg')">
    <div id="wrapper">
       <div id="fabricR"></div>
       <div id="fabricL">
         <div id="nav"><a href="../index.html" target="_top" onclick="MM_nbGroup('down','group1','home','navbars/homedown.jpg',1)" onmouseover="MM_nbGroup('over','home','navbars/homeover.jpg','navbars/homedown.jpg',1)" onmouseout="MM_nbGroup('out')"><img src="navbars/homeup.jpg" alt="Home Button" name="home" border="0" id="home" onload="" /></a><br /></div>
         </div>
       <div id="header"></div>
       <!-- TemplateBeginEditable name="windowhomepg" -->
       <div id="windowhomepg"></div>
    <!-- TemplateEndEditable --></div>
    <div id="copyright">Copyright © 2009 Pennyhill Furnishings. All rights reserved.</div>
    </body>
    </html>
    Here is the code for the index.html page:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/pennyhillbasichomenav.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Welcome to Pennyhill - Custom Furnishing for Home and Office</title>
    <!-- InstanceEndEditable -->
    <link href="pennyhill.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    -->
    </style>
    <script type="text/javascript">
    <!--
    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_nbGroup(event, grpName) { //v6.0
       var i,img,nbArr,args=MM_nbGroup.arguments;
       if (event == "init" && args.length > 2) {
         if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
           img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
           if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
           nbArr[nbArr.length] = img;
           for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
             if (!img.MM_up) img.MM_up = img.src;
             img.src = img.MM_dn = args[i+1];
             nbArr[nbArr.length] = img;
       } else if (event == "over") {
         document.MM_nbOver = nbArr = new Array();
         for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
           if (!img.MM_up) img.MM_up = img.src;
           img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
           nbArr[nbArr.length] = img;
       } else if (event == "out" ) {
         for (i=0; i < document.MM_nbOver.length; i++) {
           img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
       } else if (event == "down") {
         nbArr = document[grpName];
         if (nbArr)
           for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
         document[grpName] = nbArr = new Array();
         for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
           if (!img.MM_up) img.MM_up = img.src;
           img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
           nbArr[nbArr.length] = img;
    //-->
    </script>
    </head>
    <body background="swirlybackg.jpg" onload="MM_preloadImages('navbars/homedown.jpg','navbars/homeover.jpg')">
    <div id="wrapper">
       <div id="fabricR"></div>
       <div id="fabricL">
         <div id="nav"><a href="index.html" target="_top" onclick="MM_nbGroup('down','group1','home','navbars/homedown.jpg',1)" onmouseover="MM_nbGroup('over','home','navbars/homeover.jpg','navbars/homedown.jpg',1)" onmouseout="MM_nbGroup('out')"><img src="navbars/homeup.jpg" alt="Home Button" name="home" border="0" id="home" onload="" /></a><br /></div>
         </div>
       <div id="header"></div>
       <!-- InstanceBeginEditable name="windowhomepg" -->
       <div id="windowhomepg"><script type="text/javascript" src="v3flashslideshow/slideshow.js"></script>
    <!-- Begin XML Flash Slideshow v3 -->
       <script type="text/javascript">
    // <![CDATA[
    XMLFlashSlideshow_v3({swf:'v3flashslideshow/slideshow.swf',w:'315',h:'350',redirect:'',us ePreloader:'true',xml:'v3flashslideshow/slideshow_data7.xml',preventCache:'true',disableMu ltipleXML:'false',initXML:'%3C?xml%20version=%221.0%22%20encoding=%22utf-8%22?%3E%3Cslides how%20version=%223%22%3E%0A%20%20%3Cstyles%3E%0A%20%20%20%20%3CPreloader%20label=%22Loadin g%20%7BN%7D%2525%22%20iconColor=%22#666666%22%20iconAlpha=%2270%22%20iconWidth=%2250%22/%3 E%0A%20%20%20%20%3CPreloaderLabel%20font=%22Verdana%22%20size=%2210%22%20color=%22#666666% 22%20bold=%22false%22/%3E%0A%20%20%20%20%3CBackground%20backgroundColor=%22#FFFFFF%22%20ba ckgroundAlpha=%22100%22%20bevelColor=%22#FFFFFF%22%20bevelStrength=%2270%22%20borderWidth= %220%22%20borderColor=%22#FFFFFF%22/%3E%0A%20%20%20%20%3CLoaderAnimation%20type=%22circle% 22%20color=%22#FFFFFF%22%20alphaBackground=%2220%22%20alphaInner=%2240%22%20frameWidth=%22 2%22%20width=%2250%22%20height=%2250%22/%3E%0A%20%20%20%20%3CDataLoader%20useAnimation=%22 true%22%20useLabel=%22true%22%20labelPlacement=%22bottom%22%20fadeOutDuration=%22400%22%20 textFormat=%22loader_text%22/%3E%0A%20%20%3C/styles%3E%0A%20%20%3Clocalization%3E%0A%20%20 %20%20%3Ctext%20orig=%22Loading%20Data...%22%20local=%22Loading%20Data...%22%20desc=%22The %20label%20displayed%20while%20data%20file(s)%20are%20being%20loaded%22/%3E%0A%20%20%3C/lo calization%3E%0A%20%20%3Cfonts%3E%0A%20%20%20%20%3Cfont%20id=%22loader_text%22%20name=%22P ixelade%22%20embed=%22true%22%20size=%2213%22%20color=%22#666666%22%20bold=%22false%22%20s electable=%22false%22%20align=%22left%22/%3E%0A%20%20%3C/fonts%3E%0A%3C/slideshow%3E'});
    // ]]>
       </script>
       <!-- End XML Flash Slideshow v3 --></div>
    <!-- InstanceEndEditable --></div>
    <div id="copyright">Copyright © 2009 Pennyhill Furnishings. All rights reserved.</div>
    </body>
    <!-- InstanceEnd --></html>
    Here is a link to the site:
    http://www.pennyhillfurnishings.com
    Any help would be most appreciated. Thanks.

    Ok, I figured this one out, finally. I had my navbar image files in a folder in the Templates folder. I found, buried deep in another thread about something else, that DW doesn't like anything else to be in the Templates folder except the Templates files. So I put the Navbar folder on the root level, out of the Templates folder, and the page is rendering perfectly in Firefox, Safari and IE on Mac and PC.

  • INDesgin image links broken after saving file across systems

    Hi
    We have a scenario involving 3 components:
    1. Linux file server running both SMB and AFP (sharing the same directory thru both protocols)
    2. MacOS 10.5 (Leopard) with INDesign CS3 connecting to the Linux server thru AFP
    3. Windows 2003 server running INDesign CS3 connecting to the Linux server thru SMB (or NFS)
    The scenario:
    1. We create an INDD document and link an image to the AFP share (on the linux)
    2. On the windows 2003 server we open the same document from the SMB share (on the linux) - no error/broken links message is received.
    3. We save the document with a irrelevant to images change, (eg. Adding a text block) to the SMB share
    Here is the problem:
    4. We open the document on the MacOS and receive "Broken links" message atlhough when you look at the path of the image you see the correct AFP path (needless to mention the path is mounted on the MacOS properly and the images are fully accessible)
    What can we do, so we will not receive a broken links popup on step #4 of the scenario?
    Thanks

    No answers, but a few questions:
    Just to be clear, by "broken" you mean missing, not in need of updating, right?
    What version of netatalk are you using on the Linux box? Does it implement AFP 3?
    What version of InDesign CS3 are you using? Is it fully patched to the last public version (5.0.4.682) or newer?
    Are there any potentially problematic characters (e.g., slashes, backslashes, unicode characters, etc.) in the file names or the directories in the full paths?
    If you make note of the full path on the Mac when the document is first created, and then compare it very carefully with the same path when you re-open it and get the broken links messages, can you detect any differences? It might also be interesting to place one of the same "missing" images in the document again once you've re-opened it on the Mac, and compare the two paths...

  • Search Query Web Part thumbnail image link broken

    Hello,
    I have 4 farms spread across the world and I want to pull news from Farm 1 (headquarters) into farm 2, 3, and 4. In SharePoint 2007 I did this with content deployment by pushing only the news site out to the other 3 farms.  However, from
    reading content deployment guidelines in SP13 I feel this is no longer a supported configuration.
    I am trying to use the search query web part to accomplish this now.  I have a search query web part that I am using to roll up articles from SharePoint at farm 1.  So far it is mostly working, the articles are pulled in and I can see
    them.  When I click the link it takes me from the current farm (farm 2) to farm 1 to read the article.  The only problem I am having is that the rollup image does not display at farm 2, 3, or 4.  I believe this is happening because the image
    URL at the source is getting saved as a relative URL.  Even if I try to override the relative URL to the image with an absolute URL then it just forces the URL back to a relative URL because clearly SharePoint is smarter than I am and there is no reason
    I should ever want an absolute URL.
    I should add that to get this working, in my search settings, I had to configure an extra content source (to farm 1).
    So my question is what is the best way to handle this?  Is there an option in my search configurations on farm 2 to override URL's for a particular content source?  Am I even headed down the right path trying to do this with the content search
    web part?
    Thanks,

    Hi Tom,
    I have been trying to figure out what you mean when you say I am using 'Page item' instead of 'Picture'.  I don't understand what you mean.
    When I set up a page that will be published I have actually been using an 'Article Page' content type for the news item I want to share on all of the farms.  After creating the page there is a section at the bottom for a 'Rollup Image'  I specify
    the URL in this rollup image but the actual image is stored in an 'Assets' Library.  I have no problem with the article page itself showing up on Farm 2, just not the image.  The "Rollup Image" data type is Publishing Image - "Rollup
    Image is a site column created by the Publishing feature. It is used on the Page Content Type as the image for the page shown in content roll-ups such as the Content By Search web part." 
    Question 1: Are you saying that I need to somehow replace that rollup image field with a custom site column field?
    Question 2: If I set up a new column then do I need to worry about connecting catalogs?
    In your post from December 9th it sounded like you had this working in your test environment. 
    Question 3: Did you have it working using a different configuration there? 
    Question 4: If so, did it require having a separate web application just for Assets, or were you using a custom site column there?
    In Farm 2, after I connected my catalog from Farm 1, I found that a Pages library at the top level of my site collection contained some strange entries. I have files in that library called
    CatalogItem--1684387697
    CatalogItem-364050575
    Category-
    Category-1211-4576
    The first CatalogItem gives me an error "Sorry, something went wrong".  The rest seem to contain images from Farm 1.  However, news articles still are not finding those images.  I suppose that is because the 'Rollup image' link is
    still pointing to a different path than that connected catalog.  Anyway, those items were checked out to me and were not published.  I checked them in and published those Category/CatalogItem connections hoping that would work, but
    that didn't help either.  
    When I set up my catalog in farm 1 I only checked 'Enable this library as a catalog'.  None of the other fields seemed to apply since I am not publishing to a public site (Anonymous access) and also since I am not trying to tie identifiers to catalog
    items (Catalog Item URL fields).  Additionally when I connected to my catalog I tried "<label for="ctl00_PlaceHolderMain_connectionTypeSection_fullConnection">Integrate the catalog into my site" with the setting "</label><label
    for="ctl00_PlaceHolderMain_rewriteDecisionSection_noURLRewriteRadioButton">Make URLs point to source catalog".  I also tried "</label><label for="ctl00_PlaceHolderMain_connectionTypeSection_manualConnection">Connect,
    but do not integrate the catalog".  Both of those settings sounded like they might force catalog items to look to the source (Farm 1).  Neither worked.  There are a lot of other settings but none of them seem to apply to my situation. 
    I'm not trying to configure Navigation Hierarchy, Category Pages, or Item Pages.  Maybe I need to do something with "Catalog Item URL Format", but I'm not sure what settings I should try.</label>
    Questions 5,6: Do you have recommendations for my catalog/catalog connections to get this working?  Obviously my current configuration is not right or else it would work, but am I even close?

  • Spry dataset problem. Image dimensions with css

    Hey guys.
    I'm new to spry, and not an experienced web designer with beginner knowledge in programming.
    I am using a spry data set to make a blog kind of interface. I'm using a master/detail layout from the Dreamweaver presets. I am using html, not xhtml and dreamweaver cs4.
    I want to change the dimensions of the images in the detail container. I would like to use the max-width command. I have tried using an id tag on the image detail column and using the width command on it with little luck.
    How can I do this. Using css is a must, because I'll be using InContext Editing so other users can upload images and posts. So they won't have to worry about the dimensions.
    Thanks alot.
    Helgi

    I forgot to mention one other problem
    The layout that I sketched up is the one I am going for. So a tip on how to get the text and the headings to flow around the image like shown in the picture would be greatly appreciated. Is it recommended to use tables inside div tags or spry for that matter?
    Thanks a million.

  • XML and  images

    Have a quick question. How can you load an image to a dynamic
    text box from xml
    using a txt file and loadvars if you have html tags it will
    display
    &photo1 = <img src="photo1.jpg"/>&done=-1
    var loadstuff = new LoadVars();
    loadstuff.onLoad = function(success) {
    if (success) {
    myphotobox.htmlText = this.photo1;
    in xml, even if you have the htm img src tag, it will just
    display the text and not the image
    descriptionbox.htmlText = true;
    myXML = new XML();
    myXML.load("sample.xml");
    myXML.ignoreWhite = true;
    myXML.onLoad = readus;
    function readus(){
    people = myXML.firstChild;
    personalphoto = election.firstChild;
    descriptionbox.text = personalphoto;
    besides using a load movie is there anyway to put an image in
    a dynamic text box?
    thanks

    Hi,
    in the XML example you set the text property of the field
    instead of the
    HTMLText. Isn't that it?
    Manno
    m10461 wrote:
    > Have a quick question. How can you load an image to a
    dynamic text box from xml
    >
    > using a txt file and loadvars if you have html tags it
    will display
    > &photo1 = <img src="photo1.jpg"/>&done=-1
    >
    > var loadstuff = new LoadVars();
    > loadstuff.onLoad = function(success) {
    > if (success) {
    > myphotobox.htmlText = this.photo1;
    > }
    > }
    >
    > in xml, even if you have the htm img src tag, it will
    just display the text
    > and not the image
    >
    > descriptionbox.htmlText = true;
    > myXML = new XML();
    > myXML.load("sample.xml");
    > myXML.ignoreWhite = true;
    > myXML.onLoad = readus;
    >
    > function readus(){
    > people = myXML.firstChild;
    > personalphoto = election.firstChild;
    > descriptionbox.text = personalphoto;
    > }
    >
    >
    > besides using a load movie is there anyway to put an
    image in a dynamic text
    > box?
    >
    > thanks
    >
    Manno Bult
    http://www.aloft.nl
    [email protected]

  • XML and Images stored in Oracle 8i

    I have been able to store images within an acle 8i database using both LONG RAW and OrORDSYS.ORDIMGB datatypes. I can use Forms and Reports to access these datatypes but now wish to include them in WEB products such as XSQL or PL/SQL.
    Using XSQL I only see the image code - how can I turn it back into an image to display on my WEB page?.
    Will iFS be the next logical solution so that a pointer is stored in my table to the image in the file system?
    null

    DBMS_XMLQuery was introduced with Oracle 9i
    as you can read here.
    http://download-west.oracle.com/docs/cd/A91202_01/901_doc/appdev.901/a89852/pwnew.htm#969685
    That means in order to use this functionality you need to upgrade your database to 9i

  • Trouble with flash and image links

    Hi
    I have been using Dreamweaver for a while, but only for simple websites.
    I have now started on a new site, using a template based on css, with two sidebars. I am new to using css, and are "learning by doing"
    I wanted to use flash to make navigation buttons in the sidebar to the left, but when I put the flash into the box on the template it does not appear on the page in my browser, or it shows as a white field. So I moved the flash-file to the main part of the page, and it appears there. I have also attached links to the single buttons in the flash,when I made the flash-file, but they do not seem to work at all when I publish the site.
    I gave up the project of using flash buttons as navigation and tried to use images instead in the sidebar. The problem then was that I get the blue borders around the linked images. I have found the solution to that of this forum, but as being new to the whole css thing I do understand how I can apply a rule, and where to do it.
    My site is here: www.zookjempen.no/test
    Here you can see my flash buttons in the middle of the page, but nothing happens when they are clicked. Originally I wanted these buttons on the left, where the white rectangle is, which is the same flashfile.
    Could someone please try to explain to me why I get the white field instead of the buttons, and what I need to do to get the buttons to work when clicked?
    As I said I am pretty new to css, so plain english would be great.
    Thank you.

    Thanks. I was thinking of doing screen captures and showing those. But, I fixed the problem.
    Maybe it was my particular case, but it was sure screwed up. By recreating the Home page with the links at the top, checking to make sure it was OK, and then duplicating that page for remaining pages, I solved the problem.
    Interesting though, even though my "Gallery" page was long ago deleted, if I change the name of a current page back to "Gallery", it gets screwed up again. (This, even though the page is working fine prior to the name change.) That's either my defective site or an iWeb bug.

  • How to make ads/banners published for an Adserver (only an HTML file with all js files and images linked)

    Hi everyone!
    I'm hoping someone can solve this.
    I have made some ads in Edge Animate CC and need to put them on an Adserver....
    but the adserver company only accept the HTML code... only extra files or images.
    This means linking the images and the .js files to URLs. I have done it with the images but are hitting a wall with the _edge.js
    I added the script in the HTML to load the _edge.js. (<script src="http://www.christianlaursen.net/ADS/WL_AD_160x600_edge.js"></script>)
    But I get certain errors in the console which I believe relates to how Edge tries to load _edge.js locally (even if i load it separately)
    Uncaught ReferenceError: AdobeEdge is not defined                    WL_AD_160x600_edge.js:3
    Failed to load resource: net::ERR_FILE_NOT_FOUND                 file:///C:/Users/claursen/Desktop/WL_AD_160x600_edge.js
    Uncaught TypeError: Cannot read property 'stage' of undefined    edge.5.0.1.min.js:133
    Uncaught TypeError: Cannot read property 'stage' of undefined    edge.5.0.1.min.js:126
    This is as far as I got. I am not sure 100% the script is being loaded correctly, but as the console is complaining about the local file, I have
    a feeling it's with Edge's attempt to load it locally that causing it to stop.
    Anyone doing Ads with Edge? It seems it should be such a simple thing and also important thing
    Thanks in advance for reading and any given help!

    I have verified that an Edge published banner can be booked into DFP (Doubleclick for Publishers) as a third party tag by creating an iFrame of the link to your edge published HTML file. You save that file as a *.txt.There is still the issue of click URL macros, and cachebusters. For DFP the click URL macro is %%CLICK_URL_ESC%%
    So you would probably use in Edge
    window.open('cta', %%CLICK_URL_ESC%%'http://somedomain.com/');
    then for the cachebuster, DFP's is random=%%CACHEBUSTER%%
    This is what an Edge published banner tag would look like.
    <style type="text/css">
    body{
    margin: 0;
    padding: 0;
    </style>
    <iframe src="http://www.somedomain.com/yourfilename.html"
    marginwidth="0" marginheight="0" scrolling="no" width="160" align="top"
    frameborder="0" height="600"></iframe>
    IMO it is worth pursuing using Google Analytics for the reporting, as you can put your Google Analytics code in your Edge published HTML file.Hopefully someine with GA experience will chime in.
    Event Tracking in Google Analytics Universal through Google Tag Manager - YouTube

Maybe you are looking for

  • Error ADMN-705021

    I tried to deploy app and got an error: deployApplication -f /path/app.ear -a name ADMN-705021 dcmctl> getError ADMN-705021 The configuration files for this Oracle9iAS instance are inconsistent with the configuration stored in the repository. In orde

  • Songs that have been converted to MP3

    I'm changing the format of my songs to MP3 so that they will play on my player.  Once I've changed them, I can't find them in iTunes.  Does anyone know where I can find them in iTunes once they've been converted to MP3 format? Thanks.

  • Video out is slow

    I can recive video fine but my video out is slow. Using an ichat camera, I have set my bandwidth #'s correctly and I uninstalld virex. I'm trying only 1to1 video chatting and my download speed is 1.264Mbps. What else could it be? Any help would be gr

  • Unable to burn on multiple CDs

    I bought an album at the iTunes store and wish to burn it on CD - I click BURN, it checks the playlist, tells me I need multiple audio CDs , I click Audio CDs, and iTunes returns to the previous mode. Never even attempts to start to burn. running iTu

  • Nokia Asha 200 - assign SIM to use for contact

    Hello, is it possible to assign for each contact which SIM card to use when making call? All I could find was just either set the default SIM for calls or ask every time which card to use. I have SIM where I can make free calls to particular numbers