Scrolling text inside INDEX

Hello,
I'm trying to optimize my company's website (SEO), and I compared with other company website, and they were able to put scrolling text, but a kind of scrolling text that if you see source code, all the text it's the index, so it's perfect for google indexation....
I tried to do the same, but the maximun I was able was to use Jquery... (which the text is in different file).  So, with the other company they can put in their text good keywords and google redirects there (they are 2nd in our business page rank for google), and with my method google can't find any keywords in my index.
So, this is how I have:
http://www.sigrh.pt  (check in right side, close to footer)
This how other company have:
http://www.egor.pt/   
If you check source code from both, you see that my text it's not there (because its on different file), and they were able to do it... how?
Thank you!

Ok, let me try to explain better what I want.
if I go to:
http://www.keyworddensity.com/
And compare both sites, they have for example the keyword "Outsourcing" repeated over 40 times. Because they have that simpletabs scrolling.
If you check our site, just some of them, because our scrolling text it's on a different file, not in index.
If you check EGOR main page source code, you will see all the text from all the tabs there, hidden, and just show when it's her turn to show. All in one single file.
If you check our source code, you just find the code/script/javascript (don't know the right expression) and not the text that will show in main page, because it's on different file.
So, basically what I want is to be able to write in index.php (for example) 40 times the word "Outsourcing" , 40 times the word "Coaching" ,etc... like EGOR have!
I've wrote in my jquery like 15 times each work, and everytime I compare with egor those words never show up counted because they are not in my index.php, but in other file!

Similar Messages

  • Pages '09: Can't use AppleScript for selected text inside tables?

    When I run get selection on selected text in a Pages document, I get something like this:
    <pre>text from character 1 to character 4 of body text of document id 9943974 of application "Pages"</pre>
    When I run get selection on selected text inside a table cell in a table in a Pages document, I get something like this:
    <pre>text from character 1 to character 4 of some table of document id 3539679 of application "Pages"</pre>
    When I run get selection on selected text inside a table cell in ANOTHER table in the same Pages document, I get the exact same thing. It still says "some" table. So there is no way to distinguish between tables if there are more than one table in the same Pages document.
    Am I correct in understanding that this means that most AppleScript commands for manipulating text are unusable inside table cells?
    For example, it seems impossible to get the properties of the selection when the selection is selected text inside "some" table. So it's impossible do anything about text styles, etc.
    Is AppleScript support in Pages ’09 really that limited, or am I missing something?

    The first script below should return the character style of any selection made in Pages ’09, whereas the second script should apply the "XXX" character style to any selection:
    --BEGINNING OF SCRIPT 1
    tell application "Pages"
    activate
    tell application "System Events" to tell process "Pages"
    -- Show the format bar:
    if not (pop up button 1 of window 1 exists) then
    click menu item "Show Format Bar" of menu 1 of menu bar item "View" of menu bar 1
    end if
    -- Show the styles drawer and character styles:
    if menu item "Show Styles Drawer" of menu 1 of menu bar item "View" of menu bar 1 exists then
    keystroke "t" using {shift down, command down}
    end if
    tell front window
    tell checkbox 1 of group 1 of drawer 1 -- “Show or hide character styles.” checkbox
    repeat until it exists
    delay 0.1 -- wait until the styles drawer is open
    end repeat
    if description is "show character style" then click
    end tell
    -- Get the row index (although it is not a property) of the character style:
    tell menu button 2 -- “Choose a character style.” menu button
    click
    set k to 0
    repeat
    set k to k + 1
    if value of attribute "AXMenuItemMarkChar" of menu item k of menu 1 exists then exit repeat
    end repeat
    keystroke return -- hide the menu
    end tell
    -- Get the character style name:
    if k > 1 then set k to k + 1
    value of static text 1 of row k of outline 1 of scroll area 2 of splitter group 1 of group 1 of drawer 1
    end tell
    end tell
    end tell
    --END OF SCRIPT 1
    --BEGINNING OF SCRIPT 2
    set myStyle to "XXX" -- the name of the character style you want to apply
    tell application "Pages"
    activate
    tell application "System Events" to tell process "Pages"
    -- Show the format bar:
    if not (pop up button 1 of window 1 exists) then
    click menu item "Show Format Bar" of menu 1 of menu bar item "View" of menu bar 1
    end if
    -- Show the styles drawer and character styles:
    if menu item "Show Styles Drawer" of menu 1 of menu bar item "View" of menu bar 1 exists then
    keystroke "t" using {shift down, command down}
    end if
    tell front window
    tell checkbox 1 of group 1 of drawer 1 -- “Show or hide character styles.” checkbox
    repeat until it exists
    delay 0.1 -- wait until the styles drawer is open
    end repeat
    if description is "show character style" then click
    end tell
    set characterStyles to value of static text 1 of rows of outline 1 of scroll area 2 of splitter group 1 of group 1 of drawer 1
    set k to 0
    repeat with thisStyle in the characterStyles
    set k to k + 1
    if thisStyle as text is myStyle then exit repeat
    end repeat
    -- Apply the character style:
    if k > 1 then set k to k - 1
    click menu button 2 -- “Choose a character style.” menu button
    click menu item k of menu 1 of menu button 2
    end tell
    end tell
    end tell
    --END OF SCRIPT 2
    I suppose that +paragraph styles+ should work the same.
    I'm beginning to know Pages ’09 a little better now.
    Message was edited by: Pierre L. (show format bar)

  • How to recognize the text inside a text box

    we have a scenario where we are validating the text inside a text box. Actually, we are inserting a text matching test on a node.
    The scenario is like this:
    When we open the screen it contains 6 text boxes.
    We have to enter the text in the first 3 text boxes and save.
    Then based on the entry the values are populated on the other three text boxes.
    We have to validate the values in these text boxes , so we click and highlight the value.
    Openscript identfiy the text box ,but it did not identify or recorded the values we have highlighted.
    How to make the openscript recognize the values? Can we do it through menu options or else we need to write the code?
    Any help will be appreciated.

    I answer to myself:
    Put all inside a PanelGroupLayout and set the layout to SCROLL.
    Edited by: baol on Mar 15, 2010 9:09 AM

  • Text inside box

    How to print text inside a box in sap script?
      please let me know the process

    Hi
    If you wish to print the text in the box which is dependent on the page then:
    Create a window.
    Include the window on the page you wish to display text.
    In the text elements create a box using all the parameters.
    The different terms are shown below.
    Then add text(hardcode/Variable). This all should be done under one text element. Now call this element and window from your Print Program.
    The syntax for box creating statement can be seen from below link.
    http://wiki.ittoolbox.com/index.php/Sap_script#6.19.09Boxes.2C_Lines.2C_Shading:_BOX.2C_POSITION.2C_SIZE
    Regards
    Vijai
    *Reward Points if useful

  • How to scroll text.

    I want to scroll text on a touch device. But i have no idea how to do this. I read up on adobe that a mouse event will work, but a touch point could also be used, then they lost me talking about item rendering.
    Can someone help me figure out how to scroll text on a touch enabled device?

    You don't want to use just a while loop because once you get into the loop, it'll stay in there until you break out. Nothing else will be allowed to process. You'll want to use a Thread with a while loop inside.
    I don't know if thise code will work. just wrote it off the top of my head. But something like that. You'll probably have to put extra white space in at the beginning of your scrollText so it starts on the far right side.
    class ScrollArea extends JTextField implements Runnable
    private Thread myThread;
    private int i;
         public ScrollArea()
              myThread = new Thread(this);
              int scrolDist = textToScroll.length() + this.getColumns();
              i = 0;
         public void Run()
              int scrolDist = textToScroll.length() + this.getColumns();
              while(true)
                    if(i == scrolDist)
                         i = 0;
                    int scrolDist = textToScroll.length() + this.getColumns();
                    this.setText(textToScroll.substring(i, scrolDist)
                    i++;
         }

  • Scrolling text at an angle

    don't suppose anyone has found a work a round in DPS to have a scrolling text box at an angle, so that the text inside the scrolling are scrolls at the same angle as the text box, and not just vertically.
    ...just on the remote off chance :-)
    Cheers
    Alistair

    Hi Bob
    It's a piece of cake with edge animate, but I just want to do it in indesign for simplicity, (in that I mean OAM's can be really flakey, and the HTML files dont always perform too well on iPad1)
    May be next year we will start to see a bit more features added to DPS, if I live that long :-)
    thanks for the reply though!
    Alistair

  • Opening window text inside

    Hi , i dont know that is it right category
    problem is this , i dont know how to make window, if you scroll over than a window will open and text inside , if you click it , it will take you to the other site
    its like this
    The box should be bigger of course
    >>>>>>>>>>>>>>>>>.
         The Dogs               .
    >>>>>>>>>>>>>>>>  .
    If you scroll over , some of the text will apear
    like this
    The box should be bigger of course
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    The Dogs            
                    went to visit my .
                    Grandmas  Dogs     .
                     They were intres
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    If you click it , than a site will apear where is all the text                             .

    - make a button with just 'Dogs'
    - add it to the stage
    - double click on it to edit it
    - go to frame 'Over' and add the Grandma interesting cookies text or what ever... this will make the text appear when you go over the button
    - and as for the going to a site, i guess you could just hyperlink the text to the web page, but there is an action for that 100% but im not shure how it goes... ill try to get it and post it but im shore that somebody will help you before me...

  • Why is it not possible to highlite text inside every PDF?

    Hey guys,
    Does anybody know why I cannot highlight text inside a few PDFs?
    I know already the following:
    If you scan a document and save it as a PDF, it is normally an ordinary picture and therefore you cannot highlight anything. However, I can highlight text inside some scanned PDFs. I assume that somebody (who and how?) used some sort of OCR software. If that is the case, Adobe Reader recognizes the “picture” as text and you can mark easily. So far so good.
    The questions are: Who has to enable OCR scanning? Does Adobe Reader itself has a feature for OCR scanning? If I got a document, which is not yet “OCR scanned”, is there a possibility for me to enable OCR and therefore highlight the text afterwards?
    Thanks in advance for your help (and excuse any language mistakes)!
    Julian

    Adobe Reader can't perform OCR. Adobe Acrobat has this feature.

  • Scrolling text is jumpy/pulsing when compressed

    I'm making end credits using the scroll up text animation behavior in Motion 2.1.2. Whenever I compress it for DVD Studio Pro and insert it the text looks terrible. It is pulsing in and out and is hardly readable. I found a few other people who have had this problem, but no solutions that have helped.
    I have done credits using the scrolling text in Final Cut without much problem, but for this project I need motion in order to use text of different sizes.
    Here are my specs:
    Project Properties - NTSC DV; 720x480; Pixel Aspect Ratio: NTSC D1/DV - 0.90; Field Order: Lower First (Even); Frame Rate: 29.97; Background color is black (0%)
    Render Settings - Motion Blur Samples: 8; Shutter Angle: 360; Output Antialiasing Method: Best
    I used Export using Compressor: DVD Best Quality 90 minutes 4:3; I tried using the Color+Alpha and just Color in the Output options. Premultiply alpha and Use field render are both checked. Use motion blur is not checked.
    Most of the text is Geneva Regular 14 pt font. I have tried completely white as well as setting the RGB sliders all at 235 with no difference. I also tried using a black outline with no difference. The scroll up behavior has a rate of 52.
    Please help! It took me forever to put these credits together and I don't want to start from scratch with another program. Making the text bigger helps a little bit but I would really like to keep it the same size for timing and format sake. However, I can't keep it like this because it looks terrible both on an Apple Cinema display and on a tv after burned to DVD.
    Thanks!

    My first guess would be the font itself. Geneva is a pretty thin font and it's not likely to look good interlaced and on a TV. Can you try a thicker font?
    I'd also turn off Field Rendering. It looked much worse with it on than off. Keep Frame Blending though.
    Andy

  • HT201109 Final Cut Pro 10.1 crashes with Motion 5.1 custom Scrolling text and Graphics titles

    Dec 29, 2013 1:33 PM 
    found out why Final Cut 10.1 won't load my custom titles without crashing. When scrolling text in Motion 5.1 if you ad a graphic to scroll with the text Final Cut 10.1 will crash. If I remove the graphic in Motion and then load it into Final Cut 10.1 it will work.
    So Graphics and scrolling do not work. The graphics are .jpg, .png, .tiff, .psd. I don't know how to fix it. Hopefully someone out there does.
    Dave
    Final Cut Pro X, OS X Mavericks (10.9.1), 2.8 GHz Intel Core i7 & 16 GB Ram 
    Final Cut Pro Quit Unexpectedly
    Process:         Final Cut Pro [4123]
    Path:            /Applications/Final Cut Pro.app/Contents/MacOS/Final Cut Pro
    Identifier:      com.apple.FinalCut
    Version:         10.1 (238755)
    Build Info:      ProEditor-23875005025000000~5
    App Item ID:     424389933
    App External ID: 223682791
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [175]
    Responsible:     Final Cut Pro [4123]
    User ID:         501
    Date/Time:       2013-12-28 12:37:04.233 -0500
    OS Version:      Mac OS X 10.9.1 (13B42)
    Report Version:  11
    Anonymous UUID:  E080EF73-4EC7-F729-7343-2C37817936C6

    Thanks Tom for the advice. I have four external hard disks, all of them formatted with Mac OS Extended Journaled. On all devices (2TB) I have more than half free space. They are connected either with Thunderbolt or USB3 cables. Different manufactures:  LaCie, Toshiba, WD and Samsung. I face the same crash problem if I connect a UBS drive 16GB or a any other device to the USB ports including the Sony Video camera connected with a USB1 cable. Same problem on ALL my computers! To work properly, I have to disconnect all USB devices and work only with internal hard disks. I also tried to format the MacbookPro (erasing the partitions with a new installation) but I have the same problem. I really lost hope...

  • How can I make rectangular speech bubbles that adapt to the text inside them without the "arrow" that points towards where the bubble is coming from getting changed?

    I have to make lots of speech bubbles (150+) that all have texts inside them which differ in length. I want the speech bubbles to look the same in terms of style, but I need different sizes of course for each text. This means that the rectangular part of the speech bubble should adapt in length and width to the text inside it, while the "arrow" pointing towards where the bubble is coming from (e.g. the person who speaks) should stay the same on every bubble. So is there a way or a workaround to make such "adapting" speech bubbles?
    I appreciate any kinds of help
    Thanks in advance!

    Here's another way I found:
    1. Draw a speech bubble. Mine is a rectangle with rounded corners and a triangular pointer added with Pathfinder > Add
    2. Drag out a frame the same size as the speech bubble. Select the speech bubble and Copy; then select the empty frame and choose Edit > Paste Into...
    3. Alt-Drag the frame with the pasted speech bubble to make a copy, then crop one copy to leave only the top of the bubble showing, and crop the other copy to leave only the bottom.
    4. Drag out a text frame and insert a table consisting of 1 column, 3 rows. Set the text frame to Autosize > Height Only.
    5. Set the stroke/fill of the top and bottom rows to none, and style the middle row to match the speech bubble, (in my case a white fill and 2pt stroke; left and right).
    6. Anchor (paste) a copy of the speech bubble top in the top table row, and a copy of the speech bubble bottom in the bottom row.
    Getting the 3 parts to match up with is where you just have to work on it until you get it right. Use the positioning tools in Anchored Object options and the column width setting in Cell options to line everything up.
    Enter your text in the middle row. (Hey, look at that...a valid application of Comic Sans!) With the Cell Height set to an "At Least" setting, the cell will expand to fit whatever text you enter, pushing the the bottom row down, with the text frame auto-sizing to keep everything in play...

  • How do you add a scroll bar to a scrolling text field in a folio?

    I've created iPhone and iPad folios with multiple pages. There are scrolling text fields on each page. The fields scroll as designed, but the scroll bars on the  text fields only appear while actually scrolling. Is there a way to have them always visible so the user knows there is more hidden info? The only bars that are constantly visible are the page scroll bars.  Thanks!

    Why is your content pane null? I thought the content pane was the top-level in all windows? If you want complete control over the location of a list box, you want to set the layout of the content pane to null... the way I almost always do this is the other way around, to create my own panel and use setContentPane instead:
    JPanel content = new JPanel(null);
    JScrollPane scroll = new JScrollPane(myListBox);
    scroll.setBounds(380, 10, 500, 500);
    content.add(scroll);
    setContentPane(content);

  • How to add a scrolling text to display in a web part?

    Hi,
    I have 3 files in a doc library that is been referenced by a web part xml viewer in a page. I am referring only  the xml file.
    WarningMessage.xml
    <script type="text/javascript" src="http://icare/sites/IT/tst/XmlWebParts/WarningMessage/WarningMessage.js"></script>
    WarningMessage.js
    <script type="text/javascript">
    <
    //set the marquee parameters
    function init() { rtl_marquee.start(); }
    var rtl_marquee_Text = 'JavaScript scrolling text';
    var rtl_marquee_Direction = 'left';
    var rtl_marquee_Contents='<span style="font-family:Comic Sans MS;font-size:12pt;white-space:nowrap;">' + rtl_marquee_Text + '</span>';
    rtl_marquee = new xbMarquee('rtl_marquee', '19px', '90%', 6, 100, rtl_marquee_Direction, 'scroll', rtl_marquee_Contents);
    window.setTimeout( init, 200);
    </script>
    and
    xbMarquee.js
    document.writeln('<style type="text/css">');
    document.writeln(' div.marqueecenter1 { text-align: center; }');
    document.writeln(' div.marqueecenter2 { margin- margin-right: auto; }');
    document.writeln(' div.marqueeleft1 { text-align: left; }');
    document.writeln(' div.marqueeleft2 { margin- margin-right: auto; }');
    document.writeln(' div.marqueeright1 { text-align: right; }');
    document.writeln(' div.marqueeright2 { margin- margin-right: 0; }');
    document.writeln('</style>');
    function xbMarquee(id, height, width, scrollAmount, scrollDelay, direction, behavior, html)
      this.id            = id;
      this.scrollAmount  = scrollAmount ? scrollAmount : 6;
      this.scrollDelay   = scrollDelay ? scrollDelay : 85;
      this.direction     = direction ? direction.toLowerCase() : 'left';  
      this.behavior      = behavior ? behavior.toLowerCase() : 'scroll';  
    //  this.name          = 'xbMarquee_' + (++xbMarquee._name);
      this.name          = id;
      this.runId         = null;
      this.html          = html;
      this.isHorizontal = ('up,down'.indexOf(this.direction) == -1);
      if (typeof(height) == 'number')
        this.height = height;
        this.heightUnit = 'px';
      else if (typeof(height) == 'string')
        this.height = parseInt('0' + height, 10);
        this.heightUnit = height.toLowerCase().replace(/^[0-9]+/, '');
      else
        this.height = 100;
        this.heightUnit = 'px';
      if (typeof(width) == 'number')
        this.width = width;
        this.widthUnit = 'px';
      else if (typeof(width) == 'string')
        this.width = parseInt('0' + width, 10);
        this.widthUnit = width.toLowerCase().replace(/^[0-9]+/, '');
      else
        this.width = 100;
        this.widthUnit = 'px';
      // xbMarquee UI events
      this.onmouseover   = null;
      this.onmouseout    = null;
      this.onclick       = null;
      // xbMarquee state events
      this.onstart       = null;
      this.onbounce      = null;
      var markup = '';
      if (document.layers)
        markup = '<ilayer id="' + this.id + 'container" name="' + this.id + 'container" ' +
                 'height="' + height + '" ' +
                 'width="' + width + '"  ' +
                 'clip="' + width + ', ' + height + '" ' +
                 '>' + 
                 '<\/ilayer>';            
      else if (document.body && typeof(document.body.innerHTML) != 'string')
        markup = '<div id="' + this.id + 'container" name="' + this.id + 'container" ' +
                 'style=" ' + 
                 'height: ' + this.height + this.heightUnit + '; ' +
                 'width: ' + this.width + this.widthUnit + '; ' +
                 'clip: rect(0px, ' + this.width + this.widthUnit + ', ' + this.height + this.heightUnit + ', 0px); ' +
                 '">' + 
                 '<div id="' + this.id + '" style="' + 
                 (this.isHorizontal ? 'width:0px;' : '') + // if we scroll horizontally, make the text container as small as possible
                 '">' +
                 (this.isHorizontal ? '<nobr>' : '') +
                 this.html +
                 (this.isHorizontal ? '<\/nobr>' : '') +
                 '<\/div>' +
                 '<\/div>';             
      else 
        markup = '<div id="' + this.id + 'container" name="' + 
                 this.id + 'container" ' +
                 'style=" overflowY: visible; ' + 
                 'height: ' + this.height + this.heightUnit + '; ' +
                 'width: ' + this.width + this.widthUnit + '; ' +
                 'clip: rect(0px, ' + this.width + this.widthUnit + ', ' + this.height + this.heightUnit + ', 0px); ' +
                '">' + 
                 '<\/div>';             
      document.write(markup);  
      window[this.name] = this;
    // Class Properties/Methods
    xbMarquee._name = -1;
    xbMarquee._getInnerSize = function(elm, propName)
      var val = 0;
      if (document.layers)
        // navigator 4
        val = elm.document[propName];    
      else if (elm.style && typeof(elm.style[propName]) == 'number')
        // opera
        // bug in Opera 6 width/offsetWidth. Use clientWidth
        if (propName == 'width' && typeof(elm.clientWidth) == 'number')
          val = elm.clientWidth;
        else
          val =  elm.style[propName];
      else
        //mozilla and IE
        switch (propName)
        case 'height':
           if (typeof(elm.offsetHeight) == 'number')
             val =  elm.offsetHeight;
           break;
        case 'width':
           if (typeof(elm.offsetWidth) == 'number')
             val = elm.offsetWidth;                  
           break;
      return val;
    xbMarquee.getElm = function(id)
      var elm = null;
      if (document.getElementById)
        elm = document.getElementById(id);
      else
        elm = document.all[id];
      return elm;
    xbMarquee.dispatchUIEvent = function (event, marqueeName, eventName)
      var marquee = window[marqueeName];
      var eventAttr = 'on' + eventName;
      if (!marquee)
        return false;
      if (!event && window.event)
        event = window.event;
      switch (eventName)
      case 'mouseover':
      case 'mouseout':
      case 'click':
        if (marquee[eventAttr])
          return marquee['on' + eventName](event);
      return false;
    xbMarquee.createDispatchEventAttr = function (marqueeName, eventName)
      return 'on' + eventName + '="xbMarquee.dispatchUIEvent(event, \'' + marqueeName + '\', \'' + eventName + '\')" ';
    // Instance properties/methods
    xbMarquee.prototype.start = function ()
      var markup = '';
      this.stop();
      if (!this.dirsign)
        if (!document.layers)
          this.containerDiv = xbMarquee.getElm(this.id + 'container')
          if (typeof(this.containerDiv.innerHTML) != 'string')
            return;
          // adjust the container size before inner div is filled in
          // so IE will not hork the size of percentage units 
          var parentNode    = null;
          if (this.containerDiv.parentNode)
            parentNode = this.containerDiv.parentNode;
          else if (this.containerDiv.parentElement)
            parentNode = this.containerDiv.parentElement;
          if (parentNode && 
              typeof(parentNode.offsetHeight) == 'number' && 
              typeof(parentNode.offsetWidth) == 'number')
            if (this.heightUnit == '%')
              this.containerDiv.style.height = 
              parentNode.offsetHeight * (this.height/100) + 'px';
            if (this.widthUnit == '%')
              this.containerDiv.style.width = 
              parentNode.offsetWidth * (this.width/100) + 'px';
          markup += '<div id="' + this.id + '" name="' + this.id + '" ' +
            'style=" ' +
            //(this.isHorizontal ? 'width:0px;' : '') + // if we scroll horizontally, make the text container as small as possible
            '" ' +
            xbMarquee.createDispatchEventAttr(this.name, 'mouseover') +
            xbMarquee.createDispatchEventAttr(this.name, 'mouseout') +
            xbMarquee.createDispatchEventAttr(this.name, 'click') +
            '>' +
            (this.isHorizontal ? '<nobr>' : '') +
            this.html +
            (this.isHorizontal ? '<\/nobr>' : '') +
            '<\/div>';
          this.containerDiv.innerHTML = markup;
          this.div                    = xbMarquee.getElm(this.id);
          this.styleObj     = this.div.style;      
        else /* if (document.layers) */
          this.containerDiv = document.layers[this.id + 'container'];
          markup = 
            '<layer id="' + this.id + '" name="' + this.id + '" top="0" left="0" ' +
            xbMarquee.createDispatchEventAttr(this.name, 'mouseover') +
            xbMarquee.createDispatchEventAttr(this.name, 'mouseout') +
            xbMarquee.createDispatchEventAttr(this.name, 'click') +
            '>' +
            (this.isHorizontal ? '<nobr>' : '') + 
            this.html +
            (this.isHorizontal ? '<\/nobr>' : '') +
            '<\/layer>';
          this.containerDiv.document.write(markup);
          this.containerDiv.document.close();
          this.div          = this.containerDiv.document.layers[this.id];
          this.styleObj     = this.div;
        if (this.isHorizontal && this.height < xbMarquee._getInnerSize(this.div, 'height') )
          this.height = xbMarquee._getInnerSize(this.div, 'height')
          this.containerDiv.style.height = this.height + this.heightUnit;
          this.containerDiv.style.clip = 'rect(0px, ' + this.width + this.widthUnit + ', ' + this.height + this.heightUnit + ', 0px)';
        // Start must not run until the page load event has fired
        // due to Internet Explorer not setting the height and width of 
        // the dynamically written content until then
        switch (this.direction)
        case 'down':
          this.dirsign = 1;
          this.startAt = -xbMarquee._getInnerSize(this.div, 'height');
          this._setTop(this.startAt);
          if (this.heightUnit == '%')
            this.stopAt = this.height * xbMarquee._getInnerSize(this.containerDiv, 'height') / 100;
          else
            this.stopAt  = this.height;
          break;
        case 'up':
          this.dirsign = -1;
          if (this.heightUnit == '%')
            this.startAt = this.height * xbMarquee._getInnerSize(this.containerDiv, 'height') / 100;
          else     
            this.startAt = this.height;
          this._setTop(this.startAt);
          this.stopAt  = -xbMarquee._getInnerSize(this.div, 'height');      
          break;
        case 'right':
          this.dirsign = 1;
          this.startAt = -xbMarquee._getInnerSize(this.div, 'width');
          this._setLeft(this.startAt);
          if (this.widthUnit == '%')
            this.stopAt = this.width * xbMarquee._getInnerSize(this.containerDiv, 'width') / 100;
          else    
            this.stopAt  = this.width;
          break;
        case 'left':
        default:
          this.dirsign = -1;
    if (this.widthUnit == '%')
    this.startAt = this.width * xbMarquee._getInnerSize(this.containerDiv, 'width') / 100;
    else  
    this.startAt = this.width        
    this._setLeft(this.startAt);
    // this.stopAt  = -xbMarquee._getInnerSize(this.div,'width')*2;
    // this method does not work very well with FireFox.  offsetWidth property used in this function returns the absolute width of the div container
    // instead of the new offsetWidth when innerHTML is added or when the div becomes wider. To overcome this a new span element is added to 
    // the document body to measure the new offsetwidth and then it is removed.
    var temp_span = document.createElement('span');     
    temp_span.id = 'span_' + this.div.id;
    temp_span.innerHTML = this.html;
    document.body.appendChild(temp_span);                
    this.stopAt = - temp_span.firstChild.firstChild.offsetWidth;
    document.body.removeChild(temp_span);            
          break;
        this.newPosition          = this.startAt;
        this.styleObj.visibility = 'visible'; 
      this.newPosition += this.dirsign * this.scrollAmount;
      if ( (this.dirsign == 1  && this.newPosition > this.stopAt) ||
           (this.dirsign == -1 && this.newPosition < this.stopAt) )
        if (this.behavior == 'alternate')
          if (this.onbounce)
            // fire bounce when alternate changes directions
            this.onbounce();
          this.dirsign = -this.dirsign;
          var temp     = this.stopAt;
          this.stopAt  = this.startAt;
          this.startAt = temp;
        else
          // fire start when position is a start
          if (this.onstart)
            this.onstart();
          this.newPosition = this.startAt;
      switch(this.direction)
        case 'up': 
        case 'down':
          this._setTop(this.newPosition);
          break;
        case 'left': 
        case 'right':
        default:
          this._setLeft(this.newPosition);
          break;
      this.runId = setTimeout(this.name + '.start()', this.scrollDelay);
    xbMarquee.prototype.stop = function ()
      if (this.runId)
        clearTimeout(this.runId);
      this.runId = null;
    xbMarquee.prototype.setInnerHTML = function (html)
      if (typeof(this.div.innerHTML) != 'string')
        return;
      var running = false;
      if (this.runId)
        running = true;
        this.stop();
      this.html = html;
      this.dirsign = null;
      if (running)
        this.start();
    // fixes standards mode in gecko
    // since units are required
    if (document.layers)
      xbMarquee.prototype._setLeft = function (left)
        this.styleObj.left = left;    
      xbMarquee.prototype._setTop = function (top)
        this.styleObj.top = top;    
    else
      xbMarquee.prototype._setLeft = function (left)
        this.styleObj.left = left + 'px';    
      xbMarquee.prototype._setTop = function (top)
        this.styleObj.top = top + 'px';    
    I have nothing displaying in the web-part. How can I make this to work?

    This is how i was able to do it. Edit html source.
    <div align="center"><marquee id='scroll_news4' bgcolor=#ff9966 "><font color="#000000" size="+1" ><strong>Outlook is down! IT is working on it! </strong></font></marquee></div>
    <input type='Button' value='Stop' id ='b1' onClick='button_click()';>
    <SCRIPT LANGUAGE="JavaScript">
    <!-- Begin
    function button_click()
    if(document.getElementById('b1').value=="Start"){
    document.getElementById('b1').value="Stop";
    document.getElementById('scroll_news4').start();
    }else{
    document.getElementById('b1').value="Start";
    document.getElementById('scroll_news4').stop();
    // End -->
    </script>

  • How can I use a table as source for scrolling text

    Hi,
    I have a javascript scolling news on our portal page and anytime I need to update the news I have to update the portlet. Is there a way to use a database table to store the news and get it displayed automatically (as a scrolling text) after committing the transaction.
    Thanks,
    Leonard

    What do you mean by updating the portlet - page refresh?
    The nature of HTTP is that the client has to initiate the communication. As long as the browser doesn't submit a new request for the page, the content won't refresh.
    There are tricks, though that you may consider... such as placing an iframe on your portal page that "pings" the server and checks whether there's any change on the server side. Another option could be using an applet.

  • Possible to show bottom of scrolling text first when icon is displayed?

    Hi,
    Does anyone know if it is possible to show the bottom of
    scrolling text when the display comes up? For instance, let's say
    you have 20 lines of text in a scrolling display, but it only has
    room for 10. By default, Authorware shows the top 10 lines in the
    scrolled display, not the bottom 10. I want to show the bottom
    10--is this possible?
    Thanks,
    Edwin

    Hi,
    Well, I decided to have the most current information at the
    top of the display. For instance, if it were a chat, the most
    current chat info would be on top instead of on bottom. That fixed
    the problem adequately.
    Edwin

Maybe you are looking for

  • Invoices for free of cost material

    Hi All, We are creating a delivery for free of cost material. while creating a billing document using T. Code VF01 with reference to delivery, i can create multiple invoices with reference to same delivery. How cani block creating the multiple invoic

  • Query View in Replacement Path variable

    When selecting the query for a replacement path variable there is an option 'Use View for Query Start'. Does anyone know what this is (supposed) to do? Whatever setting I use during testing, the result is always the same. Thanks, József.

  • How to Boot Camp 5.0.2 iMac Windows 7 USB?

    Hi, this is my first boot camp. I was serching in web, how to make boot camp but I can't find it. So, I have Windows 7 .iso file and boot camp 5.0.2. I don't have a first option with USB installing. Please can anyone give me a link to some tutorial?

  • LR4 - AutoWB on Import?

    Hello, I'm a long time Photoshop user but recently picked up LR4 to try to fine tune my workflow.  I've noticed that after importing new files (RAW, I haven't tried with jpg) into my library as I scroll through them (1-up, not in grid) the preview co

  • Customize Check-In page for profile

    Hello, In UCM 11g I want to add a personalized message to the Check-in screen for each of my profiles. The messages just need to explain the custom metadata fields to the user. How can I accomplish this? Thanks! Mitch