Change order of elements each time a page is loaded?

I'm trying to do a web page that lists products but I want to
make it load the products in a random order each time the page
loads. Is there a way this can be done without having to set up a
database? If I did each product, say as a library item, is there a
bahaviour or a javascript out there that can read the list of
products, then load them in a random order?

If you require that no product image load more than once on
any page
refresh, then you will need to come up with some custom
javascript, or use a
database/server-scripted method to do this.
I can tell you how to load images randomly, but not how to
ensure that once
you have loaded one image you would not load it again on that
page refresh.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"timsharp" <[email protected]> wrote in
message
news:e88nv9$bi7$[email protected]..
> I'm trying to do a web page that lists products but I
want to make it load
> the
> products in a random order each time the page loads. Is
there a way this
> can be
> done without having to set up a database? If I did each
product, say as a
> library item, is there a bahaviour or a javascript out
there that can read
> the
> list of products, then load them in a random order?
>
>

Similar Messages

  • My account authorizes 5 devices and I have 4  each time I try to load the 5th it is rejected  what is the solution

    My account authorizes 5 devices and I have 4  each time I try to load the 5th it is rejected  what is the solution

    One of them may be authorised twice or you may not have removed an authorisation from a previous device.
    You can't de-authorise just the computers you no longer have access to.
    Your only option is to de-authorise all your computers and then re-authorise those you wish to be authorised. You can do this by logging into your account settings in iTunes on your computer (Store > View My ID) and selecting the option to de-authorise all.
    Please note however, you are only permitted to do this once in each 12 month period, therefore you would be better de-authorising your computers before you lose access to them. you can do this from the 'Store' menu in iTunes.

  • I want a fresh load with each reload not a page from history i need my changes to show up each time i load a page

    I am a web designer and need to be able to reload the entire page fresh each time i make a change so i can test things i just changed on the website how do ni make this happen this was not an issue in the past but now the banners on the site stay the same and they should change with each reload

    If you hold the Shift key when you reload (e.g., Ctrl+Shift+r) then Firefox should disregard cached files and re-request everything.
    Are you changing the banner URL to prevent use of a cached banner?

  • How can I change the default url each time I open a new tab?

    New tabs used to open up with the same home page I use when I open firefox but now all tabs open up with something different and I can't find where to change that.

    New tabs in Firefox have always been a blank page by default, but there are many different add-ons that can change that action to a specific web page.
    This is probably the simplest add0on to do that, but first you need to figure which add-0n changed it from a blank page and get rid of that add-on. <br />
    https://addons.mozilla.org/en-US/firefox/addon/newtaburl/

  • Dreamweaver CS2 - Photos changing on the site each time you visit

    Does anyone know how to do this, and can it be done in Dreamweaver? There is a photo that is used on a site when you first visit it, the next time you visit it is a different photo each time you visit. Can someone tell me how this is done?
    Thanks.
    Elizabeth

    Thanks.
    Elizabeth Ferrari
    Libby & Dennis Graphic Design
    Soddy Daisy, TN 37379
    C 423 883 0314
    www.libby-dennisgraphicdesign.com

  • Each time master data full load removes previous data and load with new ?

    We load company code (0COMP_CODE) master data (full load).
    1st day, we check company code master data, the record count is 150, 2nd day, the record count is 90.  It sounds like the master data full load each time would clean the previous data and load with new data, am I right?  If what I guess is right, then what setup is controlling this?
    Thanks

    I dont think it does cleanup.
    MD records in the new load simply overwrite the records already present in the master data.
    I mean if same record comes again its overwritten.If new record it gets added.
    I wouldnt expect number of records to reduce drastically from 150 to 90.
    Maybe before MD activation records could be more(as there will be both M(modified) and A(active) records).
    cheers,
    Vishvesh

  • Changed order of elements

    Hi all,
    i'm using ADF Faces EA19.
    On the JSP page i have a panelForm with child elements of panelLabelAndMessages with inputTexts and selectInputDates. At the first time i call the page, the order of the element is correct. If i reload the page (or leave and come back), the order of the child elements within the panelForm changes:
    element1
    element2
    element3
    element4
    element5
    reload:
    element2
    element3
    element4
    element5
    element1
    Any idea?

    Hi Gabrielle,
    i think, in the meantime i found the cause of my problem:
    i made a binding reference to panelLabelAndMessage (to miodify its message and messageType attributes from java code). If i difine variables only to these attributes, which i want to modify, it works properly BTW. this binding reference caused other problems too, which solved also by leaving the binding.
    Your questions:
    1. The type of state saving we are using is server.
    2. I cann't send stand alone version because of this binding, but you can try to repro with your own handler bean.
    My "wrong" code was:
    <af:panelLabelAndMessage id="pLAM1"
    label="Lebel1"
    binding="#{myHandler.panel1}"
    for="name">
    <af:inputText id="name"
    value="#{myHandler.name}" columns="20" simple="true" />
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage id="pLAM2"
    label="Lebel2"
    binding="#{myHandler.panel2}"
    for="date">
    <af:selectInputDate id="date" value="{myHandler.date}" simple="true" />
    </af:panelLabelAndMessage>
    ... and so on.
    And the "right" code:
    <af:panelLabelAndMessage id="pLAM1"
    label="Lebel1"
    message="#{myHandler.msg}"
    messageType="#{myHandler.msgType}"
    for="name">
    <af:inputText id="name"
    value="#{myHandler.name}" columns="20" simple="true" />
    </af:panelLabelAndMessage>
    If you have more questions to repro or you find the real cause of the problem, don't hesitate!

  • Changing order of elements

    I have 2 interfaces and mapping. I need to change the order of XML elements in resulted XML.
    I have changed the order in DataType (for second XML) but it doesn't work.
    example:
    Interface 1
    <data>
      <name></name>
      <title></title>
    </data>
    Interface 2
    <data2>
      <name2></name2>
      <title2></title2>
    </data2>
    The result is
    <data2>
      <title2></title2>
      <name2></name2>
    </data2>
    How to change the order?

    hi,
    in order to change the order of XML tags you only have
    to change the data type
    have you updated the message type too?
    try choosing the same data type
    in your message type (result)
    and activate it once more time
    Regards,
    michal

  • Can Firefox be set to a default zoom that doesn't change back to small each time a new website is accessed? Downloaded add-on did not solve

    I have a new iMac with a large 27" monitor. I'd like to set a 225% default zoom on Firefox-- currently, each newly accessed website must be manually enlarged because the 225% size won't remain the default size for all websites; this is very frustrating. NoSquint add-on did not solve this problem for me. Am I doing something wrong?
    I'd greatly appreciate any help you could provide because I've had to switch to Safari for web browsing and I much prefer Firefox.
    Thank you

    Hi palmetto2008, <br>
    check this article: [[Font size and zoom - increase the size of web pages]]
    <br>
    Shortly, you can configure Firefox to display all text at a minimum font size. If a web page contains text that is smaller than your defined minimum size, Firefox increases the font size of the text to this minimum. To set a minimum text size:
    * On the menu bar, click on the Firefox menu and select Preferences...
    * Select the Content panel.
    * In the Fonts & Colors pane, click Advanced....
    * In the Minimum Font Size drop-down, select the minimum size in pixels in which all text must be displayed.
    <br>
    Regarding NoSquint addon, you should be able to override the default zoom options and keep your settings between Firefox restarts. <br>
    See also here: [https://urandom.ca/nosquint/help.php NoSquint Help Page]
    <br>
    Apparently, there are many addons offering your desired feature like:
    * Default FullZoom Level
    * Zoom Page
    <br>
    Hope that helped you! Please report back!

  • Can't change DataTable properties the first time the table is loaded.

    Hi all!
    I just want to change dynamically the value of columClasses in my DataTable with dataTable1.setColumnClasses(mystylesheet). It works fine when i use any link or button on my page, but the first loaded, the dataTable never change. I put my code in the constructor, in the beforeRenderResponse(), in afterRenderResponse(), without success.
    Any idea ?

    Hi,
    Here are the steps I followed:
    1. Added the following lines in the stylesheet (created a new class)
    .column-appearance {
    background-color: cyan
    2. Dragged and dropped a datatable
    2. In the constructor of Page1.java added the following line of code
    dataTable1.setColumnClasses("column-appearance");
    3. Save and run the application
    4. The datatable is rendered with the columns having cyan as the background color
    Is it the same as what you are trying or having I missed out anything???
    Cheers
    Giri :-)
    Creator Team

  • I get privoxy each time I try to load firefox???

    There is a large "503" in the upped left corner of where the firefox home page should be. The whole message is "This is Privoxy 3.0.6 on practivate. adobe.com (127.0.0.1) enabled

    One of them may be authorised twice or you may not have removed an authorisation from a previous device.
    You can't de-authorise just the computers you no longer have access to.
    Your only option is to de-authorise all your computers and then re-authorise those you wish to be authorised. You can do this by logging into your account settings in iTunes on your computer (Store > View My ID) and selecting the option to de-authorise all.
    Please note however, you are only permitted to do this once in each 12 month period, therefore you would be better de-authorising your computers before you lose access to them. you can do this from the 'Store' menu in iTunes.

  • Have to re-boot each time I want to load iTunes

    I recently bought a new computer, successfully downloaded itunes and my music. However, itunes will only open and operate properly the first time it's opened after start up. If I close itunes and try to re-open, I get an error message saying "itunes cannot run because some of its required files are missing. Please reinstall itunes". I uninstalled in control panel & C Drive and reinstalled itunes 3x via the itunes download from this site. I can't seem to resolve this problem. With this problem, also comes the problem of burning a disk. Any assistance is greatly appreciated.
    Thank you in advance.
    Nancy Gazzara

    "itunes cannot run because some of its required files are missing. Please reinstall itunes".
    hmmmmmm ... that one nowadays raises the possibility of malware. I've seen a case where the malware in question was affecting registry keys relating to the locations of the iTunes preference files. So that can be consistent with the pref-file-like symptoms. So I think we'd better try getting the malware possibilities off the table.
    Download and install the free version of Malwarebytes AntiMalware. Update the MBAM definitions and run a full scan on the PC. (Takes about two hours on my Lenovo.)
    http://www.malwarebytes.org/mbam.php
    Does the scan find any infections, Nancy?

  • I am using 3.6 on a 2009 Powerbook running OS 10.5.8, and the New York Times home page never loads properly.

    In earlier versions of Firefox, the Global edition loaded fine but the U.S. edition was a blank page with the normal left-hand text sidebar where it should be. Now the Global edition fails, as well.
    To view the main flow of text, I have to scroll down 1.5 pages worth - and then the text looks normal.
    Then, below the "Video" and "News from Reuters and AP" sections, there is another 1.5 full-page scrolls worth of blank page again. Then the "Inside NYTimes.com" section (with graphics properly placed) section comes up, followed by a 6" deep blank section.
    My husband is a programmer, and can't figure it out.

    Make sure that toolbars like the "Navigation Toolbar" and the "Bookmarks Toolbar" are visible: "View > Toolbars"
    *Open the Customize window via "View > Toolbars > Customize"
    *Check that the "Bookmarks Toolbar items" is on the Bookmarks Toolbar
    *If the "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the toolbar palette in the customize window to the Bookmarks Toolbar
    *If missing items are in the toolbar palette then drag them back from the Customize window on the toolbar
    *If you do not see an item on a toolbar and in the toolbar palette then click the "Restore Default Set" button to restore the default toolbar set up
    *http://kb.mozillazine.org/Toolbar_customization
    *https://support.mozilla.com/kb/Back+and+forward+or+other+toolbar+items+are+missing

  • Change over year at the time of legacy asset load

    For the US tax books ACRS/MACRS we are using the standard depreciation key 'M200' for machinery asset class. The useful life of the asset is 7 years.
    The depreciation key is calculating the correct depreciation but when we r creating a legacy asset the key is taking the transfer period as a change over period 2007 and it it is coming into next phase of the calculation in the key.
    Change over year is completely changing the calculation of the key. Did anyone come across this situation If so please help
    Thanks in advance
    Shravanthi

    Dear Yogi.
    you have configured a settlement profile for settling AUC's in t/code OKO7 and then assign this profile to your company code in t/code OAAZ. Check whether it is based on the error message.
    OA84: do you have maintained period control Z1 for the fiscal year variant? Generate period controls for sure in OA84.
    Br,
    Swapnil Vaidya

  • TS1702 I am having trouble opening the Times and Sunday Times Newspaper App in my iPad Newstand. Each time I seek to load I get the message "Failed to load the Kiosk".

    I have been told by the T8imes helpline that this is an Apple problem with its Newsstand. I have tried deleting the App and reloading it. Still the same message  "Failed to load the Kiosk" appears. I have tried a hard reset of the iPad, again without success. Can you suggest anything else?

    You bought an app but it did not work properly on your device. You can easily report problems with your iTunes Store purchases via the iTunes Store. Here is how:
    Launch iTunes > Choose Store > Sign in.
    Store > View My Account > Purchase History then Click the Report a Problem button.
    Fill out the form explaining the problem you are having.
    Submit the problem report and wait for a response from Apple, they usually respond within 24 hours.
    Notes:
    When Apple emails your invoice, there will be a link on the invoice. You may also click the “Report Problem” link next to the app that you are having issues with to report your problems.
    Problems with in-app purchases or free apps, report them here:http://www.apple.com/support/itunes/ww/
    Before reporting your issue, make sure that you followed these troubleshooting steps explained here.
    <Link Edited by Host>

Maybe you are looking for

  • Sound in? (how can i make my headphone port work as a mic/line in port?)

    Hello, i have a MacBook Pro 13 Mid 2012 model running the latest OS X (Mav) i looked in sound and it doesnt have a use headphone jack as a line in jack or anything so i hope it still works? i need this working if not any other way to get it to work o

  • Which browser to use to run the RWB in PI 7.1

    Dear colleagues, Our PI systems runs on 7.1 version. With IE 8.0, the Alert Inbox works properly, but the other application (End-to-End Monitoring, Component Monitoring ...) does not work. With FireForx, the Alert Inbox does not displayed all data, b

  • ADOBE PREMIERE ELEMENTS 11 CODE

    IN ADOBE PREMEIRE ELEMENTS 11 VIDEO EDITING I TRY TO BURN A DVD AND IT TELLS ME TO GO TO THIS WEB SITE TO GET A CODE (WWW.ADOBE.COM/GO/PREMIEREEL_INCODER) BUT I FIND NO SUCH WEB SITE. WHERE CAN IN GET THIS CODE NUMBER?

  • How to install PlugIn Export Manager.rpln

    Using Creativ Suit 6.0 and want to Package an Indesign-file, but the program say that Plugin Export Manager.rpln is missing. How can I install this PlugIn

  • DOC BUG 4.2: About On Demand Application Processes

    There is an error in Oracle Application Express Application Builder User's Guide Release 4.2 §8.8.1 "About On Demand Application Processes": An On Demand process is special type of application process which has a Process Point of On Demand and execut