Using html5 input search type in lightswitch html

Hi Everyone
I want to use the new html5 input search type for a search box in my lightswitch html application so what i did is in the postRender method for a text box i added this:
searchInput = $(element).children("input:first");    searchInput.attr({        placeholder: "Search",        type: "search",    });
and it works but now the search dose not work any more so how can i add an event listener when the value changes in the input field?
In plain JavaScript it would be
var s = document.getElementById("search");
s.addEventListener("search", function(e) {
}, false);
But in lightswitch i can not find element by id so how can i do that?
(there is no jquery alternative for that as i know).
Thanks

and it works but now the search dose not work any more so how can i add an event listener when the value changes in the input field?
In plain JavaScript it would be
var s = document.getElementById("search");
s.addEventListener("search", function(e) {
}, false);
For the usage of addEventListener, Huy shares her
experience on this.
If you're using addChangeListener / addEventListener
in your code, objects on HTML Client have different lifetime. Entity Objects tend to stay around much longer than Screen Objects. So if you add event listeners to an Entity Object on a Screen, when that Screen is closed, the listeners are still active and you
need to clean up that listener.
Hope it helps.
Best regards,
Angie
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Occasionally Connected LightSwitch HTML Apps Using JayData

    JayData, as many are probably aware from prior blog posts and discussions on this forum, is a powerful JavaScript utility library for OData providers, including LightSwitch. 
    Recently, the JayData developers have expanded the
    provider offerings to include many other database programmatic interfaces. 
    Their latest release, JayData 1.3.6, codenamed “Advanced Sync Edition,” aims to support occasionally connected apps by exploiting the local storage capability of the browser (Web SQL. sqLite, IndexedDb, etc.). 
    Development is simplified when using the same data model and API for writing to both local storage and the OData endpoint.
    An example of this is shown at How to Create a Synchronized Online-Offline Data App with JavaScript and JayData. 
    This model, the “To Does” project, was successfully adapted to a LightSwitch HTML app without difficulty. 
    Although “To Does” projects like this serve as a nice proof-of-concept, they are excessively simple compared to real world business applications. 
    Fortunately, JayData 1.3.6 also includes support for configurable foreign keys. 
    With this, more complex object-relational mapping that would typically be used with Entity Framework and similar RDBMS may be approximated.
    To illustrate, the To Does project was expanded to include entity relationships. 
    Specifically, a To Do must be assigned to a single individual Project, and any single Project can have many To Does. 
    A Project can be assigned to an Employee or to multiple Employees, while an Employee can have a single Project or many Projects, thus defining a many-to-many relationship between Employee and Project.
    So how might and online-offline LightSwitch HTML application work in practice? 
    Ideally in my opinion, the transition from online to offline and back should be seamless and transparent to the user, allowing for both UX and UI to be unperturbed. 
    This approach turned out to be too difficult for me as a developer, as I experienced problems with the closed-end nature of LightSwitch’s Visual Collection object, for instance. Separation of concerns is a real challenge with this approach.
     There is also the separate UI approach for both offline and online data entry, which have been nicely illustrated by Michael Washington and Paul van Bladel on their blogs using JayData and BreezeJS with AngularJS alongside a LightSwitch HTML
    app.  This approach is valid, and from the viewpoint of the developer has its advantages. From a design standpoint, it is likely to be frustrating for an end-user who must deal with “spotty” network coverage, necessitating changing back-and-forth
    from one UI to another.
    I opted for a hybrid approach, staying entirely inside the LightSwitch HTML app environment but having individual menu options to select depending on the user’s online status, which is constantly displayed with a status icon (see Main Menu figure). 
    In many cases, the native LightSwitch screen and menu buttons are fully functional in the offline state. 
    When they are not, most often with regard to a “Browse” screen or involving a Visual Collection, I have substituted the updated WinJS library (now at
    version 4.0, capable of replacing LightSwitch’s v1.0 with no breaking changes) to create a custom control that resembles the LightSwitch listview.
    To use the app, you can use any of the online Menu buttons to enter Employee, Project, or To Do data in the usual way while connected.
      The Offline menu buttons are functional in either a connected or disconnected status, which can be tested by disabling your devices WiFi, for example. 
    This LightSwitch app does not work with all browsers, however. 
    Because the local database is stored using the Web SQL/sqLite JayData API, it is not supported by either IE or FireFox. 
    It is supported by Chrome, Safari, Opera, Android browsers, Kindle Fire, and iPad browsers
    (see link). 
    To see the local data stored in Web SQL while using Chrome, you can press F12, select Resources, and expand Web SQL to see the Table data updated with each transaction (see figure).
    After entering data using the Offline menu selections, you will want to synchronize your local data with the remote LightSwitch database, which is performed by clicking “Synchronize Offline to Online” on the Main Menu. 
    A success or error dialog message should follow, depending on the result of the sync. 
    The dates and times of the last synchronizations are displayed on the Main Menu. 
    With each online database transaction, including offline to online syncs, the offline database is updated to reflect the very latest LightSwitch application data. 
    This method attempts to have the LightSwitch online database as the “single source of truth” as much as possible while the user is online.
    Lastly (if anyone is still reading this far), note that by design there is no business logic programmed into this application; business logic is a separate issue to be addressed. 
    There can be as many incomplete To Does as you want, an Employee can be assigned the same Project many times, etc. 
    If your application requires business logic, you will have to program it into the client-side in order for the user to be prompted to follow it while offline.
    To experiment with LightSwitch OfflineToDoes app, go to:
    http://offlinetodoes.azurewebsites.net/htmlclient
    …and log in with username “testuser” and password “Testuser1!” 
    In a few days I will try to load the sample project code to MSDN for anyone to download and review if desired.
    TL;DR:
    JayData provides an attractive solution for creating online-offline LightSwitch HTML apps by automating a single codebase to carry out CRUD operations on both a local datasource and the remote LightSwitch database. 
    Integrating the offline portion of the app into the LightSwitch UI requires an individualized solution and is code-intensive, however.

    Thank you both for the input. Zardoz, I tried making a couple of updates to address items you mentioned.  I left unfixed the problem that occurs when editing an offline Project's budget item..this still does not work.  LightSwitch identifies this
    entity as a decimal, WebSql expects a plain number, but LightSwitch's post-processing business type formats it to currency (I see USD, you may see NZD, AUD, etc.)  In the console there is a "getModel() is undefined" in msls.js.  If I take
    out the Money business type to regular Text on the View, it works fine.
    I'm not sure if I understood your last item just right, but I tweaked the Add Edit Offline Project screen to prevent the Project from being null if the user only enters a new To Do. Not sure why the screen validation wasn't firing before.
    Regarding navigation, I don't wish to use the browser's back or forward buttons at all for the app, especially the Offline portion, only the LightSwitch menu navigation and command buttons. I know Xpert360 has shown how to put the former LightSwitch back
    button in the app which is useful too. Navigation, cacheing and disposing were some of the tricky parts getting to integrate between LightSwitch UI and offline custom controls.  Occasionally I felt like I was having to be "clever" at solutions,
    except that when it comes to programming, I'm not a fan of cleverness.
    The project is published
    here. Hopefully this serves as a good starting point for someone, and I look forward to seeing how it can be improved upon and used in practice.

  • Lightswitch html use the 'any' query method

    Hi
    Can someone please tell me how i can use the "any" query method for entity collections in lightswitch html?
    Thanks

    Hi Xpert360
    It's for a type of EntityCollection this is the code from the msls-2.5.2.vsdoc.js line 2220
    any: function any(predicate) {
    /// <summary>
    /// Determines whether this sequence contains any
    /// items that optionally satisfy a condition.
    /// </summary>
    /// <param name="predicate" type="Function" optional="true">
    /// A function to test each item for a condition.
    /// <br/>Signature: Boolean item.predicate(item)
    /// </param>
    /// <returns type="Boolean">
    /// True if this sequence contains any items that
    /// satisfy the condition, if any; otherwise, false.
    /// </returns>
    var result = false;
    this.each(function (item) {
    if (!predicate || predicate.call(item, item)) {
    result = true;
    return false;
    return true;
    return result;
    Check it out and let me know if you know how to use it, my problem is how to use the call back function.
    Thanks

  • Print HTML using JPS API.. How to configure printer MIME-TYPE as text/html

    Hi All,
    I have to print the HTML pages.. for this i have used JPS API , but i found that my printer doesnt supoort Mime-type(Flavour) text/html.
    Can someone help me in this ...
    i) Can i configure my printer for this Mime-type , if yes then HOW?
    ii) Is there any work around ?
    Thank you all in advance :)

    I reposted this question in the Database forum. Admin can feel free to delete this thread.
    The answer is to add this at the top: htp.addDefaultHTMLHdr(false);
    Thanks,
    T.
    Edited by: 855677 on May 3, 2011 9:35 AM

  • Can I use my MacBook to type in search options in Apple TV?

    can I use my MacBook to type in search options in Apple TV?
    ie. can the Mac be 'paired' with Apple TV so I can use the keyboard?

    No, but an Apple Bluetooth keyboard can or you can use Remote app on iPhone/iPod Touch/iPad.
    AC

  • How add new HTML5 input tags to Insert,Form menu and Insert,Tag,HTML?

    how do I add new HTML5 input tags to the Insert,Form menu and Insert,Tag,HTML tags menus of dw cs5?
    I remember seeing some documentation about the latter, but it wasn't very good.  can't figure out how to actually implement something, so need a mentor - and I am a software developer. :-/
    http://help.adobe.com/en_US/dreamweaver/cs/extend/WS5b3ccc516d4fbf351e63e3d117f53d77c2-800 0.html
    but I am not sure what this applies to.  manual is not clear on this.

    I am removing it from my WATCHES since I find out what was wrong. In the submit.jsp, current needs to be setup instead of create.
    <jbo:Row id="myrow" datasource="ds" action="current" >
    Have a great week.
    Kamran

  • Witch version will be compatible with the HTML5 input types?

    Hi
    While other browsers support the new HTML5 input standards, Firefox still doesn't, so my question is in witch version will all the HTML5 input features be available?

    Hi
    I found no prediction about the actual Firefox version in witch the HTML5 input elements will work, instead I found this :
    '' we've focused on actually making them behave correctly instead for now, something other browsers decided to skip on. Matter of priorities, I suppose''
    So I see there's a lot more to be done, I hope you could at least solve it in this year, until than I'm a bit sad. :(

  • Lsmw  step by step procedure using   batch input method

    hi,
    lsmw  step by step procedure using   batch input method

    Step-by-Step Guide for using BAPI in LSMW
    Note! The screen prints in this article are from ECC 5.0. They may differ slightly in other versions.
    Introduction:
    This document details the usage of BAPI in LSMW. We have used the example of migration of the purchase order data into SAP.
    Pre-requisites:
    It is assumed that the reader of this article has the minimum knowledge required on the Business Object, BAPI, Message Types and IDoc Types.
    Step-by-Step Procedure:
    Details of the BAPI used in this scenario:
    Business Object: BUS2012
    Method: CreateFromData
    Details of Message Type and Basic IDoc Type:
    Message Type: PORDCR
    Basic IDoc Type: PORDCR02
    Let’s have a look at the BAPI first, before proceeding to the LSMW:
    1. Go to Transaction BAPI
    2. Click on Search Button
    3. Enter the value “BUS2012” and select “Obj.type(Technical Object Name”
    4. Press ENTER
    5. Following screen appears:
    6. On the left side of the screen, Expand the “PurchaseOrder”.
    7. Select “PurchaseOrder” and double-click on the same for details.
    Building LSMW using BAPI:
    1. Go to Transaction LSMW.
    2. Enter the Project, Subproject and Object information and click on CREATE.
    3. Enter the descriptions for Project, Subproject and Object.
    4. Now select Settings à IDoc Inbound Processing
    5. “IDoc Inbound Processing” screen appears. Enter the required details as shown below:
    6. Click on “Activate IDoc Inbound Processing”.
    7. Click on “Yes” when prompted for “Activate IDoc Inbound?”
    8. Hit on “Back” to return to the main screen.
    9. Click on Continue (F8). Following Screen appears:
    10. Select the Step 1 “Maintain Object Attributes” and select “Execute”.
    11. Select the radio button “Business Object Method” and enter the following details:
    Business Object: BUS2012
    Method: CreateFromData
    Hit ENTER
    12. Save and click on BACK button. Following information message is displayed.
    13. Now select step 2 “Maintain Source Structures” and click “Execute”.
    14. In this step, we need to maintain the source structure. In our example, lets consider the example of a file with 2 structures Head and Item data as shown below:
    Click on Create and name the source structure as HEADERDATA. Now select HEADERDATA and click on “Create” again to create the child structure. Following popup appears:
    Select “Lower Level” and click on Continue. Enter the Item data structure name.
    Click Save and hit BACK button to go to the main screen.
    15. Select step 3 “Maintain Source Fields” and hit execute.
    16. Enter the fields as shown below:
    17. Click SAVE and return to main screen.
    18. Select step 4 “Maintain Structure Relations” and click Execute.
    Select E1PORDCR and click on CREATE RelationShip. Following screen appears:
    Select HEADERDATA and hit ENTER
    Similarly do the same for the structure E1BPEKKOA, E1BPEKPOC and E1BPPEKET.
    Click Save and return to main screen.
    19. Select the step “Maintain Field Mapping and Conversion Rules” and click on execute. Maintain the Field Mapping as seen below:
    20. Select step 7 “Maintain Source Files” and provide the link for the test file created. (Create a test file with the same structure as defined earlier).
    Save and return to main screen.
    21. Select the step “Assign Files” and click on Execute.
    Assign the file provided to the source structure. Here the same file is provided for both the structures.
    Save and return to the main screen.
    22. Select the step “Read Data” and click on Execute.
    Click on Execute.
    Return to the main screen.
    23. Select the step “Display read data” and click on execute.
    Click on the structure name to get the field level values.
    24. Return to main screen and now select “Convert Data”.
    25. Return to the main screen and select “Display Converted data”.
    26. Return to main screen and select “Start IDoc generation”.
    27. Now select the step “Start IDoc Processing” on the main screen.
    28. Return to main screen and click on “Create IDoc overview”. Here the data record and status records of the IDoc could be viewed
    It is given in screen shot.
    http://www.****************
    http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/LSMW_tutorial.html
    http://www.sapbrain.com/TOOLS/LSMW/SAP_LSMW_steps_introduction.html
    http://esnips.com/doc/8e732760-5548-44cc-a0bb-5982c9424f17/lsmw_sp.ppt
    http://esnips.com/doc/f55fef40-fb82-4e89-9000-88316699c323/Data-Transfer-Using-LSMW.zip
    http://esnips.com/doc/1cd73c19-4263-42a4-9d6f-ac5487b0ebcb/LSMW-with-Idocs.ppt
    http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI.ppt
    http://esnips.com/doc/7582d072-6663-4388-803b-4b2b94d7f85e/LSMW.pdf
    Reward points if useful.

  • Is there any way to search for a term using the Firefox search field, and have the results automatically open in a new tab?

    Is there any way to search for a term using the Firefox search field, and have the results automatically open in a new tab? When there was support for Google Toolbar, I was able to do this; now, whenever I want to search for something, I have to open a new tab to do it, and cut-and-paste my search into the search field in the new tab. I used to be able to highlight, drag, and drop something into the search field and have it automatically open in a new tab. This is enough for me to switch to Chrome . . .

    Set a preference to have searches from the Search Bar (upper right) automatically open all searches in a new tab
    #type '''about:config''' in the URL/Location/Address bar and press the Enter key
    #if you see a warning, accept it (promise to be careful)
    #Filter = '''browser.search.openintab'''
    #in the lower panel, double click the item (or right-click and choose "Toggle") to change the value to "true"
    #close the about:config tab and test
    #See:
    #*For help with opening/using about:config, also see: http://kb.mozillazine.org/About:config
    #*Also see: http://kb.mozillazine.org/About:config_entries (click on "Browser", scroll down to browser.search.openintab)
    '''Search Bar''': http://support.mozilla.com/en-US/kb/Search+bar
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    About Google toolbar............
    Google decided that they will no longer produce the Google Toolbar for Firefox 5 and newer version. It is best to move on to other alternatives than to try any "hacks" to the toolbar that may or may not perform in the future. Future versions of Google toolbar will only work with IE7-9. Google Toolbar is not available on any other browser, even Google's own browser.
    *http://googletoolbarhelp.blogspot.com/2011/07/update-on-google-toolbar-for-firefox.html
    *https://support.mozilla.com/en-US/kb/google-toolbar-not-compatible-firefox?s=google+toolbar&r=0&as=s
    *http://www.google.com/support/toolbar/bin/answer.py?answer=1342452&topic=15356%29
    *Google Toolbar 8 FAQ (IE only): https://www.google.com/support/toolbar/bin/answer.py?hl=en&answer=1111588
    '''''To access your Google Bookmarks visit''''' www.google.com/bookmarks.
    Alternatives:
    *http://kb.mozillazine.org/Using_Google_Toolbar_features_without_toolbars
    *https://addons.mozilla.org/en-US/firefox/addon/googlebar-lite/
    *https://addons.mozilla.org/en-US/firefox/addon/gbookmarks-google-bookmarks-fo/

  • How to use many submit buttons in an one html form

    I'm doing a simple program to insert, edit, delete data from a web page to an database
    but the problem is that in an html form , you are allowed to put only 1 submit button.
    I heard that you can take the action of many buttons, for a one form using java script
    if anyone have a better idea or else have this simple java script, please help me
    Thank you very much

    Give the buttons an unique name.
    In the servlet just check if the button is pressed or not by determining if HttpServletRequest#getParameter() doesn't return null for the button name.There are a couple of "gotchas" when using this technique of dispatching with certain html controls. Most of them browser related.
    If you are using <input type="image" name="myButton"> as a submit button, be aware that Internet Explorer will submit the parameters "myButton.x" and "myButton.y" giving the x,y co-ordinates of where you clicked on the button. And won't submit any other value. So calling request.getParameter("myButton") would return null. You have to test for request.getParameter("myButton.x");
    If you are using <input type="button" name="myButton"> with Internet Explorer all of the buttons are deemed "successful". So calling request.getParameter("myButton") will never return null.
    At least thats the way it works in IE6. And thats what I'm stuck with at work right now, so thats what gets used. It may be fixed in later versions, but I don't have any info on that.
    Cheers,
    evnafets

  • Mime type of mx:HTML

    I can use {idHtmlTag.location} when I want to know the URL which is shown in an HTML-field. I searched a while how to find the mim-type of the HTML-field. but without results
    How can I read the mim-type (text/xml or text/html) of the document shown in the HTML-field?

    look to fm WWW_GET_MIME_OBJECT
    and sample program RSDEMO_PICTURE_CONTROL
    A.

  • How to use HTML5 Video in adf page

    Hi,
    I need to use HTML5 video instead of af:media in my adf page inorder to avoid browser plugin request to the end user.
    I've placed the video tag in .jsff as below:
    <video width="320" height="240" controls="controls" poster="../resource/poster.png">
    <source src="../resource/FAE_Intro_cropped.mp4" type="video/mp4" />
    <source src="../resource/FAE_Intro.ogg" type="video/ogg" />
    Your browser does not support the video tag.
    </video>
    When I run the web application, it shows the poster image but it does not show the video. It simply shows a 'X' in the center.
    I'm using jdev version:
    Studio Edition Version 11.1.1.3.0
    Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660
    Can someone please help me in this regard.
    Thanks,
    Bhaskar Podugu

    Yes. I tried surrounding with f:verbatim tag but still it did not worked.
    The actual HTML file when run outside of jdev (i.e., going to the folder and double clicking the .html file) is showing up the video but when the same is run through jdev as a deployment, it doesn't show up.
    I'm testing this in Mozilla FF 9.0.1.
    If the reference to the video file is incorrect, it shouldn't even show the poster image but I can see the poster image which is also placed in the same location.
    I tried placing af:inlineFrame(pointing it to the actual HTML file) inside jsff page, but it did not work.
    Does weblogic server need any configuration for flushing HTML5 Video content?

  • What are you folks using HTML5 for?

    I am curious what you folks are doing with HTML5.
    What do your clients want you to do with it?
    Does Dreamweaver CS5 functionality suffice or do you have to complement it with handcoding or by using extensions?
    I somehow have the impression that many HTML5 extensions are quite expensive.  I don't know if that really is the case.
    J.S.
    UltraSuite

    pziecina wrote:
     Unfortunately the take-up of anything will always depend upon the user, the client and the designer/developer. The problem is similar to the use of css for layout vs's tables being used for layout, no matter what one does as long as the 'old' way of doing things is still supported, (and help is available when something goes wrong) then any arguments for doing it another way, (even if recommended and better) will always have its opponents.
    I have no problem with the idea of using HTML5. Some parts of it are extremely useful, and should be adopted immediately. For example, the doctype is perfectly safe to use on any website, as are the new types of form input. The great advantage of using the date and number input types is that they're already supported by some browsers. Older browsers simply treat them as normal text input fields.
    I'm less excited by the new semantic elements, because there's no support for them in any assistive technology. It's probably more effective to start using the WAI-ARIA role attributes first. I also think there's a lot of confusion about the way articles can be nested sections and vice-versa. I've done a lot of reading about this subject, and there seems to be little consensus about the most appropriate way of marking up documents. That's why I'm going to make haste slowly in that regard.
    I have just finished reading Jeremy Keith's "HTML5 for Web Designers" published by A Book Apart. What struck me was the way he left the semantic elements to the end, and expressed similar doubts about their usage. Most other books and articles wax lyrical about how wonderfully semantic the web is going to be thanks to HTML5. I have my doubts. When I look at the daily procession of visitors to this forum who have no idea about paragraph tags, never mind divs or spans, I foresee websites constructed with a horrendous tag soup. That's not to say that the idea of semantic tags is bad. I'm just pessimistic about how they'll end up being used.
    Now the normal argument. Users must see the same design across all browsers, well, how many normal users will look at a site on more than one browser? We may compare sites across browsers, but the average user, unless it is a comparison of the site on their pc with a site on a handheld/smartphone then probably never.
    I think Andy Clarke has the right approach in his "Hardboiled Web Design". He sees the proliferation of mobile devices as the perfect opportunity to convince clients that it's impossible to make websites look exactly the same across all devices.
    The really interesting developments at the moment are coming more from CSS3 than from HTML5.

  • Tabbed Panel using UpdateContent doesn't properly display spry .html page

    Quick question. I have a tabbed panel widget with 12 tabs.
    I'm using the UpdateContent snippet to pull in .html pages per tab.
    when I have straight .html on the pages the content displays
    without a problem.
    What I need is for each tab to pull in an .html page that
    contains a spry table that has an XML data set (think product page
    with "next" and "prev" buttons to cycle through the content).
    The .html page with the spry table works like a charm...on
    it's own. however when I use it in conjunction with the tabbed
    panel all I see is the bracketed code (i.e. {imgURL} {productName}
    {SKU}) rather than [photo] large T-shirt SKU:1111.
    A while ago I did an accordion that had dynamic content per
    generated panel -- this utilized the Spry.Data.NestedXMLDataSet
    function. A bit of a similar idea although I'm not sure if this
    would also work with the tabbed panel.
    Any suggestions would be helpful and I can drop the code if
    that would also help. Thanks!

    well, what I have is:
    index page with tabbed panel
    |
    V
    click tab
    |
    V
    content from first option .html page loads. this content has
    a dataset repeating table.
    The main page already had the SpryData.js and also
    UpdateContent, as follows:
    <div id="TabbedPanels1" class="VTabbedPanels">
    <ul class="TabbedPanelsTabGroup">
    <li class="TabbedPanelsTab" tabindex="0"
    onclick="Spry.Utils.updateContent('one','siracusa.html');">Siracusa
    Micro Crepe</li>
    <li class="TabbedPanelsTab" tabindex="0"
    onclick="Spry.Utils.updateContent('two','peony_georgette.html');">Peony
    Printed Silk Georgette</li>
    <li class="TabbedPanelsTab" tabindex="0"
    onclick="Spry.Utils.updateContent('three','wool_pucker.html');">Wool
    Pucker</li>
    <li class="TabbedPanelsTab" tabindex="0"
    onclick="Spry.Utils.updateContent('four','textured_dot.html');">Textured
    Dot</li>
    <li class="TabbedPanelsTab" tabindex="0"
    onclick="Spry.Utils.updateContent('five','textured_cotton.html');">Textured
    Cotton</li>
    <li class="TabbedPanelsTab" tabindex="0"
    onclick="Spry.Utils.updateContent('six','crane.html');">Crane
    Printed Four Ply Silk</li>
    <li class="TabbedPanelsTab" tabindex="0"
    onclick="Spry.Utils.updateContent('seven','tencel_jersey.html');">Tencel
    Jersey</li>
    <li class="TabbedPanelsTab" tabindex="0"
    onclick="Spry.Utils.updateContent('eight','circular_wool.html');">Circular
    Stitch Wool</li>
    <li class="TabbedPanelsTab" tabindex="0"
    onclick="Spry.Utils.updateContent('nine','silk_burnout.html');">Silk
    Burnout</li>
    <li class="TabbedPanelsTab" tabindex="0"
    onclick="Spry.Utils.updateContent('ten','organza.html');">Floral
    Silk Organza</li>
    <li class="TabbedPanelsTab" tabindex="0"
    onclick="Spry.Utils.updateContent('eleven','micro_crepe.html');">Micro
    Crepe</li>
    </ul>
    <div class="TabbedPanelsContentGroup">
    <div class="TabbedPanelsContent"
    id="one">Siracusa</div>
    <div class="TabbedPanelsContent" id="two">Peony
    Printed</div>
    <div class="TabbedPanelsContent" id="three">Wool
    Pucker</div>
    <div class="TabbedPanelsContent" id="four">Textured
    Dot</div>
    <div class="TabbedPanelsContent" id="five">Textured
    Cotton</div>
    <div class="TabbedPanelsContent" id="six">Crane
    Printed Four Ply Silk</div>
    <div class="TabbedPanelsContent" id="seven">Tencel
    Jersey</div>
    <div class="TabbedPanelsContent" id="eight">Circular
    Stitch Wool</div>
    <div class="TabbedPanelsContent" id="nine">Silk
    Burnout</div>
    <div class="TabbedPanelsContent" id="ten">Floral Silk
    Organza</div>
    <div class="TabbedPanelsContent" id="eleven">Micro
    Crepe</div>
    </div>
    </div>
    <script type="text/javascript">
    <!--
    var TabbedPanels1 = new
    Spry.Widget.TabbedPanels("TabbedPanels1");
    //-->
    </script>
    Let's say you clicked on the Siracusa tab. This would call up
    siracusa.html, which has
    <script src="SpryAssets/xpath.js"
    type="text/javascript"></script>
    <script src="SpryAssets/SpryData.js"
    type="text/javascript"></script>
    <link href="../../ed_style.css" rel="stylesheet"
    type="text/css" />
    <script type="text/javascript">
    <!--
    var fall08 = new Spry.Data.XMLDataSet("fall_collection.xml",
    "collection/outfits", { filterFunc: MyPagingFunc });
    fall08.setColumnType("photoURL", "image");
    fall08.setColumnType("lrgphoto", "image");
    var pageOffset = 0;
    var pageSize = 1;
    var pageStop = pageOffset + pageSize;
    //var dsfall08 = new
    Spry.Data.XMLDataSet("fall_collection.xml", "collection/outfits", {
    filterFunc: MyPagingFunc });
    function MyPagingFunc(ds, row, rowNumber)
    if (rowNumber < pageOffset || rowNumber >= pageStop)
    return null;
    return row;
    function UpdatePage(offset)
    var numRows = fall08.getUnfilteredData().length;
    if (offset > (numRows - pageSize))
    offset = numRows - pageSize;
    if (offset < 0)
    offset = 0;
    pageOffset = offset;
    pageStop = offset + pageSize;
    // Re-apply our non-destructive filter on dsStates1:
    fall08.filter(MyPagingFunc);
    -->
    </script>
    Sircusa Micro Crepe
    <div spry:region="fall08">
    <table>
    <tr spry:repeatchildren="fall08">
    <td colspan="5 "><img
    src="imx/{photoURL}"/></td>
    </tr>
    <tr spry:repeatchildren="fall08">
    <td><a href="imx/{lrgphoto}"
    target="_blank">enlarge</a></td>
    <td>{SKU1}</td>
    <td>{SKU2}</td>
    <td>{SKU3}</td>
    <td>{name}</td>
    <td>{desc}</td>
    </tr>
    </table>
    <input type="button" value="Prev"
    onclick="UpdatePage(pageOffset - pageSize);" />
    <input type="button" value="Next"
    onclick="UpdatePage(pageOffset + pageSize);" />
    </div>
    siracusa.html works more than fine. pulls in the photo, link,
    SKU and info without any problem.
    When you're on the base page with the tabbed panel the only
    thing that comes up are the bracketed info, i.e. {SKU} {SKU1}
    {SKU2}.
    What I need help with is actually having the pulled in data
    table (in the various tabbed panel content areas) actually then
    populate the repeat regions rather than just showing the
    code...

  • Using Direct Input mode: UTF-8 character encoding assumed

    When I validate a web page in dreamweaver CS5 (using Jeffrey Zeldman's Web Standards Advisor ) I receive the following warning; Using Direct Input mode: UTF-8 character encoding assumed.
    However if I validate using W3C either as a file upload or via the live site the page validates correctly.
    Can anybody please help, as it is driving me insane.

    Hi John
    Thank you for your swift response,
    As I said before this only happens locally within Dreamweaver CS5.
    However The web address is www.countryimage.co.uk/index.htm
    As you will see from the code I have included <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> within the head

Maybe you are looking for

  • Open image in same window

    Hello, I have two questions. First, how do I make an image thumbnail open in the same window as that thumbnail? Two, what is the best way to learn how to use Dreamweaver? Any books or tutorials that I could buy or subscribe to? Thanks, Saingbey

  • Ran Malware ANTI Malware on windows 7 64 bit PC now cannot get my tools menue on home page

    I am getting a lot of survay's popping up on my PC so I downloaded the free version of Malware Bytes Anti Malware, it took out my tools menue from my home page and adobe air aswell as HP smart web print along with some other programs, I have most bac

  • MacMini looks terrible with Samsung SyncMaster 225BW

    I have the latest Mac working with a Samsung SyncMaster 225 monitor, and the font aliasing look terrible! Is there anything I can do about this? I have gone through the colour calibration and it is slightly improved, but it still looks pretty poor. I

  • Load linkage error - "com/crystaldecisions/sdk/occa/report/data/Fields"

    We had installed and were using Crystal Reports for Eclpse with JBoss 4.2.  We recently upgraded to JBoss 5.1  Our crystal reports do not work from the web interface anymore.  The error we get is: Caused by: java.lang.LinkageError: loader constraint

  • Lightroom Post-Processing

    One thing I'd like to see added to the Lightroom export dialog, perhaps in the post-processing section, would be the option to update DNG previews and metadata (when exporting DNGs of course).