Master List Horizontal Layout Woes

I'm combining a jQuery horizontal scroller with Spry
datasets. How's that for an invitation for trouble? My Master List
items are literally stacked ontop of one another, and I cannot for
the life of me figure out how to distribute them horizontally using
normal CSS techniques of floating left.
In this example, you'll see how I want the bottom navigation
to behave:
http://libertyclothing.com/2008/
In this example, I've added in the Spry elements. The
thumbnails at the bottom is the Master data from my external HTML
data source. The Detail displays above.
http://libertyclothing.com/2008/index_spry.htm
I think my brain is going to explode. Anyone have an idea of
how to get these divs distributed horizontally and still have the
jQuery carousel work?
Alternatively, can someone suggest how to do this using Spry
only?

I appreciate your help here. Seems like I'm inches away, but
those last inches have been destroying my brain.
So here's what I've done:
var ds1 = new Spry.Data.HTMLDataSet("data/unisex.html",
"unisexProducts", {distinctOnLoad: true, sortOnLoad:
"Product_Number", sortOrderOnLoad: "ascending"});
var observer = { onPostUpdate: function(notifier, data) {
// This is the invocation code for stepcarousel.js
stepcarousel.setup({
galleryid: 'mygallery', //id of carousel DIV
beltclass: 'belt', //class of inner "belt" DIV containing
all the panel DIVs
panelclass: 'panel', //class of panel DIVs each holding
content
autostep: {enable:false, moveby:1, pause:3000},
panelbehavior: {speed:500, wraparound:false, persist:true},
defaultbuttons: {enable: true, moveby: 5, leftnav:
['images/left.png', -5, 60], rightnav: ['images/right.png', -10,
60]},
statusvars: ['statusA', 'statusB', 'statusC'], //register 3
variables that contain current panel (start), current panel (last),
and total panels
contenttype: ['inline'] //content setting ['inline'] or
['external', 'path_to_external_file']
// Ends stepcarousel.js invocation code
Spry.Data.Region.addObserver("
carousel", observer);
// to reference the div containing the Spry Region
In the body (nothing really different here):
<!-- SPRY AREA -->
<div id="mygallery" class="stepcarousel" style="top:20px;
left:130px;">
<div
id="carousel" spry:region="ds1" class="belt">
// Added this id to target this div in the observer
<div spry:repeat="ds1" spry:setrow="ds1" class="panel"
style="float:left; padding:1;">
{Image}<br />{Product_Number} {Product_Name}
</div>
</div>
</div>
<!-- END SPRY AREA -->
The resultant page briefly loads, then goes blank - seemingly
caught in a loop or something.
What I want to happen here is for Spry to first populate the
master list, and only THEN for the stepcarousel.js script to apply
styling and functionality to the resultant repeated regions that
should be populating it's panels.
I suspect the answer is to be found in the stepcarousel.js
script itself somewhere in this function:
setup:function(config){
//Disable Step Gallery scrollbars ASAP dynamically (enabled
for sake of users with JS disabled)
document.write('<style
type="text/css">\n#'+config.galleryid+'{overflow:
hidden;}\n</style>')
jQuery(document).ready(function($){
config.$gallery=$('#'+config.galleryid)
config.gallerywidth=config.$gallery.width()
config.offsets={left:stepcarousel.getoffset(config.$gallery.get(0),
"offsetLeft"), top:stepcarousel.getoffset(config.$gallery.get(0),
"offsetTop")}
config.$belt=config.$gallery.find('.'+config.beltclass)
//Find Belt DIV that contains all the panels
config.$panels=config.$gallery.find('.'+config.panelclass)
//Find Panel DIVs that each contain a slide
config.panelbehavior.wraparound=(config.autostep &&
config.autostep.enable)? true : config.panelbehavior.wraparound
//if auto step enabled, set "wraparound" to true
config.onpanelclick=(typeof
config.onpanelclick=="undefined")? function(target){} :
config.onpanelclick //attach custom "onpanelclick" event handler
config.onslideaction=(typeof config.onslide=="undefined")?
function(){} : function(beltobj){$(beltobj).stop();
config.onslide()} //attach custom "onslide" event handler
config.oninit=(typeof config.oninit=="undefined")?
function(){} : config.oninit //attach custom "oninit" event handler
config.beltoffset=stepcarousel.getCSSValue(config.$belt.css('marginLeft'))
//Find length of Belt DIV's left margin
config.statusvars=config.statusvars || [] //get variable
names that will hold "start", "end", and "total" slides info
config.$statusobjs=[$('#'+config.statusvars[0]),
$('#'+config.statusvars[1]), $('#'+config.statusvars[2])]
config.currentpanel=0
stepcarousel.configholder[config.galleryid]=config //store
config parameter as a variable
stepcarousel.alignpanels($, config) //align panels and
initialize gallery
}) //end document.ready
I've bolded lines that might be of interest. I know that this
part is not Spry-specific. But you can see why I thought about
hard-coding the links into an external file that I could load in
here.
Any insight is appreciated.

Similar Messages

  • UIX: horizontal layout for messageRadioGroup

    Hello,
    We use UIX 2.1.7.
    In our application we have a few UIX xml pages that create a (dynamic) list of screen items based on database
    content. These screen items can be text items, date items, choise fields, checkboxes or radio groups, depending on what got queried from the database. In the UIX xml, we have implemented this by a table iterating over a DataObjectList with fields, and a switcher bean to render the corresponding UI widget for each field in the list.
    This all works very well, there is only one layout shortcoming we can't seem to fix. When rendering a field as a radio group, we use the messageRadioGroup tag, and use the childdata attribute to create the individial radio buttons. Unfortunately, these buttons are stacked vertically, while we would really like to have them horizontally because of the huge amount of screen space this would save (we sometimes have dozens of radio groups, all with 4 radio buttons. There does not seem to be a way to do that using the messageRadioGroup.
    I am aware of the possibility using the radioButton tag, but due to some issues with our (already very complex, conditional and nested) databinding and the code responsible for handling the screen when the user presses 'save', we REALLY prefer having just a single UI widget in the UIX page for a radio group, just as for all the other widget types as described above.
    Is there anything we overlooked in the messageRadioGroup tag, and if not will it be possible to include this functionality in a future release?
    Thanks!

    Peter -
    We would much prefer to avoid introducing new layout behaviors into the radioGroup - and encourage clients that require different types of layouts to use the radioButton component. In your case, it sounds like you might benefit from putting your "horizontal" radioGroup layout into a UIX template, so that it can be easily accessed from your uiXML pages. For example, here is a sample template which implements a horizontal layout for radio buttons:
    <?xml version="1.0" encoding="UTF-8"?>
    <templateDefinition xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    targetNamespace="http://www.example.org/demo/templates"
    localName="horizontalMessageRadioGroup">
    <!-- define the template's type information -->
    <type base="ui:inlineMessage">
    <attribute name="childData" javaType="oracle.cabo.ui.data.DataObjectList"/>
    </type>
    <!-- define the content of the page -->
    <content>
    <inlineMessage data:prompt="prompt@ui:rootAttr">
    <contents>
    <flowLayout>
    <contents data:childData="childData@ui:rootAttr">
    <radioButton data:name="name@ui:rootAttr"
    data:text="txt"
    data:selected="selected"
    data:value="val"/>
    </contents>
    </flowLayout>
    </contents>
    </inlineMessage>
    </content>
    </templateDefinition>
    And here is a sample UIX page which uses both a standard messageRadioGroup as well as a horizontalMessageRadioGroup to render the same set of inline data:
    <?xml version="1.0" encoding="UTF-8"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:demoTmps="http://www.example.org/demo/templates">
    <templates xmlns="http://xmlns.oracle.com/uix/ui">
    <templateImport source="horizontalMessageRadioGroup.uit"/>
    </templates>
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <data name="RGData">
    <inline>
    <btn txt="Longer name" val="Val0"/>
    <btn txt="Name2" val="Val1" selected="true"/>
    <btn txt="Name3" val="Val2"/>
    </inline>
    </data>
    </provider>
    <contents>
    <labeledFieldLayout>
    <contents>
    <!-- First, a vertical group of radio buttons -->
    <messageRadioGroup name="group1"
    data:text="txt"
    data:value="val"
    selectedValue="Val2"
    type="radio"
    prompt="Verical Group"
    data:childData="btn@RGData"/>
    <!-- Now, a horizontal group -->
    <demoTmps:horizontalMessageRadioGroup name="group2"
    prompt="Horizontal Group"
    data:childData="btn@RGData"/>
    </contents>
    </labeledFieldLayout>
    </contents>
    </dataScope>
    </content>
    </page>
    Please give this solution a try and let us know the results.
    Andy

  • How to get a list of Layout Sets

    Hi Experts,
    How do I get a list of Layout sets in Portal ?
    I am using a KM Navigation IView to show a list of External Links. I have used a copy of Links IView for this. The Layout set used here is "LinkListExplorer".
    The problem with this layout set is it provides an option of Organize Entries to all End users. An end user might potentially delete a link or edit it due to this.
    I want to get rid of Organize Entries feature in this IView, which I feel can be achieved only by changing Layout of the IVIew.
    Please guide me to list of Layout sets or a way to maintain permissions for Links IView.
    Thanks,
    Yomesh.

    System Administration -> System Configuration -> Knowledge Management -> Content Management
    then,
    User Interface -> Settings -> Layout Set
    You will see lots of layouts sets that you can use...

  • How to create new field groups in AA master data screen layout?

    Hello,
    We are using ECC 6.0
    We have created bunch of new fields for asset master data, but we want to make them visible only for particular asset class. So we need to customize in SPRO Asset Master Data Screen Layout, but there no specific field groups that we can customize. So how to create and add new field groups to manage them by radiobuttons Required, Optional, No or Display?

    hi,
    think, it's not possible.
    look here:
    http://help.sap.com/saphelp_47x200/helpdata/en/4f/71e05a448011d189f00000e81ddfac/frameset.htm
    "The field groups and their respective fields are defined in system tables"
    kind regards
    Andreas

  • Spark list horizontal scroller doesn't actualize when rows is set lesser than list container

    Hello,
    The size of the Image control is set larger than that of its parent Group  container. By default, the child extends past the boundaries of the parent  container. Rather than allow the child to extend past the boundaries of the  parent container, the Scroller specifies to clip the child to the boundaries and  display scroll bars.
    In the spark list, when I change the list dataProvider and the size of the Image control is set lesser than that of its parent Group  container, the horizontal scroller doesn't actualize.
    thanks.

    <!-- Simple example to demonstrate the Spark List component -->
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" applicationComplete="comp()" width="260" height="400">
        <fx:Script>
            <![CDATA[
        import mx.collections.*;
        public var dpArray:Array;
        [Bindable]
        public var dpCol:ArrayCollection;
        public function handleClick():void {
            dpCol.removeAll();
            dpCol.addItem({ label:"spark test" });
            dpCol.addItem({ label:"spark text" });
        public function comp():void {
            dpCol = new ArrayCollection(dpArray);
            dpCol.addItem({ label:"spark list horizontal scroller doesn't actualize when rows is set lesser than list container" });
            dpCol.addItem({ label:"spark test" });
            dpCol.addItem({ label:"spark text" });
             ]]>
        </fx:Script>
        <s:Panel title="List">
            <s:VGroup left="20" right="20" top="20" bottom="20">
                <s:List width="200" id="lis" dataProvider="{dpCol}" height="120"/>
                <s:Button id="button1" label="Click here!" width="100" fontSize="12" click="handleClick();"/>
            </s:VGroup>
        </s:Panel>
    </s:Application>

  • How to Export the material master list using MB51

    Dear All,
    Please any one help me to export the total materials master list in excel .
    Regards,
    Ganesh Patel

    Hi Pri,
    Go to VOV8 transaction check the document type PV -Itemproposal if not there then define the document type for Itemproposal.
    You copy the Standard OR type do these settings only
    Sales document type PV Item proposal
    SD document categ. D
    Screen sequence grp. MA
    Transaction group 5
    Doc. pric. procedure C
    Display Range UALL
    FCode for overv.scr.UER1
    Propose deliv.date give chek mark    
    Define the number range and assign number range.
    Noe you try
    I hope it will help you,
    Regards,
    Murali.

  • Process chains Master list

    Hello Experts,
    We have this challenge where we need to list down the Master list of all the process chains in our production system.
    I need to track their frequency and the details of the schedule time.
    Which would be the process where I can get these details. I would need the meta chains only.
    We have many chains in the system.Pl advise
    Thanks,
    Santhosh

    Hi Santhosh,
    You can find meta chain list from RSPCCHAIN table, sort Process Chain (ID) field and you will get all dependent PCs in Process Variant Field.
    For the start time thing, you can refer RSPCPROCESSLOG table. First copy data from Process Chain(ID) list from RSPCCHAIN table and paste it to Process Variant (Name) field of RSPCPROCESSLOG table. Also you can filter data here date wise.
    Hope this helps!!!!
    Thanks,
    Bhavin Vyas

  • Horizontal layout for images or video

    Hi, Sir
    May Check with you how coldfusion can layout for images or
    video in horizontal way? the default is vertical when we use
    cfoutput. what founction and tag support, or we had to design a
    horizontal looper for the purpose?
    The example web page horizontal layout is the youtube.com,
    like URL:
    http://youtube.com/browse?s=mp,
    All the video were layout in horizontal.
    Thanks and Regards
    David

    See
    this
    link
    Ken

  • How to switch display of label for SelectOneRadio in horizontal layout

    Using selectOneRadio with the horizontal layout and it displays the label and then the radio buttons to the right of the label.
    LABEL RADIO1 RADIO2 RADIO 3
    Is there a way to display the radio buttons to the LEFT of the label instead?
    RADIO1 RADIO2 RADIO3 LABEL
    Another question .... instead of radio buttons, we'd like to use check boxes instead, with the same functionality as the selectOneRadio ... just checkboxes instead of radio buttons.
    Can't find anything like selectOneCheckbox though, just a SelectBooleanCheckbox or SelectManyCheckbox, which won't work.
    Thanks for any help.

    Hi,
    you can use combination of selectOneRadio and outputLabel so in selectOneRadio leave label blank and put this text in outputLabel component, which you store to the right of selectOneRadio
            <af:panelGroupLayout id="pgl1" layout="horizontal">
              <af:selectOneRadio id="sor1" layout="horizontal">
                <af:selectItem label="label1" value="1" id="si1"/>
                <af:selectItem label="label2" value="2" id="si2"/>
              </af:selectOneRadio>
              <af:outputLabel value="outputLabel1" id="ol1"/>
            </af:panelGroupLayout>regards,
    Branislav

  • N8: no horizontal layout for calls?

    I have a horizontal mounting for my N8 in the car. I like OVI maps much more in horizontal layout. But incoming calls seems to be displayed always in vertikal layout !?
    Same for the dialing field if you click on "Make call" on the main window. There seems to be no horizonzal version.
    Greetings,
    HaPe
    N8-00 with orange case, loving it
    If my post was helpfull, click on the white star and give me an KuDo ;-)

    Yes it is very hard to turn it around if it is mounted in a car kit in landscape view to be able to use OVI maps in landscape, which is great and much more better in landscape.
    And it is a big lack that it is not possible to see the caller number and picture in  a correct way. 
    And it is quite impossible to dial a number because the digit buttons are arranged in portrait mode.
    (Nokia N8 is used with bluetooth car kit)
    N8-00 with orange case, loving it
    If my post was helpfull, click on the white star and give me an KuDo ;-)

  • Business Process Master List (BPML)

    Can anybody advise me any tips in preparing a Business Process Master List. I have got all the transactions to be listed. I just want to know how to start and work on. I am working on Source to Pay (MM) BPML. Any template or any useful info is welcomed.
    Thanks

    Hi Gopala,
    Thanks for your mail. I have already gone thru that link but to be frank, i didnt understand it properly.
    I just know the transactions to be included and nothing else. I appreciate if you could let me know whether i need to have anything else in specific.
    In the link, as a prerequisite, it is mentioned that BPML has to be created as a report from Q&A DB but i dont have any Q&A db.
    So, if i need to create a BPML report, is it just an excel sheet report which includes all the transactions??
    If i am right, please let me know. I will first draft a report with all the transactions. And then, please try to guide me what afterwards...i mean how everything is linked etc.
    Thanks

  • Master list of all content on available for purchase on iTunes?

    I'd like to hand out an extensive website/list/etc to my team convincing them to use iTunes. I'd specifically like a master list of all content currently available to purchase on iTunes...music/artists, movies, tv shows, etc. I realize this is a wacky question, probably not possible or available, but if anyone is aware of such a list, please post! Thanks!

    Kinda like asking for a list of all the words in the dictionary.
    Why not look in the dictionary?
    Just go to iTunes and browse or search for something.

  • Vertical & Horizontal layouts

    Hi All,
    Need some advice if possible? We have been give the task to covert a printed magazine into a digital iPad format. The client has sent us only the PDF's that are sent to the printers! we have cut and added them into a Vertical layout but we need to add them to a Horizontal layout - which we have done - problem is we are seeing double the horizontal spreads...
    We are new to DPS and folio builder and can’t seem to figure this out.
    This is how we see it - that is if its possible at all?
    Page 1_v   (veritcal)
    Page 1 & 2 (stitched together) for _h  (horizontal) mode
    So when they turn the iPad they can see it in landscape view... simple!
    Problem is we have when we come to “Page 2_v” we need to have “Page 1 & 2_h” again? so when the user reads it in Horizontal mode it will show “Page 1 & 2 twice” we cant have a blank missing page as the folio will say error.
    Hope that make sense...

    This is the workflow... but this is at the end off all the Horizontal pages and we still need to add verticals only after this..
    1) Set up duel layout v and h
    2) design... (this is the last horizontal page) we still have to add vertical pages only)
    3) Add in articles both V and H (as last H page)
    4) now we need to add only the vertical pages going forward..
    We add the name in  - turn off landscape layout as we have done all the H ones and wehen uploaded we get the below error...

  • Master List "Master List" is not a valid e-mail address because it is not of the form user@host.

    Have used Master Lists for years without issue. After today's update all I get is the above error message.

    Further update:
    In the bug:
    * https://bugzilla.mozilla.org/show_bug.cgi?id=985245
    comment 5 says
    This has been reported as:
    * https://bugzilla.mozilla.org/show_bug.cgi?id=1060901
    If you have an account on Bugzilla, please consider voting for that issue.
    Several other people have sent in the same support request as you, noting this happened after they upgraded to version 31.1.
    The exact error message is: XXXX is not a valid e-mail address because it is not of the form user@host. You must correct it before sending the e-mail.
    This happens when your mailing list description includes several words separated by spaces.
    If you choose to update to the recent version, although not ideal, these workarounds should let you use your mailing lists until a proper fix is implemented:
    * While composing an email open the address book and select the list you are trying to send to, highlight all the names in the list and drag them to the To: box. This uses your existing data without modifying it.
    * Replacing the blanks " " between the words in such lists' descriptions with an underscore "_". This requires modifying your mailing list(s) description(s).

  • Urgent :Fetching CRM Activity categories to the master list category table

    Hi all,
       I am working with groupware Integration. I am following "Best Practice" that provided in help.sap.com
    I m  using <b>mySAP CRM 4.0</b> it is in SP-09.
    the problem is in "Fetching CRM Activity categories to the master list category table" for this I am refered
    http://help.sap.com/saphelp_crm40/helpdata/en/56/0efff114e54f3394bde360f3bebb4b/frameset.htm
    in this page says that <b>"GWA_FILL_ACTCAT_TO_MASTERCAT"</b> function module is used for transforing data.
    but if i am checking in my system this function module is not exist.
    Please give the way for solution.
    Thaks in advance.
    Sridhar.
    Message was edited by: Shridhar Deshpande
    Message was edited by: Shridhar Deshpande

    Hi Shridhar,
    I am also working on the same object .
    "GWA_FILL_ACTCAT_TO_MASTERCAT" is not a function module it is a Program so pl. go to SE38 and execute the program.
    Cheers,
    Nilesh
    pl. reward points if this helps out.

Maybe you are looking for