How to make a never-ending(looping) page in DW?

I want to make a page which repeats itself on the ipad when you scroll in any direction. In essense a never ending page.
Jus began using HTML5 for our app.

Hi
You can do this just by repeating the code, but this is a sure way to stop anyone visiting your site -
The 'new' page is downloaded every time, (complete waste of bandwidth).
Your user will think that there is something wrong, so will go somewhere else.
On mobile devices bandwidth is now often limited and/or paid for.
A site that just repeats itself will on devices that can display the entire page download all the pages, ad infinitum.
PZ

Similar Messages

  • How to make this never ending loop stop!

    Somewhere in this code where im printing stars, i have a loop that i cant stop from continuing. The instrucitons say set the line<=30 and that i set line = 5 in the for loop. Im supposed to get a pyramid shape of stars made with 5 lines. IT should be adding by 2's at it goes down, such as 1,3,5,etc... Here is a picture of it.
    import chn.util.*;
    public class Pictures
      void printTable(int rows,int columns)
      {   for (int row = 1; row <= rows; row++)
       for (int col = 5; col <= columns; col++)
       System.out.println ( );
    void pyramid (int n)
       int line, spaces, stars, loop;
       for (line = 5; line <=30; line--)
          spaces = line - 1;
          for (loop = 1; loop <= spaces; loop++)
             System.out.print (" "); // print a blank space
          stars = n- line + 2;
          for (loop = 1; loop <= stars; loop++)
             System.out.print ("*");
       System.out.println();
       public static void main (String[ ] args)
          Pictures pic = new Pictures ( );
          ConsoleIO keyboard = new ConsoleIO ( );
          String get;
          pic.printTable (4, 6);
          get = keyboard.readLine ( ); // freezes the output screen to see the picture
          pic.printTable (11,12);
          get = keyboard.readLine ( );
          pic.pyramid (10);
          get = keyboard.readLine ( );
          pic.pyramid(25);
          get = keyboard.readLine ( );
    }

    for (line = 5; line <=30; line--)line will be 5, then 4, then 3, 2, 1, 0, -1, -2, ...
    And you'll keep going as long as it's <= 30. That is, it will stop when line > 30.
    How will line ever be > 30 following that pattern? (Well, it will, when it wraps from Integer.MIN_VALUE to Integer.MAX_VALUE.)
    You need to change your initial value or your terminating condition or your increment step. Up to you to figure out what's appropriate for what you're trying to do.

  • AdamSync from AD to LDS goes into a continuous never ending loop... can't figure this out.

    I THINK I've got this thing configured up to the point where it should be able to sync.  The XML config is set to just grab a single OU with roughly 12 accounts in it.
    Everything seems to connect OK, then it does a ton of "Processing Entry", even though there are only a few accounts in this OU.
    Then it begins to do "Adding target object..." and gets stuck in a never ending loop.
    Can someone point me in the right direction on how to troubleshoot this?
    This is what the log looks like:
    ==========================
    Adamsync.exe v1.0 (6)
    Establishing connection to target server localhost:6389.
    There is already an active sync session in progress. 
    Please allow the session to complete, or use -mai to seize the role.
    Saving Configuration File on CN=Test,DC=domain,DC=org
    Saved configuration file.
    ADAMSync is querying for a writeable replica of 10.10.10.10.
    Error: DCLocator call failed with error 1355. Attempting to bind directly to string.
    Establishing connection to source server 10.10.10.10:389.
    Using file .\dam9280.tmp as a store for deferred dn-references.
    Populating the schema cache
    Populating the well known objects cache
    Starting synchronization run from dc=domain,dc=org.
    Starting DirSync Search with object mode security.
    Processing Entry: Page 1, Frame 1, Entry 0, Count 0, USN 0
    Processing source entry <guid=94f6d930da2339439df75278a02accae>
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 1, Frame 1, Entry 1, Count 1, USN 0
    Processing source entry <guid=bf15bc4b684ece4f99010548e79decb0>
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 1, Frame 1, Entry 2, Count 1, USN 0
    Processing source entry <guid=fcea01637658134eab7ec74fe022d4fe>
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 3, Frame 1, Entry 35, Count 1, USN 0
    Processing source entry <guid=5e768f4392863b4d86935e6bf01acc25>
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 3, Frame 1, Entry 36, Count 1, USN 0
    Processing source entry <guid=b5d263a264aad045b8f42f19b49dd844>
    Previous entry took 0 seconds (16, 0) to process
    Processing Entry: Page 3, Frame 1, Entry 37, Count 1, USN 0
    Processing source entry <guid=f19994051c804846b7bcbd066d9e9d40>
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 3, Frame 1, Entry 38, Count 1, USN 0
    Processing source entry <guid=b16cd765bafa4f4d8649d91f0f055e5f>
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 3, Frame 1, Entry 39, Count 1, USN 0
    Processing source entry <guid=6be6a7d551978445aafd3803e60dc560>
    Processing in-scope entry 6be6a7d551978445aafd3803e60dc560.
    Adding target object CN=User Name,OU=Staff Accounts,OU=Users,OU=ITS,CN=Test,dc=domain,dc=org.
    Adding attributes: sourceobjectguid, instanceType, objectSid, sAMAccountName, lastagedchange, objectclass, 
    Adding target object CN=User Name,OU=Staff Accounts,OU=Users,OU=ITS,CN=Test,dc=domain,dc=org. Requesting replication of parent.
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 3, Frame 2, Entry 0, Count 0, USN 53438354
    Processing source entry <guid=bbb4a760a8281741a11d9331efaa3d7a>
    Processing in-scope entry bbb4a760a8281741a11d9331efaa3d7a.
    Adding target object OU=Staff Accounts,OU=Users,OU=ITS,CN=Test,dc=domain,dc=org.
    Adding attributes: objectClass, instanceType, sourceobjectguid, lastagedchange, 
    Adding target object OU=Staff Accounts,OU=Users,OU=ITS,CN=Test,dc=domain,dc=org. Requesting replication of parent.
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 3, Frame 3, Entry 0, Count 0, USN 52660067
    Processing source entry <guid=8d3ef319dff31f47819632af2da5df2c>
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 3, Frame 2, Entry 0, Count 0, USN 53438354
    Processing source entry <guid=bbb4a760a8281741a11d9331efaa3d7a>
    Processing in-scope entry bbb4a760a8281741a11d9331efaa3d7a.
    Adding target object OU=Staff Accounts,OU=Users,OU=ITS,CN=Test,dc=domain,dc=org.
    Adding attributes: objectClass, instanceType, sourceobjectguid, lastagedchange, 
    Adding target object OU=Staff Accounts,OU=Users,OU=ITS,CN=Test,dc=domain,dc=org. Requesting replication of parent.
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 3, Frame 3, Entry 0, Count 0, USN 52660067
    Processing source entry <guid=8d3ef319dff31f47819632af2da5df2c>
    Previous entry took 0 seconds (0, 0) to process
    ===================================================

    Hi,
    Are there any error messages from the event log?
    Here is a KB article which describes a similar issue below I suggest you refer to:
    Error message when you use the Adamsync tool in Windows Server 2003: "Error: We seem to be in an infinite recursive loop"
    http://support2.microsoft.com/kb/926933
    Best Regards,
    Amy

  • Problem on I-TUNES,,,says my computer is not authorized to listen to a song I purchased....when I go to STORE/AUTHORIZE..it says my computer is already authorized....never-ending loop...won't play on IPOD either,,,HELP !

    Purchased a song on I-tunes....won't let me listen to it...says my computer is not authorized...first time in 3 years that this problem occured ...I went to STORE/AUTHORIZE ,,,and it says my computer is already authorized....never-ending loop ...HELP ! Won't play on Ipod either

    Delete and redownload it if doing so is free in your country.
    (88542)

  • A never ending loop...not sure why?

    When I run my current procedure, it seems to be getting caught in a never ending loop, not entirley sure what the problem is...? I'm not quite the expert so if possible, the more detail in the explaniation the better...thanks!!
    --The cursors
    cursor konami_mlb_pitchers_crsr is
       select player_id_1032
       from customer_data.cd_baseball_pit_ytd_stats
       where split_number = -3
         and game_type_id = 1
         and sequence = 0
         and season_id = iSeasonID
       order by player_id_1032;
    cursor konami_mlb_career_pit_crsr is
       select ytd.player_id_1032,
          ytd.player_id,
          ytd.moniker,
          ytd.last_name,
          sum(ytd.games_played),
          trunc(sum(ytd.outs_pitched) / 3) || '.' || mod(sum(ytd.outs_pitched), 3) as innings_pitched,
          sum(ytd.complete_games),
          sum(ytd.shut_outs),
          sum(ytd.wins),
          sum(ytd.losses),
          to_char((sum(ytd.wins)) / decode(sum(ytd.wins) + sum(ytd.losses), 0, 1, null, 1, sum(ytd.wins) + sum(ytd.losses)), '0d000') as winning_pct,
          trim(to_char( (9 * sum(ytd.earned_runs)) / (sum(ytd.outs_pitched) / 3) , '990d00')) as era,
          sum(ytd.strikeouts),
          sum(ytd.saves),
          sum(ytd.hits),
          sum(ytd.home_runs),
          sum(ytd.walks),
          sum(ytd.hit_batters),
          sum(ytd.earned_runs),
          sum(ytd.runs)
       from customer_data.cd_baseball_pit_ytd_stats ytd,  customer_data.cd_baseball_roster rost
       where ytd.split_number = -3
         and ytd.game_type_id = 1
         and ytd.sequence = 0
         and rost.player_id = ytd.player_id
         and rost.league_id = iLeagueID
         and ytd.season_id <= iSeasonId   
         and ytd.active_record != 'R'
         and ytd.player_id_1032 in
        --Includes Players that were on the DL for the entire season                                          
          select player_id_1032
         from customer_data.cd_baseball_roster r
         where r.year_last = 2008
         and r.league_id = iLeagueID
         and r.player_id_1032 is not NULL
         group by ytd.player_id_1032,ytd.player_id, ytd.moniker,  ytd.last_name;   --Where the cursor gets opened
    open konami_mlb_pitchers_crsr;
       loop
          fetch konami_mlb_pitchers_crsr into pitcher;
          exit when konami_mlb_pitchers_crsr%notfound;
          open konami_mlb_career_pit_crsr;
          loop
             fetch konami_mlb_career_pit_crsr into pitcher_record;
             exit when konami_mlb_career_pit_crsr%notfound;
             utl_file.put_line(file_handle, pitcher_record.first_name || ',' ||
                                            pitcher_record.last_name || ',' ||
                                            pitcher_record.id || ',' ||
                                            pitcher_record.games_played || ',' ||
                                            pitcher_record.innings_pitched || ',' ||
                                            pitcher_record.complete_games || ',' ||
                                            pitcher_record.shutouts || ',' ||
                                            pitcher_record.wins || ',' ||
                                            pitcher_record.losses || ',' ||
                                            pitcher_record.winning_pct || ',' ||
                                            pitcher_record.era || ',' ||
                                            pitcher_record.strikeouts || ',' ||
                                            pitcher_record.saves || ',' ||
                                            pitcher_record.hits || ',' ||
                                            pitcher_record.homeruns || ',' ||
                                            pitcher_record.walks || ',' ||
                                            pitcher_record.hit_batters || ',' ||
                                            pitcher_record.earned_runs || ',' ||
                                            pitcher_record.runs);
          end loop; -- end loop through the stats for each pitcher
          close konami_mlb_career_pit_crsr;
       end loop; -- end loop through all the pitchers
       close konami_mlb_pitchers_crsr;

    You don't seem to be using the cursor iterator variable "pitcher" when you print the data to the file. You are not even passing any parameter to the "konami_mlb_career_pit_crsr" cursor. As such the first cursor "konami_mlb_pitchers_crsr" appears to be redundant.
    Maybe the loop is time-consuming (instead of "never-ending"), and if you wait long enough, it will end. In the meantime, you may want to tune your logic.
    isotope

  • Wireless printer is setup, but the HP Installer Setup program is in a never-ending loop

    Wireless printer is setup (HP Officejet 4500), but the HP Installer Setup program is in a never-ending loop.  It says "Fatal error during installation." and keeps trying to uninstall/reinstall/ etc etc etc.  Printer is setup and runs fine, just need to get rid of this crazy loop - any guidance?
    Dee
    This question was solved.
    View Solution.

    Which OS is installed?
    I recommend that you uninstall the printer software from the HP folder in start-->All Programs -->HP --> uninstall software
    After the uninstall is completed and your system restarted install and configure the printer again.
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Loop in smartform - how to make values valid in all pages

    Hi All.
    I have a smartforms with several pages (9). I must print these 9 pages once for each line in the internal table ITAB. When I put a loop in the first page, the data under that loop is printed correctly, but every text node outside the loop always prints the last line of ITAB.
    Do any of you know how to make the data in the loop valid throughout the other pages?
    any help will be welcome.
    thanks,
    Hermes.

    I got it. The main window must be the first one in the first page. The loop must be inside the main window, and bellow the loop there must be a page-break command.

  • How to make "Mail Contents os this page" in safari 7?

    Hi everybody,
    I need for my daily work to make once or twice a day an upload of an mailing PNG picture. Bevor the upgrade to Maverick Safari 7 I used the safari version 5.1.10 which works great to make "Mail contents of this page" (File Menu > Mail Contents of this file). Now in the Safari 7 version this option is not anymore available and it is change to SHARE "Email this page". This is not the some and it does not match the legal proposing.
    I appreciate as answer for a good solution or which steps shoud I do to get this option again.
    Thx a lot

    Hi Carolyn,
    Thanks a lot for your help and sorry for the inconvenience. I follow your instruction but it is still not working.
    I tried to use now another Mac which I have here, with Mac system 10.6.8, where I use the safari version 5.1.10 (6534.59.10) and it works perfect.
    Here are the screenShots:
    The screenshot from the older computer: here you see the option Mail contents of this page.
    Using that older Mac we have the perfect result, where you see the legal text + images, which i sent to me in bcc.
    The result from my Mac with Maverick and after following the instruction:
    You see the full legal text but no the image!
    Maybe this is just a minor bug in Safari, to exploring yet and to improve. For the meantime I have to use the older Mac only for this part of the job. Not A PERFECT DAY (lou reed, RIP) but not the end of the world!
    Thanks for you help and I´m looking forward to get news on this issue from you.
    <Image Edited By Host>

  • How to make sound play in loop

    Hi
    How can i make sound play in loop? Is there any property in class SoundChannel responsible for this or i have to write my own function?

    Using the sound Object there is a property you can pass in which asks for number of Loops
    Play(startPosition:Number,LOOPS:int,SoundTransform)
    or you can create your own method that listens to SoundComplete and then trigger play again.  which in my opinion is the best to do because when you play a sound with a loop, and choose to have is begin at a position other than 0  then the loop will play starting from where you set the position.

  • How to make contents of DIV on page I'm leaving fade out?

    I am trying to figure out how to make the contents of a DIV on the page I'm clicking away from fade out. I know how to make the next page load with a fade in. So I'm half way there (I guess).  Wix has a lot of designs that use this effect. Here's a link to an example:
    http://www.wix.com/website-template/view/html/633?originUrl=http%3A%2F%2Fwww.wix.com&numbe r-of-page=1&position-in-page=1
    This is the code that I use to make a DIV load with a fade in:
    I add this CSS code under the DIV that I want to apply the fade in effect to:
         animation: fadein 2s;
        -moz-animation: fadein 2s; /* Firefox */
        -webkit-animation: fadein 2s; /* Safari and Chrome */
        -o-animation: fadein 2s; /* Opera */
    And I add this extra code to the CSS styles sheet:
    @keyframes fadein {
        from {
            opacity:0;
        to {
            opacity:1;
    @-moz-keyframes fadein { /* Firefox */
        from {
            opacity:0;
        to {
            opacity:1;
    @-webkit-keyframes fadein { /* Safari and Chrome */
        from {
            opacity:0;
        to {
            opacity:1;
    @-o-keyframes fadein { /* Opera */
        from {
            opacity:0;
        to {
            opacity: 1;

    Success!!! Thank you! Although I did have to change one more thing. See bold text below.
    One more question. What if I wanted to apply this effect to two ID's instead of one? Would it be as simple as adding a comma and then the ID in quotes like this?.... $(#container", "#footer")
    $(document).ready(function() {
        $("#container").css("display", "none");
        $("#container").fadeIn(2000);
        $("a.transition").click(function(event){
            event.preventDefault();
            linkLocation = this.href;
            $("#container").fadeOut(1000, redirectPage);       
        function redirectPage() {
            window.location = linkLocation;

  • How to make an iview in a page programmatorically  (in)visible

    Hi All,
    Does somone know how the code to set an iview in a page visibe/invisible.
    (like you can do it manually)
    I do not want to remove the iview and then add the iview again,
    Thanks to help me out on this one,
    Nicolas

    Hi,
    Thanks for your answer, but I already found this on SDN.
    But I think it does not fit my needs. (hiding or unhiding it is not depending on roles or language or any other parameter)
    This is the scenario I want to do.
    I have made webdynpro banner with a message. 
    At certain moments in time this banner should appear iin the portal.
    Because the team that  decides if the banner should be visible or not, has no portal knowledge. So I want it to make easy for them
    I want to program another webdynpro, where they can decide to show the banner or not. (and tthey can also give the banner text in).
    So I just want to know how to hide programmatorically an iview in page.

  • How to make form a single long page; remove page breaks?

    Hi. I am pretty new to liveCycle but really like it so far! I think these forums are great too. I did a few forums searches and couldn't find a specific answer to this question, so I began this discussion. Please forgive my ignorance if this is has been discussed before!
    I am trying to make a form that isn't intended to be printed. I would like to make it a single long page instead of having page breaks in it. I have experimented with custom page sizes and way able to make the pages longer, but there is a limit to how long liveCycle allows me to make the pages... like 27" or something. I'd like to have no page breaks at all.
    I am not very familliar with XML, but do have some HTML experience, so I could copy/paste some code to the XML sheet if need be-- provided I was told where to put it.
    I attached a bit of the form I would like to turn into a single page to this discussion.
    Any help at all would be greatly appreciated! Thank you very much!

    In teh hierarchy view - click on the Master Page/ Page1. Now on the object palette on the Master Page Tab you can choose a Paper Type. If you scroll to the bottom of the list you can choose a Custom size. The width and height dimensions are now available to you. The UI in designer limits you to 59 in. If you need more than that there is a way to get bigger but you have to do it in the native XML format. Let me know if you need more than that. Here is a modified sample.
    Paul

  • How to make custom start end shapes for stroke (arrowheads)...

    hello...
    Indesign cs4 have nice start end stroke shapes like arrowheads, circles, squares...circles is clear, without fill. I need fill in it.
    How to make custom shapes or edit existings start/end shapes to functioning like original provided with indesign?
    Maybe illustrator cs4 have this?

    There's no way to edit line endings in ID. You would have to make a compound path from a line with no ending and a second path or shape for the end.

  • How do you test for end of page

    I have created a report and would want to find a way of checking if it's almost end of page so that if there are more records to be displayed, the report should display the column headings and new data on a new page instead of displaying part of the data or only headings on the previous page and continue onto the next page.
    The report displays a student's results for each course done. For example, Course 1 and the column headings(year, module, grade) and the actual data (results) then Course 2 and the column headings and data. If it is near end of page after Course 1 results have been displayed, I would like report to display Course 2 results on the next page.
    How do I check in the report if it's end of page or near end of page? Please assist.

    Hi,
    take a look to the following How To support notes that can give you some ideas.
    Reference
         How to reset page number for each master without counting master page (Doc ID 75096.1)
         How to create a 'continue on page...' message on reports with more than one page (Doc ID 120942.1)
    Regards, RZ

  • How to make fix navigation for single page w/ horizontal slider

    I've created a horizontal sliding page with the use of anchor but i cant fix my navigation bar, can someone help me how to make it?
    like this site http://www.selvagreenng.com/#abt
    thank you very much

    any help please? i will appreciate it a lot.

Maybe you are looking for

  • Whenever i try to open a Youtube video in browser, it launches the Youtube App instead of opening it in browser.

    Hi, I am using Moto G with Lollipop. Recently i installed Firefox on this device. I tried to open Youtube video in browser itself but it just launched Youtube App and played the video. !!! Its quite weird because Chrome works fine. Kindly help me in

  • ARIS Modelling Tool

    Hello friends, 1. What is ARIS tool ? 2. How it works? What is the Function of ARIS tool? 3. How it will integrate with SAP Solution Manager and XI? Why we need to integrate by ARIS? 4. how to import modeled business processes (modeled in ARIS) to SA

  • Copy and paste audio clip and maintain effects and tweaks?

    I created a track on the iPad and transferred successfully to the desktop. I then used Melodyne to clean up the vocal track.  Some of the vocal timing was off so i used flex time editing to straighten it out. It's a piece I'd like to loop throughout.

  • Withholding Tax details

    Hi All, I am an ABAPper and am new to the FI module; so need guidance from you experts. We are printing payment document and need the Gross Amount, Withholding Tax amount and the Net Amount on the payment document. This is required as per the country

  • New iTunes crashes almost every time I play a newly imported mp3

    Since updating to 7.0.1 (7) it has crashed several times, usually when I double click on a newly imported mp3. It has also crashed while Ive been using other applications, ie Firefox, but not anything out of the ordinary. Anyone else having similar p