Randomizing blocks of content

a client of ours has requested that we provide mulitple
chunks of content (image, text with links), bascially profiles of
individuals that will randomly switch out on "refresh". Can anyone
provide me with suggestions on the best way to do this. I have done
it with images only..but not with entire blocks of content. Any
suggestions would be considered...oh did I mention he requested we
have this completed by Monday morning?
DOOKS

Should be simple to do. David Powers tells you exactly how to
do this with
a random quote section in his PHP for Dreamweaver 8 book from
Friends of Ed.
Assuming you are using PHP/MySQL, this would be exactly the
ticket. An
afternoon at Borders/Barnes & Noble with a few triple
mocha lattes and
Chapter 8 should allow you to meet this deadline.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"J_me" <[email protected]> wrote in message
news:g9rjvd$dee$[email protected]..
>a client of ours has requested that we provide mulitple
chunks of content
> (image, text with links), bascially profiles of
individuals that will
> randomly
> switch out on "refresh". Can anyone provide me with
suggestions on the
> best
> way to do this. I have done it with images only..but not
with entire
> blocks of
> content. Any suggestions would be considered...oh did I
mention he
> requested
> we have this completed by Monday morning?
>
> DOOKS
>

Similar Messages

  • Graphics - intermittently loosing 3D rendering or getting random blocks

    I have a problem with my Labview 7.1 runtime application that may be actually be a Windows, Video Driver or PCAnywhere problem but I am checking in the Labview forum in case it is actually a Labview issue or others have seen this.
    I have several remote monitoring systems, based on standard Industrial PCs with Windows 2000 each with their own local kvm display. I connect to these systems daily to collect data, check and develop the software. I use PCAnywhere for the flexibility, but lately I have upgraded to PCAnywhere 11.5 and I have been experiencing problems with the video graphics, that are mirrored on the local display. Firstly the 3D graphics looses its nicely rendered edges and looks like a very low res, low colour. This is not always cleared by changing the display settings. It just doesn't look so good but the display is still readable. A worse problem that occurs is that the display converts into random blocks, obviously based on the original screen but not coherent. Both problems appear to start when the connection is made and may clear up randomly or need a complete reset to be cleared.
    Advice so far has been that we need the latest video drivers but we believe we have them.
    Has any of these issues been reported by other Labview users?
    Thanks
    Lucy

    It seems to me that the graphics compression algorithms of PCanywhere take some shortcuts to save bandwidth. I am not familiar with pcanywhere, but maybe you can change some compression settings if you have a fast connection.
    (Personally I am using VNC (e.g. tightVNC) and the settings are quite adjustable).
    LabVIEW Champion . Do more with less code and in less time .

  • How do I get restrictions to block inappropriate content in the app store.

    How do you set restrictions so that they work? Here is my problem. Your age restrictions do not block inappropriate content in the app store but it blocks the Netflix app from functioning and removes it's icon alltogether.  This is rediculous. Apple continues to be behind the eight ball at customization. Apple continues to limit the user. PC magazine rated the ipad as the best new kids toy but did PC magazine know that Apple promotes adult content in the app store and that it's age restrictions do not protect children from viewing them?

    Content is completely controllable in the App Store as well as iTunes.
    Look here:
    http://support.apple.com/kb/PH2733
    Good luck

  • Thunderbird does not show a blocked remote content notification bar when content is blocked even when Allow remote content is not clicked

    Thunderbird does not show a blocked remote content notification bar when content is blocked to allow remote content. The allow remote content box is not enabled in the privacy settings.

    Is it always like that? or just from one source?
    How are you viewing emails ?
    (view / Message Body As) should be ''original html ''

  • Issue with Random Blocks of Audio disappearing from Timeline

    I am having a problem with seemingly random blocks of audio tracks disappearing from my edit.  I will be scrolling through somewhere I haven't worked on or even looked at, in a few hours or days, and I'll be missing chunks of audio.   At first I thought I was just losing my mind, but I can see that transitions that I've tacked on at the ends to fade in/out are still there in their "storylines", just floating by themselves.  Its almost like they were just straight up deleted by hand.  But I know that I didn't do any such thing.   So, what is going on?  This isn't the first time its happened, and its impossible to know when it does, so I could end up losing hours of work reverting to a backup.  But it is equally frustrating (slowly) flicking back and forth between two projects to copy the audio tracks back every few days. It also mostly seems to happen on audio with transitions/crossfades, but I have found a few places where it has just been reduced to 1 frame.  Weird.
    I am working on a fairly complex film about 45 minutes in length, with compound clips of synced interviews cut up in the "Main" storyline, then with action shots and info stacked on top, and some 1-3 minute music tracks and video-less narrations below.     Working on a 5 month old MBP, 10.9.5, 16gb ram, everything's up to date
    I just need this to stop happening is the main thing.  What can I do about it?  It is very frustrating that these bugs are still popping up all the time.  Not a thing that should be expected from a "pro" application. 
    Thanks for any insight.
    Screen Shot below is example: you can see where 4blocks have been deleted, just leaving the crossfades hanging.  Extremely annoying, and time wasting.

    This is a user forum. I have not seen the issue you describe before.
    You could use the Provide Feedback command in the application to give feedback to Apple.

  • How to disable sliding animation of "blocked remote content" message bar?

    The latest release of Thunderbird now has a sliding animation of the yellow message bar stating: "To protect your privacy, Thunderbird has blocked remote content in this message "
    When I access Thunderbird on the office computer via a remote viewer program like Teamviewer, The screen redraws several annoying times as the notice message opens op, pushing the entire message content window downward. This really slows down the operation.
    Most other Thunderbird animations can be disabled, but I can't find a setting that defeats this superfluous "eye candy". Is there a setting somewhere that turns off this animation?
    Thanks,
    Dave

    The remote content notification bar drives me nuts:
    1. It takes up space in the message pane.
    2. I have to deal with it for every single message.
    3. Having set the "block all" option, I don't want to be pestered.
    4. Surely I should have control of it anyway, on general principle.
    Much better would be the option to have a "show remote content" button in the header area or on the toolbar.
    Good Thunderbird people, please fix this!

  • Why does Mac block flash content and is it a bad idea to install adobe flash

    Help me please...Why does Mac block flash content and is it a bad idea to install adobe flash?

    http://forums.adobe.com/thread/1195540

  • Why does my Safari block out content with random blocks of white?

    I upgraded my mid-2008 Macbook Pro this week.  I went from the last non-unibody model to a Retina MBP 15".  I did not move my old computer over, however: I am simply installing apps and moving docs as needed.
    I mention all of this because I am encountering a strange issue in Safari: as I browse, my screen will beome covered with blocks of blank white squares.  Here's a recent example from GMail:
    As you can see, the content beneath the white square begins to show itself as I pass the cursor over certain aspects of the page.
    This does not happen exclusively in GMail.  I've seen it across my web browsing.  It also occurs in text windows: as I type, the most recent word will sometimes disappear -- it's still there, but I can't see it unless I pass my mouse over it.
    Any clues as to what could be causing this?  This was not a problem I had on my old Macbook.  I am guessing and hoping that it's software, not hardware, related.
    I am on Safari 6.0.2 and OS X 10.8.2.

    Please read this whole message before doing anything. This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it. Step 1 The purpose of this step is to determine whether the problem is localized to your user account. Enable guest logins* and log in as Guest. For instructions, launch the System Preferences application, select Help from the menu bar, and enter “Set up guest users” (without the quotes) in the search box. Don't use the Safari-only “Guest User” login created by “Find My Mac.” While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin. Test while logged in as Guest. Same problem? After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it. *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing. Step 2 The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login. Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows: 
    Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
    When you see the gray Apple logo, release the shift key.
    If you are prompted to log in, type your password, and then hold down the shift key again as you click Log in.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    *Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode.
    Test while in safe mode. Same problem?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

  • Tabbed panels repeat region in cms displays 2nd item as a block of content

    Hi everyone, hope someone can help:
    I have a test page live
    http://aegmotorhomes.co.uk/usedtest1.php
    Problem is this-
    I have added a repeat region on my dreamweaver template
    I use Perch CMS as my management for staff to add new items for sale on this page
    I have built a tabbed panels to list the item
    On my CMS it allows me to press "add another" which then adds the tabbed panels again as a new item and the staff input the details
    My problem is the first item works perfect and all tabbs work fine, each item after that doesn't have tabbs and shows all content as one whole block
    I think it is to do with the ID and applies the java file only to item one, thats my guess.
    I have attached code below for my tabbed panels template, .js file and .css file - can anyone shed any light on this issue"
    TEMPLATE
    <style type="text/css">
    #container1 {
              width: 700px;
              background-color: #E6E6E6;
              border: .1em solid #999;
              padding-top: 5px;
              padding-right: 5px;
              padding-left: 5px;
              height: auto;
              margin-bottom: 30px;
    #item_description {
              font-family: Arial, Helvetica, sans-serif;
              font-size: 1.3em;
              color: #333;
              background-color: #FFF;
              height: 30px;
              border-bottom-width: .1em;
              border-bottom-style: dotted;
              border-bottom-color: #333;
              font-weight: bold;
              margin-bottom: 10px;
    #price {
              margin-top: 5px;
              float: right;
              width: 150px;
              background-color: #EAEAEA;
              border: 0.1em solid #CCC;
    .BOLDTEXT {
              font-weight: bold;
              text-align: center;
              color: #FFF;
    .BOLDTEXT_PRICE {
              color: #333;
    #engine_spec {
              float: left;
              width: 190px;
              font-family: Arial, Helvetica, sans-serif;
              font-size: .75em;
              border-top-style: none;
              border-right-style: none;
              border-bottom-style: none;
              border-left-style: none;
    #top_price {
              font-family: Arial, Helvetica, sans-serif;
              font-size: 1.2em;
              color: #099;
              float: right;
              width: 150px;
              font-weight: bold;
              text-align: right;
    #top_price {
              font-family: Arial, Helvetica, sans-serif;
              font-size: 1.4em;
              color: #099;
    #overview_picture {
              height: 150px;
              width: 200px;
              background-color: #CCC;
              float: left;
              margin-right: 10px;
              margin-top: 5px;
    .BOLDTEXT_blackprice {
              font-family: Arial, Helvetica, sans-serif;
              font-size: 1.4em;
              color: #099;
    #smallprint {
              font-family: Arial, Helvetica, sans-serif;
              font-size: .5em;
              color: #666;
              margin-top: 2px;
    table tr td {
              font-size: 0.75em;
              font-family: Arial, Helvetica, sans-serif;
    .specwhite {
              color: #FFF;
              font-family: Arial, Helvetica, sans-serif;
              font-size: 1em;
              font-weight: bold;
    #reserve {
              font-family: Arial, Helvetica, sans-serif;
              font-size: 1.2em;
              font-weight: bold;
              color: #FFF;
              background-color: #099;
              width: 140px;
              float: right;
              margin-top: 10px;
              padding: 5px;
              text-align: center;
              border: .1em solid #999;
    </style>
    <script src="../../../../SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
    <link href="../../../../SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
    <div id="container1">
      <div id="TabbedPanels1" class="TabbedPanels">
        <ul class="TabbedPanelsTabGroup">
          <li class="TabbedPanelsTab" tabindex="0">Overview</li>
          <li class="TabbedPanelsTab" tabindex="0">Description</li>
          <li class="TabbedPanelsTab" tabindex="0">Images</li>
          <li class="TabbedPanelsTab" tabindex="0">Specification</li>
        </ul>
        <div class="TabbedPanelsContentGroup">
          <div class="TabbedPanelsContent">
            <div id="item_description"><perch:content id="Title1" label="Title" type="text" />
              <div id="top_price">£<perch:content id="Title2" label="Top Price" type="text" /></div>
            </div>
            <div id="overview_picture"><img src="<perch:content id="photo" label="Photo" type="image" />" class="photo" /></div>
            <div class="engine_spec" id="engine_spec">
              <table width="100%" border="0" cellpadding="5" cellspacing="7">
                <tr>
                  <td width="35%" bgcolor="#EAEAEA">Year of Make</td>
                  <td width="65%" bgcolor="#999999"><strong class="spec_white"><span class="engine_spec"><span class="specwhite"><perch:content id="Title3" label="Year" type="text" /></span></span></strong></td>
                </tr>
                <tr>
                  <td bgcolor="#EAEAEA">Current Miles</td>
                  <td bgcolor="#999999" class="spec_white"><span class="specwhite"><perch:content id="Title4" label="Mileage" type="text" /></span></td>
                </tr>
                <tr>
                  <td bgcolor="#EAEAEA">Engine Size</td>
                  <td bgcolor="#999999" class="spec_white"><span class="specwhite"><perch:content id="Title5" label="Engine" type="text" /></span></td>
                </tr>
                <tr>
                  <td bgcolor="#EAEAEA">Body Colour</td>
                  <td bgcolor="#999999" class="spec_white"><span class="specwhite"><perch:content id="Title6" label="Colour" type="text" /></span></td>
                </tr>
                <tr>
                  <td bgcolor="#EAEAEA">Transmission</td>
                  <td bgcolor="#999999" class="spec_white"><span class="specwhite"><perch:content id="Title7" label="Transmission" type="text" /></span></td>
                </tr>
              </table>
            </div>
            <div id="price">
              <table width="150" border="0" cellspacing="9">
                <tr>
                  <td width="50" height="25" bgcolor="#999999" class="BOLDTEXT">WAS</td>
                  <td width="81" class="BOLDTEXT"><span class="BOLDTEXT_blackprice">£<perch:content id="Title8" label="Old Price" type="text" /></span></td>
                </tr>
                <tr>
                  <td height="25" bgcolor="#999999" class="BOLDTEXT">NOW</td>
                  <td class="BOLDTEXT"><span class="BOLDTEXT_blackprice">£<perch:content id="Title9" label="New Price" type="text" /></span></td>
                </tr>
                <tr>
                  <td height="25" bgcolor="#999999" class="BOLDTEXT">SAVE</td>
                  <td class="BOLDTEXT"><span class="BOLDTEXT_blackprice">£<perch:content id="Title9a" label="Save" type="text" /></span></td>
                </tr>
              </table>
            </div>
            <div id="reserve">Reserve Motorhome</div>
          </div>
          <div class="TabbedPanelsContent"><perch:content id="Text" label="Description" type="textarea" editor="ckeditor" html="true" /></div>
          <div class="TabbedPanelsContent"><table width="650" cellspacing="5">
      <tr>
        <td width="106" height="80" bgcolor="#CCCCCC"> </td>
        <td width="106" height="80" bgcolor="#CCCCCC"> </td>
        <td width="106" height="80" bgcolor="#CCCCCC"> </td>
        <td width="106" height="80" bgcolor="#CCCCCC"> </td>
        <td width="106" height="80" bgcolor="#CCCCCC"> </td>
      </tr>
      <tr>
        <td width="106" height="80" bgcolor="#CCCCCC"> </td>
        <td width="106" height="80" bgcolor="#CCCCCC"> </td>
        <td width="106" height="80" bgcolor="#CCCCCC"> </td>
        <td width="106" height="80" bgcolor="#CCCCCC"> </td>
        <td width="106" height="80" bgcolor="#CCCCCC"> </td>
      </tr>
      <tr>
        <td width="106" height="80" bgcolor="#CCCCCC"> </td>
        <td width="106" height="80" bgcolor="#CCCCCC"> </td>
        <td width="106" height="80" bgcolor="#CCCCCC"> </td>
        <td width="106" height="80" bgcolor="#CCCCCC"> </td>
        <td width="106" height="80" bgcolor="#CCCCCC"> </td>
      </tr>
      <tr>
        <td width="106" height="80" bgcolor="#CCCCCC"> </td>
        <td width="106" height="80" bgcolor="#CCCCCC"> </td>
        <td width="106" height="80" bgcolor="#CCCCCC"> </td>
        <td width="106" height="80" bgcolor="#CCCCCC"> </td>
        <td width="106" height="80" bgcolor="#CCCCCC"> </td>
      </tr>
      <tr>
        <td width="106" height="80" bgcolor="#CCCCCC"> </td>
        <td width="106" height="80" bgcolor="#CCCCCC"> </td>
        <td width="106" height="80" bgcolor="#CCCCCC"> </td>
        <td width="106" height="80" bgcolor="#CCCCCC"> </td>
        <td width="106" height="80" bgcolor="#CCCCCC"> </td>
      </tr>
    </table></div>
          <div class="TabbedPanelsContent"><perch:content id="Text1" label="Specification" type="textarea" editor="ckeditor" html="true" /></div>
        </div>
      </div>
    </div>
    <script type="text/javascript">
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
    </script>
    .JS file
    (function() { // BeginSpryComponent
    if (typeof Spry == "undefined") window.Spry = {}; if (!Spry.Widget) Spry.Widget = {};
    Spry.Widget.TabbedPanels = function(element, opts)
              this.element = this.getElement(element);
              this.defaultTab = 0; // Show the first panel by default.
              this.tabSelectedClass = "TabbedPanelsTabSelected";
              this.tabHoverClass = "TabbedPanelsTabHover";
              this.tabFocusedClass = "TabbedPanelsTabFocused";
              this.panelVisibleClass = "TabbedPanelsContentVisible";
              this.focusElement = null;
              this.hasFocus = false;
              this.currentTabIndex = 0;
              this.enableKeyboardNavigation = true;
              this.nextPanelKeyCode = Spry.Widget.TabbedPanels.KEY_RIGHT;
              this.previousPanelKeyCode = Spry.Widget.TabbedPanels.KEY_LEFT;
              Spry.Widget.TabbedPanels.setOptions(this, opts);
              // If the defaultTab is expressed as a number/index, convert
              // it to an element.
              if (typeof (this.defaultTab) == "number")
                        if (this.defaultTab < 0)
                                  this.defaultTab = 0;
                        else
                                  var count = this.getTabbedPanelCount();
                                  if (this.defaultTab >= count)
                                            this.defaultTab = (count > 1) ? (count - 1) : 0;
                        this.defaultTab = this.getTabs()[this.defaultTab];
              // The defaultTab property is supposed to be the tab element for the tab content
              // to show by default. The caller is allowed to pass in the element itself or the
              // element's id, so we need to convert the current value to an element if necessary.
              if (this.defaultTab)
                        this.defaultTab = this.getElement(this.defaultTab);
              this.attachBehaviors();
    Spry.Widget.TabbedPanels.prototype.getElement = function(ele)
              if (ele && typeof ele == "string")
                        return document.getElementById(ele);
              return ele;
    Spry.Widget.TabbedPanels.prototype.getElementChildren = function(element)
              var children = [];
              var child = element.firstChild;
              while (child)
                        if (child.nodeType == 1 /* Node.ELEMENT_NODE */)
                                  children.push(child);
                        child = child.nextSibling;
              return children;
    Spry.Widget.TabbedPanels.prototype.addClassName = function(ele, className)
              if (!ele || !className || (ele.className && ele.className.search(new RegExp("\\b" + className + "\\b")) != -1))
                        return;
              ele.className += (ele.className ? " " : "") + className;
    Spry.Widget.TabbedPanels.prototype.removeClassName = function(ele, className)
              if (!ele || !className || (ele.className && ele.className.search(new RegExp("\\b" + className + "\\b")) == -1))
                        return;
              ele.className = ele.className.replace(new RegExp("\\s*\\b" + className + "\\b", "g"), "");
    Spry.Widget.TabbedPanels.setOptions = function(obj, optionsObj, ignoreUndefinedProps)
              if (!optionsObj)
                        return;
              for (var optionName in optionsObj)
                        if (ignoreUndefinedProps && optionsObj[optionName] == undefined)
                                  continue;
                        obj[optionName] = optionsObj[optionName];
    Spry.Widget.TabbedPanels.prototype.getTabGroup = function()
              if (this.element)
                        var children = this.getElementChildren(this.element);
                        if (children.length)
                                  return children[0];
              return null;
    Spry.Widget.TabbedPanels.prototype.getTabs = function()
              var tabs = [];
              var tg = this.getTabGroup();
              if (tg)
                        tabs = this.getElementChildren(tg);
              return tabs;
    Spry.Widget.TabbedPanels.prototype.getContentPanelGroup = function()
              if (this.element)
                        var children = this.getElementChildren(this.element);
                        if (children.length > 1)
                                  return children[1];
              return null;
    Spry.Widget.TabbedPanels.prototype.getContentPanels = function()
              var panels = [];
              var pg = this.getContentPanelGroup();
              if (pg)
                        panels = this.getElementChildren(pg);
              return panels;
    Spry.Widget.TabbedPanels.prototype.getIndex = function(ele, arr)
              ele = this.getElement(ele);
              if (ele && arr && arr.length)
                        for (var i = 0; i < arr.length; i++)
                                  if (ele == arr[i])
                                            return i;
              return -1;
    Spry.Widget.TabbedPanels.prototype.getTabIndex = function(ele)
              var i = this.getIndex(ele, this.getTabs());
              if (i < 0)
                        i = this.getIndex(ele, this.getContentPanels());
              return i;
    Spry.Widget.TabbedPanels.prototype.getCurrentTabIndex = function()
              return this.currentTabIndex;
    Spry.Widget.TabbedPanels.prototype.getTabbedPanelCount = function(ele)
              return Math.min(this.getTabs().length, this.getContentPanels().length);
    Spry.Widget.TabbedPanels.addEventListener = function(element, eventType, handler, capture)
              try
                        if (element.addEventListener)
                                  element.addEventListener(eventType, handler, capture);
                        else if (element.attachEvent)
                                  element.attachEvent("on" + eventType, handler);
              catch (e) {}
    Spry.Widget.TabbedPanels.prototype.cancelEvent = function(e)
              if (e.preventDefault) e.preventDefault();
              else e.returnValue = false;
              if (e.stopPropagation) e.stopPropagation();
              else e.cancelBubble = true;
              return false;
    Spry.Widget.TabbedPanels.prototype.onTabClick = function(e, tab)
              this.showPanel(tab);
              return this.cancelEvent(e);
    Spry.Widget.TabbedPanels.prototype.onTabMouseOver = function(e, tab)
              this.addClassName(tab, this.tabHoverClass);
              return false;
    Spry.Widget.TabbedPanels.prototype.onTabMouseOut = function(e, tab)
              this.removeClassName(tab, this.tabHoverClass);
              return false;
    Spry.Widget.TabbedPanels.prototype.onTabFocus = function(e, tab)
              this.hasFocus = true;
              this.addClassName(tab, this.tabFocusedClass);
              return false;
    Spry.Widget.TabbedPanels.prototype.onTabBlur = function(e, tab)
              this.hasFocus = false;
              this.removeClassName(tab, this.tabFocusedClass);
              return false;
    Spry.Widget.TabbedPanels.KEY_UP = 38;
    Spry.Widget.TabbedPanels.KEY_DOWN = 40;
    Spry.Widget.TabbedPanels.KEY_LEFT = 37;
    Spry.Widget.TabbedPanels.KEY_RIGHT = 39;
    Spry.Widget.TabbedPanels.prototype.onTabKeyDown = function(e, tab)
              var key = e.keyCode;
              if (!this.hasFocus || (key != this.previousPanelKeyCode && key != this.nextPanelKeyCode))
                        return true;
              var tabs = this.getTabs();
              for (var i =0; i < tabs.length; i++)
                        if (tabs[i] == tab)
                                  var el = false;
                                  if (key == this.previousPanelKeyCode && i > 0)
                                            el = tabs[i-1];
                                  else if (key == this.nextPanelKeyCode && i < tabs.length-1)
                                            el = tabs[i+1];
                                  if (el)
                                            this.showPanel(el);
                                            el.focus();
                                            break;
              return this.cancelEvent(e);
    Spry.Widget.TabbedPanels.prototype.preorderTraversal = function(root, func)
              var stopTraversal = false;
              if (root)
                        stopTraversal = func(root);
                        if (root.hasChildNodes())
                                  var child = root.firstChild;
                                  while (!stopTraversal && child)
                                            stopTraversal = this.preorderTraversal(child, func);
                                            try { child = child.nextSibling; } catch (e) { child = null; }
              return stopTraversal;
    Spry.Widget.TabbedPanels.prototype.addPanelEventListeners = function(tab, panel)
              var self = this;
              Spry.Widget.TabbedPanels.addEventListener(tab, "click", function(e) { return self.onTabClick(e, tab); }, false);
              Spry.Widget.TabbedPanels.addEventListener(tab, "mouseover", function(e) { return self.onTabMouseOver(e, tab); }, false);
              Spry.Widget.TabbedPanels.addEventListener(tab, "mouseout", function(e) { return self.onTabMouseOut(e, tab); }, false);
              if (this.enableKeyboardNavigation)
                        // XXX: IE doesn't allow the setting of tabindex dynamically. This means we can't
                        // rely on adding the tabindex attribute if it is missing to enable keyboard navigation
                        // by default.
                        // Find the first element within the tab container that has a tabindex or the first
                        // anchor tag.
                        var tabIndexEle = null;
                        var tabAnchorEle = null;
                        this.preorderTraversal(tab, function(node) {
                                  if (node.nodeType == 1 /* NODE.ELEMENT_NODE */)
                                            var tabIndexAttr = tab.attributes.getNamedItem("tabindex");
                                            if (tabIndexAttr)
                                                      tabIndexEle = node;
                                                      return true;
                                            if (!tabAnchorEle && node.nodeName.toLowerCase() == "a")
                                                      tabAnchorEle = node;
                                  return false;
                        if (tabIndexEle)
                                  this.focusElement = tabIndexEle;
                        else if (tabAnchorEle)
                                  this.focusElement = tabAnchorEle;
                        if (this.focusElement)
                                  Spry.Widget.TabbedPanels.addEventListener(this.focusElement, "focus", function(e) { return self.onTabFocus(e, tab); }, false);
                                  Spry.Widget.TabbedPanels.addEventListener(this.focusElement, "blur", function(e) { return self.onTabBlur(e, tab); }, false);
                                  Spry.Widget.TabbedPanels.addEventListener(this.focusElement, "keydown", function(e) { return self.onTabKeyDown(e, tab); }, false);
    Spry.Widget.TabbedPanels.prototype.showPanel = function(elementOrIndex)
              var tpIndex = -1;
              if (typeof elementOrIndex == "number")
                        tpIndex = elementOrIndex;
              else // Must be the element for the tab or content panel.
                        tpIndex = this.getTabIndex(elementOrIndex);
              if (!tpIndex < 0 || tpIndex >= this.getTabbedPanelCount())
                        return;
              var tabs = this.getTabs();
              var panels = this.getContentPanels();
              var numTabbedPanels = Math.max(tabs.length, panels.length);
              for (var i = 0; i < numTabbedPanels; i++)
                        if (i != tpIndex)
                                  if (tabs[i])
                                            this.removeClassName(tabs[i], this.tabSelectedClass);
                                  if (panels[i])
                                            this.removeClassName(panels[i], this.panelVisibleClass);
                                            panels[i].style.display = "none";
              this.addClassName(tabs[tpIndex], this.tabSelectedClass);
              this.addClassName(panels[tpIndex], this.panelVisibleClass);
              panels[tpIndex].style.display = "block";
              this.currentTabIndex = tpIndex;
    Spry.Widget.TabbedPanels.prototype.attachBehaviors = function(element)
              var tabs = this.getTabs();
              var panels = this.getContentPanels();
              var panelCount = this.getTabbedPanelCount();
              for (var i = 0; i < panelCount; i++)
                        this.addPanelEventListeners(tabs[i], panels[i]);
              this.showPanel(this.defaultTab);
    })(); // EndSpryComponent
    >CSS file
    @charset "UTF-8";
    /* SpryTabbedPanels.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    /* Horizontal Tabbed Panels
    * The default style for a TabbedPanels widget places all tab buttons
    * (left aligned) above the content panel.
    /* This is the selector for the main TabbedPanels container. For our
    * default style, this container does not contribute anything visually,
    * but it is floated left to make sure that any floating or clearing done
    * with any of its child elements are contained completely within the
    * TabbedPanels container, to minimize any impact or undesireable
    * interaction with other floated elements on the page that may be used
    * for layout.
    * If you want to constrain the width of the TabbedPanels widget, set a
    * width on the TabbedPanels container. By default, the TabbedPanels widget
    * expands horizontally to fill up available space.
    * The name of the class ("TabbedPanels") used in this selector is not
    * necessary to make the widget function. You can use any class name you
    * want to style the TabbedPanels container.
    .TabbedPanels {
              overflow: hidden;
              margin: 0px;
              padding: 0px;
              clear: none;
              width: 100%; /* IE Hack to force proper layout when preceded by a paragraph. (hasLayout Bug)*/
    /* This is the selector for the TabGroup. The TabGroup container houses
    * all of the tab buttons for each tabbed panel in the widget. This container
    * does not contribute anything visually to the look of the widget for our
    * default style.
    * The name of the class ("TabbedPanelsTabGroup") used in this selector is not
    * necessary to make the widget function. You can use any class name you
    * want to style the TabGroup container.
    .TabbedPanelsTabGroup {
              margin: 0px;
              padding: 0px;
    /* This is the selector for the TabbedPanelsTab. This container houses
    * the title for the panel. This is also the tab "button" that the user clicks
    * on to activate the corresponding content panel so that it appears on top
    * of the other tabbed panels contained in the widget.
    * For our default style, each tab is positioned relatively 1 pixel down from
    * where it wold normally render. This allows each tab to overlap the content
    * panel that renders below it. Each tab is rendered with a 1 pixel bottom
    * border that has a color that matches the top border of the current content
    * panel. This gives the appearance that the tab is being drawn behind the
    * content panel.
    * The name of the class ("TabbedPanelsTab") used in this selector is not
    * necessary to make the widget function. You can use any class name you want
    * to style this tab container.
    .TabbedPanelsTab {
              position: relative;
              top: 1px;
              float: left;
              background-color: #DDD;
              list-style: none;
              -moz-user-select: none;
              -khtml-user-select: none;
              cursor: pointer;
              font-family: sans-serif;
              font-size: small;
              font-weight: bold;
              margin-top: 0px;
              margin-right: 1px;
              margin-bottom: 0px;
              margin-left: 0px;
              padding-top: 4px;
              padding-right: 10px;
              padding-left: 10px;
              padding-bottom: 4px;
    /* This selector is an example of how to change the appearnce of a tab button
    * container as the mouse enters it. The class "TabbedPanelsTabHover" is
    * programatically added and removed from the tab element as the mouse enters
    * and exits the container.
    .TabbedPanelsTabHover {
              background-color: #CCC;
    /* This selector is an example of how to change the appearance of a tab button
    * container after the user has clicked on it to activate a content panel.
    * The class "TabbedPanelsTabSelected" is programatically added and removed
    * from the tab element as the user clicks on the tab button containers in
    * the widget.
    * As mentioned above, for our default style, tab buttons are positioned
    * 1 pixel down from where it would normally render. When the tab button is
    * selected, we change its bottom border to match the background color of the
    * content panel so that it looks like the tab is part of the content panel.
    .TabbedPanelsTabSelected {
              background-color: #FFF;
              color: #333;
              border-top-color: fff;
              border-right-color: fff;
              border-bottom-color: fff;
              border-left-color: fff;
              border-color: fff;
              outline-color: fff;
    /* This selector is an example of how to make a link inside of a tab button
    * look like normal text. Users may want to use links inside of a tab button
    * so that when it gets focus, the text *inside* the tab button gets a focus
    * ring around it, instead of the focus ring around the entire tab.
    .TabbedPanelsTab a {
              color: black;
              text-decoration: none;
    /* This is the selector for the ContentGroup. The ContentGroup container houses
    * all of the content panels for each tabbed panel in the widget. For our
    * default style, this container provides the background color and borders that
    * surround the content.
    * The name of the class ("TabbedPanelsContentGroup") used in this selector is
    * not necessary to make the widget function. You can use any class name you
    * want to style the ContentGroup container.
    .TabbedPanelsContentGroup {
              clear: both;
              background-color: #F9F9F1;
              height: auto;
              margin-bottom: 3px;
              border: .1px solid #999;
    /* This is the selector for the Content panel. The Content panel holds the
    * content for a single tabbed panel. For our default style, this container
    * provides some padding, so that the content is not pushed up against the
    * widget borders.
    * The name of the class ("TabbedPanelsContent") used in this selector is
    * not necessary to make the widget function. You can use any class name you
    * want to style the Content container.
    .TabbedPanelsContent {
              overflow: hidden;
              padding: 4px;
    /* This selector is an example of how to change the appearnce of the currently
    * active container panel. The class "TabbedPanelsContentVisible" is
    * programatically added and removed from the content element as the panel
    * is activated/deactivated.
    .TabbedPanelsContentVisible {
              background-color: #FFF;
              font-family: Arial, Helvetica, sans-serif;
              font-size: 0.75em;
              color: #333;
              padding: 20px;
              clear: both;
              margin-bottom: 5px;
              height: auto;
    /* Vertical Tabbed Panels
    * The following rules override some of the default rules above so that the
    * TabbedPanels widget renders with its tab buttons along the left side of
    * the currently active content panel.
    * With the rules defined below, the only change that will have to be made
    * to switch a horizontal tabbed panels widget to a vertical tabbed panels
    * widget, is to use the "VTabbedPanels" class on the top-level widget
    * container element, instead of "TabbedPanels".
    .VTabbedPanels {
              overflow: hidden;
              zoom: 1;
    /* This selector floats the TabGroup so that the tab buttons it contains
    * render to the left of the active content panel. A border is drawn around
    * the group container to make it look like a list container.
    .VTabbedPanels .TabbedPanelsTabGroup {
              float: left;
              width: 10em;
              height: 20em;
              background-color: #EEE;
              position: relative;
              border-top: solid 1px #999;
              border-right: solid 1px #999;
              border-left: solid 1px #CCC;
              border-bottom: solid 1px #CCC;
    /* This selector disables the float property that is placed on each tab button
    * by the default TabbedPanelsTab selector rule above. It also draws a bottom
    * border for the tab. The tab button will get its left and right border from
    * the TabGroup, and its top border from the TabGroup or tab button above it.
    .VTabbedPanels .TabbedPanelsTab {
              float: none;
              margin: 0px;
              border-top: none;
              border-left: none;
              border-right: none;
    /* This selector disables the float property that is placed on each tab button
    * by the default TabbedPanelsTab selector rule above. It also draws a bottom
    * border for the tab. The tab button will get its left and right border from
    * the TabGroup, and its top border from the TabGroup or tab button above it.
    .VTabbedPanels .TabbedPanelsTabSelected {
              background-color: #EEE;
              border-bottom: solid 1px #999;
    /* This selector floats the content panels for the widget so that they
    * render to the right of the tabbed buttons.
    .VTabbedPanels .TabbedPanelsContentGroup {
              clear: none;
              float: left;
              padding: 0px;
              width: 30em;
              height: 20em;
    /* Styles for Printing */
    @media print {
    .TabbedPanels {
              overflow: visible !important;
    .TabbedPanelsContentGroup {
              display: block !important;
              overflow: visible !important;
              height: auto !important;
    .TabbedPanelsContent {
              overflow: visible !important;
              display: block !important;
              clear:both !important;
    .TabbedPanelsTab {
              overflow: visible !important;
              display: block !important;
              clear:none !important;
              height: 100%;
    #TabbedPanels1 {
              height: auto;
              padding-top: 5px;
              background-color: #EAEAEA;
              width: 700px;
    I did read this but don't know where to start: http://www.webdevforums.com/showthread.php?27428-Dreamweaver-spry-collapsible-panel-amp-re peating-regions
    Can anybody HELP PLEASE PLEASE

    I think I counted three tabbed panels in the markup, each with an ID of TabbedPanels1
    You have only one constructor that makes one instance of the tabeed panels with an ID of TabbedPanels1
    There are a couple of things that create the problem.
    There can only be one ID with the same name in a document, thus the ID's of the TabbedPanels will need to change from TabbedPanels1 for the second and third instances to TabbedPanels2 and TabbedPanels3 (or similar) respectively.
    There needs to be a constructor for each tabbed panels like
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
    var TabbedPanels2 = new Spry.Widget.TabbedPanels("TabbedPanels2");
    var TabbedPanels3 = new Spry.Widget.TabbedPanels("TabbedPanels3");
    Gramps

  • Random spacing between contents page sub headers (CS2, WINXPSP2)

    Hi,
    I'm a new user to Adobe Indesign CS2. I was creating a table of contents when I encountered this unusual problem.
    Here is
    a sample of what happens below:
    2. System
    2.4 system components
    2.4.1 Intelligence Manager features........... 9
    2.4.2 Video Manager features.................. 10
    2.4.3 File Manager features................... 11
    2.4.4 Folder compiler......................... 12
    2.4.5 Software................................ 13
    2.4.6 Keyboard................................ 14
    2.4.7 Mouse................................... 15
    All of the headers under 2.4.x should actually flow one after the other
    without any spaces in between. But I get these unusual random spaces when I update my contents table. The problem does not occur when I implement the other headers like Chapter x, Sub chapter x.x. Please help with determining what the
    problem is. I will be very grateful. By the way, I am currently using
    Adobe Indesign CS2.

    Jarren,
    Please repost in the ID forum. That is where the people that use ID hang
    out. They are the people best able to help you. This forum is for the
    most part for people have suite-wide issues.
    Mike

  • How to move a block from Content to Tab Canvas?

    Hi All,
    I've make a master and detailed blocks in an content canvas
    Now this master block has another some detailed blocks, How to put a tab canvas on this content canvas?
    that is if I created a new tab canvas it will appear in another page not in the content canvas!

    Is the Tabbed Canvas larger than the Content Canvas? Also, just to clarify, when you created the tabbed canvas - did you draw the tabbed canvas on the content canvas in the Visual Designer? If you created the tabbed canvas by adding it to the Canvas Node in the Object Navigator and then set the appropriate properties to assign the window, x/y coordinates, etc., I've seen this cause unexpected behavior. It is better to draw the tabbed canvas on the content canvas rather than add it to the Canvas node through the object navigator.
    Hope this helps,
    Craig B-)
    If a response is helpful or correct, please mark it accordingly.

  • Random underlining in content

    I've imported a Word document into the Help System I'm
    working on and it inserted
    underlines at random places throughout the content. Doesn't
    seem to be any rhyme or reason for it. I saw this before on content
    I copied/pasted from a Word document into Robohelp. I was able to
    remove it from that one, but unfortunately, this content is too
    long to manually do that.
    Any suggestions on why this is happening and what to do about
    it? Thanks!!
    Edited to add: I noticed that the text that appears
    undererlined in the browser (but not in Robohelp) was assigned
    another style "msoins0". It has underline properties. Don't know
    where this style came from...

    No track changes... However, I played around with this and
    found that when I exported the content of the help file into a Word
    document (which is how this document was created), it converted
    certain text to one of two character styles (that it created - they
    are not ones that I've seen/used before). The styles were "msodel",
    which showed strikethrough and red, and "msoins", which showed in
    black text with underline.
    To fix this problem before Iimported the document, I opened
    the Word document and modified these styles so that neither
    contained strikethrough, red or underline. Then Imported it into
    the Help Project.
    All is well, but I still don't know why it did that in the
    first place.

  • Filled colour as a variable? and setting layer to not block the content underneath?

    I wonder if it's possible to take the filled colour (filled with  myColor.setRGB(0x993366); like a colouring style) and set the colour filled to be a value of a variable in an if statement? if yes, anyone know how to do it?
    and is it possible to set a layer's content so that it does not block any button underneath it? I'm trying use that movie as a mask but I do not want it to block any activity underneath it. or is it better to use the myMovieClip .setMask ( maskMovieClip )(I don't really know how to use this) I only need the masking to appear when a specific button is pressed. Hope my english isn't too confusing. Thanks.

    Yes. If you check the documentation for the Color class you will see there is a getRGB() method which returns the value set by the setRGB() method. However it doesn't tell you what color something is, it tells you what color transform has been assigned to that object. So if you make a movie of a red square and you do this:
    var myColor:Color=new Color(myClip);
    trace(myColor.getRGB()); // traces "0"
    Which could either mean it has been tranformed to black or that it has no transform (which is the case here.)
    What you are seems more complicated than it probably needs to be. What are you actually trying to do? How are these clips having their transforms assigned? What does it mean that they are a certain color.
    As for the layer thing. I have no idea what you are talking about.
    BTW, here is something you didn't ask for. Using the on(event) type handler coding went out of style with the introduction of Flash 6 in 2002. It is a very inefficient way to code and is very difficult to maintian because you have to look through all your items to find the code. Most folks these days put the code on the timeline where it is all in one place and easier to maintain. Here is a great article about it:
    http://www.quip.net/blog/2006/flash/museum-pieces-on-and-onclipevent

  • Pullout sidebar help!  When hidden the scrollable frame blocks interactive content beneath it.

    Ok, I feel like this is one of those things that has a really easy answer and I'm just missing it but I have been kicking it around for a few weeks and can't come up with anything.
    Really basic problem:  I have a pull out sidebar for my app as a scrollable frame and it works fine.  It is the top layer of course because it has to always be available from any part of the app. 
    The issue, as I said in the title, is that even when the sidebar is hidden and you can only see the pullout tab, the entire scrollable frame is still invisibly blocking all interactive content beneath it.  So for example any buttons on that side of the app arent clickable, no video controlls, etc etc.  Anytime you click on that side of the app it thinks you are trying to manipulate the scroll frame.
    I don't know what to do!
    Thank you for any ideas.

    Redesign the page. That's simply how it works. The entire space of the frame is always live.
    Try dragging in the middle where there's no content and you'll see that the content still scrolls.
    Bob

  • Flash CS5 randomly deleting library content

    Sorry if this isn't the right sub-forum but it seemed to be the closest to my issue as far as I can see.
    Hello,
    I'm working on a  rather large project at work using CS5 Flash. The project involves  loading several .swf files at different times from a main 'hub' type  structure. Think of it as a multi-channel platform and when you click on  the channel you want, it loads the sub-swf with the videos and movie  clip contents/as code in it.
    As one can imagine, this has  cause the overall project to grow quite huge. When we open up the main  fla file that contains the library content of it's children fla's, some  files will randomly go missing.  These files are being shared over a  network with various people via a file repository system so no two  people can be working on the same file at the same time. This doesn't  appear to be the problem, nor is accidental deletion as an individual  can check out the files, work on them locally, save them locally, close  and reopen them  locally and random content will be missing again.
    We  believe that the issue may have to do with the overall size of the  fla's (the fla's range in size from 16mb to 3mb).  They will be playing  as stand alone objects, not on a website so other outside content isn't  an issue. Some of the computers being used are 64 bit system while  others are 32 but all systems have had the issue. We are also using AIR  to help with some of the functionality but this issue started before we  started using AIR.
    Any help would be appreciated. Thank you.

    Did you ever get any resolution with this issue? I am having this too, in multiple projects that aren't connected.
    I even had the same exact MCs in the library in multiple FLAs just in case this happened. When it did, I attempted to drag the MCs from one FLA (where they were NOT deleted) into one where where they WERE deleted....thinking that I would be able to hit "replace" all since the MCs were named the same....when they appeared on the stage they were empty! It wasn't until I deleted the old MCs (with the missing content) that the new ones would show up when dragged over.
    If you have ANY resolution to this please let me know. I am surprised that this isn't a major issue with more people.
    I even have this issue on different Macs using different installed software!
    So this is systemic!

Maybe you are looking for

  • What does this mean and what do I need to do to fix this?

    Hi so I was trying to back up my MacBook on my Time Machine with the Time Capsule. However it wont let me back up and displays the following message: Time Machine could not complete the backup. The backup disk image "/Volumes/DATA/Charlie Mackenzie's

  • When I'm scrolling the main song list, "T" shows up as a letter for "The"

    For example: Aaaa Abababab The Acacac Adadad You know how when you scroll down, it shows the first letter of the song you're on so you can get to a specific letter? Well, if the first word of the song is "The", that "The" is disregarded, and put wher

  • HELP !!! Discoverer Desktop/Plus Slowness

    We have a view build on wip_discrete_jobs_v and hr_all_organization_units in APPS. When the view runs it returns at a very good speed. Then we build a disco report, the first time we open the report, it took 10 seconds yesterday. However, when we try

  • Is Mobile Safari's in-app multitasking (audio stream in one tab, browsing in another) gone for good?

    I cannot remember the last iOS version this feature actually worked, but in the past, I used to be able to open a tab in Mobile Safari, begin streaming audio from a website, pinch in to bring up standard UI again, and then open up another tab within

  • SAPGUI + MAC - Error No 36

    Hi all, I cannot connect because I have the error below: Error: partner '85.36.223.36:3209' not reached Thu Feb 10 12:15:26 2011 Release 710 Component NI (network interface), version 39 rc = -10, module nibuf.cpp, line 4634 Detail NiBufIConnect: conn