Unaccountable space at the beginning of a HTML document.

I've designed and developed a website using Skeleton boilerplate and Perch CMS, and it works perfectly in all desktop browsers I've tested it in and almost does in Firefox 18.0.1 for Windows XP.
When I browse the site and click on the news page (http://www.f3racing.co.uk/news.html) in Firefox 18.0.1 there's a weird empty space right at the beginning of the document, so the main navigation and header is pushed down maybe 190 pixels from the top of the window pane.
This ONLY happens on the news page, Firefox doesn't add this on any other page despite it using the same boilerplate.
When using firebug if I disable this float:
.container .column, .container .columns {
float: left;
in the skeleton.css file the space vanishes, but this is vital to the boilerplate I'm using and removing it would mean a complete re-build of the website, is there a way I can get this page functioning as it does in all other browsers?

He has a thread over there.
http://forums.mozillazine.org/viewtopic.php?f=25&t=2655221

Similar Messages

  • Space at the beginning of a row in a listbox?

    i want to add rows in that way, that it look like a tree hierachy, but the listbox always remove the spaces at the beginning! what can i do?
    If i use the selectOneListbox from HTML i only can set the value that should be printed, but i can't set a return value if the row is selected, is that right?
    best regards

    ok, here is the outcome:
    <?xml version="1.0"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta content="no-cache" http-equiv="Pragma" />
    <meta content="no-cache" http-equiv="Cache-Control" />
    <meta content="no-store" http-equiv="Cache-Control" />
    <meta content="max-age=0" http-equiv="Cache-Control" />
    <meta content="1" http-equiv="Expires" />
    <title></title>
    <script type="text/javascript" src="/EdithsAddRemoveList/theme/com/sun/rave/web/ui/defaulttheme/javascript/formElements.js"></script>
    <link rel="stylesheet" type="text/css" href="/EdithsAddRemoveList/theme/com/sun/rave/web/ui/defaulttheme/css/css_master.css" />
    <script type="text/javascript">
    var sjwuic_ScrollCookie = new sjwuic_ScrollCookie('/Page1.jsp', '/EdithsAddRemoveList/faces/Page1.jsp');
    </script>
    <link id="link1" rel="stylesheet" type="text/css" href="/EdithsAddRemoveList/resources/stylesheet.css" />
    </head>
    <body id="body1" style="-rave-layout: grid">
    <form id="myForm" class="form" method="post" action="/EdithsAddRemoveList/faces/Page1.jsp;jsessionid=6F2D961C364A5579FCC4A691FA389D5A" enctype="application/x-www-form-urlencoded">
    <select style="height: 168px; left: 96px; top: 72px; position: absolute; width: 96px;font-family:monospace; white-space:pre" class="Lst" id="myForm:listbox1" name="myForm:listbox1" size="12" onchange="listbox_changed('myForm:listbox1');  return false;">
         <option class="LstOpt" value="8">ADAT</option>
         <option class="LstOpt" value="9">  3. Klasse</option>
         <option class="LstOpt" value="10">  4. Klasse</option>
         <option class="LstOpt" value="14">  5. Klasse</option>
         <option class="LstOpt" value="11">Englisch</option>
         <option class="LstOpt" value="12">  1. Klasse</option>
         <option class="LstOpt" value="13">  3. Klasse</option>
    </select>
    <input id="myForm:button1" name="myForm:button1" class="Btn2" onblur="return this.myonblur();" onfocus="return this.myonfocus();" onmouseout="return this.myonmouseout();" onmouseover="return this.myonmouseover();" style="position: absolute; left: 264px; top: 168px; width: 72px; height: 48px" type="submit" value="Button"></input><script type="text/javascript">sjwuic_assign_button('myForm:button1', defaultButtonStrings, true, false, false);</script>
    <input id="myForm_hidden" name="myForm_hidden" value="myForm_hidden" type="hidden" />
    <input type="hidden" name="com.sun.faces.VIEW" id="com.sun.faces.VIEW" value="_id1:_id2" />
    </form>
    </html>

  • How to insert a black space at the beginning of a timeline

    Hi guys,
    Sorry for the stupid question....I only bought FCPX yesterday.
    I have figured out how to drop an audio file into the timeline and add some title effects to the beginning. But now i want to add a black space at the beginning.
    Is there an easy way to do this that I have simply missed - I have spent several hours trying to find a way to do it... 
    Thanks in advance for your help  
    Best regards,
    Craig

    Thanks everyone for the help - really appreciate it !!
    I didn't know that there could only be one "correct" answer - so sorry to Tom if I have done this incorrectly. I was too excited that both answers worked for me that I didn't really concentrate hard enough on whose idea it was - I thought I could mark them both as correct.
    Next time I will take more time for a considred response.
    Thanks again everyone - you really helped me out.
    Cheers,
    Craig

  • How do I delete the blank space at the beginning or end of a project?

    I constantly end up with blank space at the beginning or end of a project - how do I remove it?  I get this ALL the time and I jsut can't get rid of it.  Obviously I want my project to start at 0.00 not at 1.xx.
    Thanks.

    That's not a project. You're inside an multicam angle editor. You need to edit the multicam clip into a project. That's where you edit it.

  • Trying to use GREP to add 2 spaces to the beginning of a line, under a particular circumstance.

    Hello,
    I am trying to add 2 blank spaces to the beginning of any line that has a punctuation at the end of that line, followed by a forced line break.
    I can get the GREP to find the punctuation at the end of a line with a forced line break:
    [[:punct:]](?=\r)
    But, is there a way to tell it to now add 2 spaces to the beginning of that line?
    Any guidence is greatly appreciated.
    thanks
    babs

    If applying a paragraph style works (nice thought!), then finding [[:punct:]]\n and applying the style works fine, no need for the grouping and the lookbehind. But if it's really the case that two spaces need to be inserted, then that's possible only if the text is not formatted at all. Then
    find ^.+[[:punct:]]\n
    change to \x20\x20$0
    will do the trick (\x20 is the space character). If the text does have any formatting, a script is needed.
    Peter

  • Indesign adds an anoying space at the beginning of a line

    Text supplied to me very very often has the combination:
    <tab><bullet><tab>rest of text....
    If I select <tab><bullet><tab> and hit delete, Indesign replaces it with a space.
    It's very annoying because I then have to delete the space. Who needs a space at the beginning of a line like that!?
    Preferences > Autocorrect > [  ] Enable Autocorrect is OFF, so there's no substitution going on (I think).
    Can someone offer any insight as to what I need to adjust in my prefs to stop this behaviour.
    I'm using Mac OS 10.9 and Indesign 2014
    Many thanks,
    K.

    Theway  I choose to to fix this kind of problem is to Use Find and Replace. Under Find, insert the text or code that you want deleted. Under Replace, insert NOTHING, then select Change All. If you don'twant to replace all instances use the Find Next to keep the coding or use the Change/Find that will delete the code and find the next instance. I use this method all the time to get rid of the double-spaces that are frequently found in word processing files. You can probably do the same thing in your word processing program.
    It may sound complicated but it's really quite easy.

  • My pages stopped scrolling with cursor keys after upgrading to 5.0, the cursor moves WITHIN html documents and "jumps" from frame to frame and character to character within the frame.

    Recently, I noticed that google search pages stopped scrolling. There is an "right arrow" at the beginning of each link. When I press the cursor "up/down" arrow on the keyboard, the cursor jumps from link to link. Also, while on any html webpage, the cursor moves one character at a time (left / right arrow) and one line at a time (up/down arrow) until the end of that frame is reached, it then jumps to the next frame.

    You may have switched on [http://kb.mozillazine.org/accessibility.browsewithcaret caret browsing].
    You can press press F7 (on Mac: fn + F7) to toggle caret browsing on/off.
    * Tools > Options > Advanced : General: Accessibility: [ ] "Always use the cursor keys to navigate within pages"
    * http://kb.mozillazine.org/Scrolling_with_arrow_keys_no_longer_works
    * http://kb.mozillazine.org/Accessibility_features_of_Firefox

  • HT1343 How to move the beginning of a (PDF) document/how to move to the end of a document?

    Control-A
    Move to beginning of line/paragraph
    Control-E
    Move to end of line/paragraph
    But, how to move to the beginning or end of the document?

    I have the Apple keyboard with numeric keypad. The two circled keys move at the beginning and at the end of the document.

  • Getting the title of an HTML document displayed inside a JEDitorPane

    Hello everybody,
    I am currently working on an HTML help file browser displaying the document inside a JEditorPane. Now I wanna do this: get the current document's title (inside <title>...</title>) and set the title of the JInternalFrame containing the editor pane (MDI - I know) to the document title mentioned.
    Setting the JInternalFrame title is not a problem, but when I tried to extract the title of the document, several attempts failed:
    String content = hypertextPane.getText();Applying this method gave me the following content:
    <html>
      <head>
      </head>
      <body>
        <p>
        </p>
      </body>
    </html>Looks somehow meager... :-X
    Document currentDoc = hypertextPane.getDocument();The "document" this method returned only consisted of HTML and BIDI ROOT as root elements, and HTML had only one child element: BODY.
    And the attempt
    docTitle = currentDoc.getProperty(Document.TitleProperty);simply returned NULL. :-(
    The editor pane's editor kit is:
    new javax.swing.text.html.HTMLEditorKit()The default content type is, of course, text/html, and I never display a document which is not HTML with my editor pane.
    Can please anybody help me? Thanks a lot!
    Regards
    Jacek.

    getProperty(Document.TitleProperty) does NOT work in
    my application. Here is the method I wrote for
    extracting the document title:
    * Returns the title of the document currently
    ntly displayed by the browser
    * @return <ul><li>the document's title<tt> -
    t> - </tt>if such a title
    *                 exists</li>
    *             <li><tt>null - </tt>otherwise</li>
    *         </ul>
    public String getDocumentTitle() {
    String content = new String();
    String title = new String();
    title = (String) ((HTMLDocument)
    cument) hypertextPane.getDocument()).
    getProperty(Document.TitleProperty);
    return (title);
    }The HTML pages I display with my browser all do have a
    <title>...</title>. However, my method keeps returning
    NULL all the time.
    I built my browser with JDK 1.3.1 LINUX i586, but I
    tested it with both 1.3.1 and 1.4.1. The results are
    always the same. :-(
    I think the promblem is, that getProperty(Document.TitleProperty) returns null until the document is loaded completly (this happens assynchronly). Add the following code to handle this issue:
            hypertextPane.addPropertyChangeListener( new PropertyChangeListener()
                        public void propertyChange( PropertyChangeEvent e )
                        if( e.getPropertyName().equals( "page" ) )
                            title = hypertextPane.getDocument().getProperty(Document.TitleProperty).toString();
                    } );I use it this way

  • To add space at the begining of a file

    Hi,
      i have a requirement, when you transfer data to a file it should start writing data from 10th place.
    ex: data p_ext LIKE rlgrap-filename.
         data: var1(9)  type c value 'test data'.
         data: hold(100) type c.
         p_ext = '/devabap/if/daily/out/test1.rg'.
    open dataset p_ext for output in text mode encoding default.
    concatenate c_blank
                       var1
                       into hold
                       separated by cl_abap_char_utilities=>horizontal_tab.
    transfer cont to p_ext.
    close dataset p_ext.
    When i do this and check the file contents in AL11.
    i can see the contents like
    #test data.
    but i want to know how this can that be changed to like
                     #test data.
    Regards,
    Raghavendra.

    Hi ,
      When you use concatenate using separating , the separating string  does not come in the first place , it just comes between the values you are concatenating .
    so to acheive your result , you should again concatenate  cl_abap_char_utilities=>horizontal_tab , to your result before you transfer it to the file.
    concatenate cl_abap_char_utilities=>horizontal_tab cont into cont.
    or you can do is use the shift command after the concatenate operation.
    Here is a sample
    shift cont by 10 places RIGHT.
    Regards
    Arun
    Edited by: Arun R on Jan 22, 2009 1:29 PM

  • I recieve my reciepts from all of my Apple purchases via email to my email cllient "MS Outlook 2003" on a Windows 7 Home Premium platform. I cannot format the print appearance of HTML documents within Outlook and the print border cuts of the last digit?

    I use MS Outlook as my email client under Windows 7 Home Premium and when I receive a reciept from Apple for purchases made for my iPhone (Stores or iTunes) the HTML formatting cuts off the last digit of the price paid on my eReceipts (the only receipts I get). Outlook 2003 does not allow for HTML print formatting since they (HTMLs) are formatted from the source (Apple). Can you help me to get Apple to fix this or find a workaround?

    Just to recap, this is a collection of ports I have collected over time for people who needed this information when setting up the HP ePrint app so that they could view their email from within the app.  I am certain other applications also need this information.  Although lengthy, I could not find a more comprehensive place to retrieve this information.  Feel free to post additional information, faulty information, or other related topics below as this is simply a collection of data and it would be practically impossible to test all of them. Thank you!
    Don't forgot to say thanks by giving "Kudos" if I helped solve your problem.
    When a solution is found please mark the post that solves your issue.
    Every problem has a solution!

  • Whenever I open Reddit, I get the pop up, "Firefox HTML Document (0 bytes)" which asks for my permission to be downloaded. On Cricinfo, I get a similar pop up.

    On Reddit, whenever I open any page, I get this popup:
    http://i.imgur.com/3bBpw42.png
    On Cricinfo, I get a similar popup:
    http://i.imgur.com/im3tpqN.png
    This would also occur on other websites, but these are the two of the websites that I frequent a lot more. The problem is, even if I click on "Do this automatically..." button, all what it eventually does is that all such files gets saved in the default "download" folder which slows my system down. Help?

    Hello,
    This behavior is not the right behavior - neither of these sites would prompt you to download any files when you visit them. Can you please check if this happens when you open Firefox in safe mode too. Instructions for running Firefox in safe mode are below
    Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • Audio clips cutting off at the beginning, after replacing audio.

    I have received an fla for a complex game, and have been directly replacing the audio clips in it with new ones with the same file name. The game randomly chooses themes, displaying text and a corresponding audio clip.  After replacing the old files with the new ones, out of 20 audio clips, about 6 of them get cut off at the beginning. There is no discernible difference in the length of the clips, or empty space at the beginning between the original audio files and the new ones.
    Is it possible that there is something happening in the actionscript that could be causing the problem? The fla calls a file calls Themes.as, this is the code in the file, case the answer is in there somewhere:
    import utils.Randomise;
    class com.tt.games.newsfinder.Themes{
    //AVAILABLE THEMES
    public static var THEME_1:String = "sports";
    public static var THEME_2:String = "music";
    public static var THEME_3:String = "pets";
    public static var THEME_4:String = "flying";
    public static var THEME_5:String = "new teeth";
    public static var THEME_6:String = "hats";
    public static var THEME_7:String = "bikes";
    public static var THEME_8:String = "swimming";
    public static var THEME_9:String = "zoos";
    public static var THEME_10:String = "shoes";
    public static var THEME_11:String = "bedtime stories";
    public static var THEME_12:String = "moving house";
    public static var THEME_13:String = "cleaning your teeth";
    public static var THEME_14:String = "films";
    public static var THEME_15:String = "painting and drawing";
    public static var THEME_16:String = "food";
    public static var THEME_17:String = "drinks";
    public static var THEME_18:String = "the seaside";
    public static var THEME_19:String = "trees";
    public static var THEME_20:String = "boats";
    //SELECTED THEM
    public static var CURRENT_THEME:String;
    //FRAME LABELS FOR ANT NEWS TOPICS
    public static var TOPICS_SPORT:Array = ["football","cricket","tennis","balls","bowling"];
    public static var TOPICS_MUSIC:Array = ["guitar","recorder","notes"];
    public static var TOPICS_PETS:Array = ["fish","hamster","dog","rabbit","mouse"];
    public static var TOPICS_FLYING:Array = ["plane_green","plane_yellow","plane_small"];
    public static var TOPICS_NEW_TEETH:Array = ["teeth"];
    public static var TOPICS_HATS:Array = ["hat1","hat2","hat3"];
    public static var TOPICS_BIKES:Array = ["bike1","bike2","bike3"];
    public static var TOPICS_SWIMMING:Array = ["goggles","flippers","rubber_ring"];
    public static var TOPICS_ZOO:Array = ["octopus","monkey","snake","dolphin"];
    public static var TOPICS_SHOES:Array = ["shoes1","shoes2","shoes3"];
    public static var TOPICS_BOOKS:Array = ["book1","book2","book3"];
    public static var TOPICS_MOVING:Array = ["box1","box2","box3"];
    public static var TOPICS_CLEANING_TEETH:Array = ["toothpaste"];
    public static var TOPICS_FILM:Array = ["projector","camera"];
    public static var TOPICS_DRAWING:Array = ["pencil"];
    public static var TOPICS_FOOD:Array = ["cake"];
    public static var TOPICS_DRINK:Array = ["tea_pot","cups"];
    public static var TOPICS_SEASIDE:Array = ["sandcastle","bucket","spade","crabs"];
    public static var TOPICS_TREES:Array = ["tree1","tree2","tree3"];
    public static var TOPICS_BOATS:Array = ["boat1","boat2","boat3"];
    public static function fGetTopicsByTheme(p_nLength:Number):Array{
    var l_aTopics:Array = new Array();
    var l_aChosen:Array = new Array();
    switch(CURRENT_THEME){
    case THEME_1: l_aTopics = TOPICS_SPORT.slice(); break;
    case THEME_2: l_aTopics = TOPICS_MUSIC.slice(); break;
    case THEME_3: l_aTopics = TOPICS_PETS.slice(); break;
    case THEME_4: l_aTopics = TOPICS_FLYING.slice(); break;
    case THEME_5: l_aTopics = TOPICS_NEW_TEETH.slice(); break;
    case THEME_6: l_aTopics = TOPICS_HATS.slice(); break;
    case THEME_7: l_aTopics = TOPICS_BIKES.slice(); break;
    case THEME_8: l_aTopics = TOPICS_SWIMMING.slice(); break;
    case THEME_9: l_aTopics = TOPICS_ZOO.slice(); break;
    case THEME_10: l_aTopics = TOPICS_SHOES.slice(); break;
    case THEME_11: l_aTopics = TOPICS_BOOKS.slice(); break;
    case THEME_12: l_aTopics = TOPICS_MOVING.slice(); break;
    case THEME_13: l_aTopics = TOPICS_CLEANING_TEETH.slice(); break;
    case THEME_14: l_aTopics = TOPICS_FILM.slice(); break;
    case THEME_15: l_aTopics = TOPICS_DRAWING.slice(); break;
    case THEME_16: l_aTopics = TOPICS_FOOD.slice(); break;
    case THEME_17: l_aTopics = TOPICS_DRINK.slice(); break;
    case THEME_18: l_aTopics = TOPICS_SEASIDE.slice(); break;
    case THEME_19: l_aTopics = TOPICS_TREES.slice(); break;
    case THEME_20: l_aTopics = TOPICS_BOATS.slice(); break;
    if(l_aTopics.length < p_nLength){
    //make it long enough!
    var l_nDif:Number = p_nLength - l_aTopics.length;
    for(var i:Number = 0; i< l_nDif; i++){
    //add the list itself, in case its length is 1!
    l_aTopics = l_aTopics.concat(l_aTopics);
    //now trim it
    l_aChosen = l_aTopics.slice(0,p_nLength);
    return l_aChosen;
    * get a random selection of topics of a fixed length, not including those from the chosen theme
    public static function fGetRandomTopics(p_nItems:Number):Array{
    var l_aTopics:Array = new Array();
    if(CURRENT_THEME != THEME_1) l_aTopics = l_aTopics.concat(TOPICS_SPORT);
    if(CURRENT_THEME != THEME_2) l_aTopics = l_aTopics.concat(TOPICS_MUSIC);
    if(CURRENT_THEME != THEME_3) l_aTopics = l_aTopics.concat(TOPICS_PETS);
    if(CURRENT_THEME != THEME_4) l_aTopics = l_aTopics.concat(TOPICS_FLYING);
    if(CURRENT_THEME != THEME_5) l_aTopics = l_aTopics.concat(TOPICS_NEW_TEETH);
    if(CURRENT_THEME != THEME_6) l_aTopics = l_aTopics.concat(TOPICS_HATS);
    if(CURRENT_THEME != THEME_7) l_aTopics = l_aTopics.concat(TOPICS_BIKES);
    if(CURRENT_THEME != THEME_8) l_aTopics = l_aTopics.concat(TOPICS_SWIMMING);
    if(CURRENT_THEME != THEME_9) l_aTopics = l_aTopics.concat(TOPICS_ZOO);
    if(CURRENT_THEME != THEME_10) l_aTopics = l_aTopics.concat(TOPICS_SHOES);
    if(CURRENT_THEME != THEME_11) l_aTopics = l_aTopics.concat(TOPICS_BOOKS);
    if(CURRENT_THEME != THEME_12) l_aTopics = l_aTopics.concat(TOPICS_MOVING);
    if(CURRENT_THEME != THEME_13) l_aTopics = l_aTopics.concat(TOPICS_CLEANING_TEETH);
    if(CURRENT_THEME != THEME_14) l_aTopics = l_aTopics.concat(TOPICS_FILM);
    if(CURRENT_THEME != THEME_15) l_aTopics = l_aTopics.concat(TOPICS_DRAWING);
    if(CURRENT_THEME != THEME_16) l_aTopics = l_aTopics.concat(TOPICS_FOOD);
    if(CURRENT_THEME != THEME_17) l_aTopics = l_aTopics.concat(TOPICS_DRINK);
    if(CURRENT_THEME != THEME_18) l_aTopics = l_aTopics.concat(TOPICS_SEASIDE);
    if(CURRENT_THEME != THEME_19) l_aTopics = l_aTopics.concat(TOPICS_TREES);
    if(CURRENT_THEME != THEME_20) l_aTopics = l_aTopics.concat(TOPICS_BOATS);
    l_aTopics = Randomise.fRandomise(l_aTopics);
    return l_aTopics.slice(0,p_nItems);
    public static function fGetThemeByTopic(p_sTopic:String):String{
    if(fIsInList(p_sTopic,TOPICS_SPORT)) return THEME_1;
    if(fIsInList(p_sTopic,TOPICS_MUSIC)) return THEME_2;
    if(fIsInList(p_sTopic,TOPICS_PETS)) return THEME_3;
    if(fIsInList(p_sTopic,TOPICS_FLYING)) return THEME_4;
    if(fIsInList(p_sTopic,TOPICS_NEW_TEETH)) return THEME_5;
    if(fIsInList(p_sTopic,TOPICS_HATS)) return THEME_6;
    if(fIsInList(p_sTopic,TOPICS_BIKES)) return THEME_7;
    if(fIsInList(p_sTopic,TOPICS_SWIMMING)) return THEME_8;
    if(fIsInList(p_sTopic,TOPICS_ZOO)) return THEME_9;
    if(fIsInList(p_sTopic,TOPICS_SHOES)) return THEME_10;
    if(fIsInList(p_sTopic,TOPICS_BOOKS)) return THEME_11;
    if(fIsInList(p_sTopic,TOPICS_MOVING)) return THEME_12;
    if(fIsInList(p_sTopic,TOPICS_CLEANING_TEETH)) return THEME_13;
    if(fIsInList(p_sTopic,TOPICS_FILM)) return THEME_14;
    if(fIsInList(p_sTopic,TOPICS_DRAWING)) return THEME_15;
    if(fIsInList(p_sTopic,TOPICS_FOOD)) return THEME_16;
    if(fIsInList(p_sTopic,TOPICS_DRINK)) return THEME_17;
    if(fIsInList(p_sTopic,TOPICS_SEASIDE)) return THEME_18;
    if(fIsInList(p_sTopic,TOPICS_TREES)) return THEME_19;
    if(fIsInList(p_sTopic,TOPICS_BOATS)) return THEME_20;
    return "";
    private static function fIsInList(p_s:String,p_aList:Array):Boolean{
    var l_n:Number = p_aList.length;
    var l_b:Boolean = false;
    for(var i:Number = 0; i < l_n;i++){
    if(p_aList[i] == p_s){
    //trace("!!! ** match >> " + p_aList[i] + " matches " + p_s);
    l_b = true;
    break;
    return l_b;
    public static function fRandomTheme():String{
    var l_aThemes:Array = [THEME_1,
    THEME_2,
    THEME_3,
    THEME_4,
    THEME_5,
    THEME_6,
    THEME_7,
    THEME_8,
    THEME_9,
    //THEME_10, << removed the shoes topic as we didn't have the audio for it!
    THEME_11,
    THEME_12,
    THEME_13,
    THEME_14,
    THEME_15,
    THEME_16,
    THEME_17,
    THEME_18,
    THEME_19,
    THEME_20
    var l_s:String = String(Randomise.fPickRandom(l_aThemes));
    CURRENT_THEME = l_s;
    return l_s;
    public static function fGetHeader(p_n:Number):String{
    var l_sHeader:String = "Can you find " + p_n + " people who ";
    l_sHeader += fGetActivity();
    l_sHeader += "?";
    return l_sHeader;
    public static function fGetEndTxt(p_n:Number):String{
    var l_sTxt:String = "That's brilli-Ant! You found " + p_n + " people who ";
    l_sTxt += fGetActivity();
    l_sTxt += "!";
    return l_sTxt;
    public static function fGetActivity():String{
    var l_sHeader:String ="";
    switch(CURRENT_THEME){
    case THEME_1: l_sHeader += "played sports today"; break;
    case THEME_2: l_sHeader += "are learning a musical instrument"; break;
    case THEME_3: l_sHeader += "have a new pet"; break;
    case THEME_4: l_sHeader += "have been flying"; break;
    case THEME_5: l_sHeader += "have lost a tooth"; break;
    case THEME_6: l_sHeader += "are wearing a hat"; break;
    case THEME_7: l_sHeader += "can ride a bike"; break;
    case THEME_8: l_sHeader += "went swimming"; break;
    case THEME_9: l_sHeader += "went to the zoo"; break;
    case THEME_10: l_sHeader += "have new shoes"; break;
    case THEME_11: l_sHeader += "read a book"; break;
    case THEME_12: l_sHeader += "are moving house"; break;
    case THEME_13: l_sHeader += "cleaned their own teeth"; break;
    case THEME_14: l_sHeader += "watched a film"; break;
    case THEME_15: l_sHeader += "drew a picture"; break;
    case THEME_16: l_sHeader += "baked a cake"; break;
    case THEME_17: l_sHeader += "made a cup of tea"; break;
    case THEME_18: l_sHeader += "went to the beach"; break;
    case THEME_19: l_sHeader += "climbed a tree"; break;
    case THEME_20: l_sHeader += "have been in a boat"; break;
    return l_sHeader;
    public static function fGetSuggestion():String{
    var l_sTxt:String = ""
    switch(CURRENT_THEME){
    case  THEME_1: l_sTxt = "How many sports can you think of that you play with a ball? How many of them have you played?"; break;
    case  THEME_2: l_sTxt = "Do you know any songs? Why not sing it right now?"; break;
    case  THEME_3: l_sTxt = "How about taking the dog for a walk? You don’t have a dog? Take someone else’s dog for a walk!"; break;
    case  THEME_4: l_sTxt = "Not everyone can go flying, but everyone can fly a kite! Why don’t you make your own kite and see if it flies?"; break;
    case  THEME_5: l_sTxt = "Have you got a wobbly tooth? Don’t forget to put it under your pillow when it falls out!"; break;
    case  THEME_6: l_sTxt = "Does your Mum have a hat? What does it look like on you?"; break;
    case  THEME_7: l_sTxt = "Can your Dad ride a bike? Why don’t you ask him?"; break;
    case  THEME_8: l_sTxt = "Can your Mum swim? Why don’t you ask her?"; break;
    case  THEME_9: l_sTxt = "How many animals can you think of that begin with the letter M? Ask someone else and see who thinks of the most!"; break;
    //case  THEME_10: l_sTxt = "shoes..."; break;
    case  THEME_11: l_sTxt = "What’s your favourite bedtime story? Can you read it to yourself?"; break;
    case  THEME_12: l_sTxt = "Have you ever moved house? Why not ask a grown-up about a time when they moved house?"; break;
    case  THEME_13: l_sTxt = "Have you cleaned your teeth today? I hope so! How many toothbrushes are there in your bathroom?"; break;
    case  THEME_14: l_sTxt = "What was the last film you saw? Do you have a favourite? Ask a grown-up to tell you about their favourite film!"; break;
    case  THEME_15: l_sTxt = "You can draw your news too! Draw a picture of what you did today!"; break;
    case  THEME_16: l_sTxt = "Have you ever baked a cake? Cooking can be fun - and if you make something delicious, that’s definitely news!"; break;
    case  THEME_17: l_sTxt = "Fruits make great drinks. How many different fruits can you think of that you can drink?"; break;
    case  THEME_18: l_sTxt = "You can do lots of different things at the beach. How many different things can you think of?"; break;
    case  THEME_19: l_sTxt = "Can you see any trees outside the nearest window? How many can you see?"; break;
    case  THEME_20: l_sTxt = "Why don’t you make your own boat and see if it floats in the bath?"; break;
    return l_sTxt;
    Any help would be extremely appreciated.
    Thank you,
    Ginger

    If you have not upgraded to version 7 you should do that.
    If you have upgraded to Version 7, be sure to do the updates to 7.0.5
    Go to the Help menu and select 'About Adobe Presenter' to see what version, if it is 7.0, to 7.0.2 you need to update it
    drop down the help menu again and you will see an 'update' option.
    you need to install in order - 7.0.1, then 7.0.2 then 7.0.5 - you cannot install all at once
    another thing you might want to do is open the file you are working on in 7.0.5 snd save it out with a new filename in a new location to combat that pesky problem of the 'media.ppcx' file disappearing....

  • Check space in the end to display warning message.

    I am currently working on validations on functional locations in the EDIT MASK. the code is already written for validations on to check for space in the beginning of the each level in the edit mask. however user requirement is that the program should produce warning messages for spaces regardless of where they appear in the Edit Mask. we have not validated to check for space at the end of each level.
    I have checked with condense ,shift string right deleting trailing spaces however I am not able to check for space at the end of levels.
    when i debugged the program the level8 length shows as 2 even though there is only one char in the level8. i
    could you please suggest any possible solution or any keywords that would help. you can go through the below code which is already written for checking space in the begining.
    here l_level1
    Level 8 errors
        l_length = STRLEN( l_level8 ).
    IF ( l_level8 = space AND l_dash_count > 6 ) OR
             l_dash_count > 7 OR
             l_length > 4.
          lt_mask_err-error = '8E'.
          APPEND lt_mask_err.
          l_errlvl8 = c_y.
        ENDIF.
    Level 8 Warning
        IF rb_bdc <> c_on AND p_warn = c_on AND
        ( l_level8 <> space AND l_level8+0(1) = space ).
          lt_mask_err-error = '8W'.
          APPEND lt_mask_err.
        ENDIF.
    i have added this code to display warning message using shift.
        l_lev8 = l_level8.                                                
        shift l_lev8 right.                                             
        l_length = STRLEN( l_lev8 ).                                    
        IF rb_bdc <> c_on AND p_warn = c_on AND                       
        ( l_lev8 <> space AND l_lev8+0(1) = space ).                    
          lt_mask_err-error = '1W'.                                     
          APPEND lt_mask_err.                                          
        ENDIF.

    You can use REGEX for string parsing, it is really handy. If you would like to test it out check out program "demo_regex_toy".
    Trailing space:
    FIND REGEX '[ ]+$' IN lv_text.
    leading space
    FIND REGEX '^[ ]+' IN lv_text.
    Any space
    FIND ALL OCCURRENCES OF REGEX '[ ]+' IN lv_text.

  • How to let the data appears at the beginning of the second page?

    Hi All,
    I've created a form-like report and it's layout model is like this:
    !http://up1.arb-up.com/files/arb-up-2009-9/Fgm23304.jpg!
    You can see parent repeating frame number 1 and child number 2 in red
    suppose that the normal frame containing f1 is suffused by fields within repeating frame 1
    If I run the report the first page will appear normally, but the second page the field f2 will not appear at the beginning of it. I want the field f2 appearing at the beginning of page 2 because there is a blank space at the beginning of it.

    give the property of the fiield f2 --> print object on -- All Pages.
    and give the property of field F_2 and child repeating Frame property --> vertical elasticity -- variable

Maybe you are looking for

  • Creation of service order from campaign element

    Hi, We have a requirement where service orders are to be created for all those business partners who responded to the campaign. We are using standard service order type SVRO. We have set up campaign automation by creating campaign and element, assign

  • How to Make Letterbox

    I have a Canon GL1 camera that records in SD 4:3 format. When I make a DVD my DVD player coupled with my 16:9 HDTV stretches the video to fill the screen and distorts everyone (they look broader). I think a letterbox format would present a more norma

  • FBL1N & FBL5N shows amounts in thousands

    Hi experts FBL1N & FBL5N shows amounts in thousands 14,50080 $  instead of a normal display 14 500,80 $ Can anyone help to resolve this problem. Thanks

  • ABAP methods overloading

    Hi All, In ABAP objects, is it possible to use same method name with different signature in the same class. In Se24, i have build a class xyz and a method A. The method A has a string as importing parameter. I have to use the same method A with an in

  • I'm unable to open DNG or RAW into ACR 8.2 from LR5.2 they open directly in PS CC

    Since I installed LR 5.2 I'm not able to open DNG or RAW files in ACR 8.2. They open directly in PS CC.