Sliding Panels: displaying active panel number, total panel count, etc.

I have an XML-generated Sliding Panels widget. How do I fetch the active panel number, total panel count, and disable Previous/Next buttons based on panel's place in the sequence?
In other words:
Panel 1 of 3   |   < Previous (disabled)   |   Next >
Panel 1 (active)
Panel 2
Panel 3

I've not seen an example of exactly what you're trying to do, but take a look at the code for this page:
http://labs.adobe.com/technologies/spry/samples/slidingpanels/SlidingPanelsFromData.html
It dynamically builds up the sliding panel from data and dynamically creates the list of numbered links based upon the number of panels.
In a quick look, there isn't a method of the Sliding panel object which tells you the index of the current panel, but you can get that by calling getCurrentPanel() and then loop over the panels which you can obtain by getContentPanels() and checking against each panel to see if it is the current panel and then that's the index of your current panel. From there you can set the "(active)" label and enable and disable the previous and next buttons, if you're at index 0, then disable previous and if your at getContentPanelsCount()-1  then you're at the end.

Similar Messages

  • Tabbed Panels displaying all content in first panel

    I'm trying to add a tabbed panels widget to my site but when it displays in browsers, the content from all of the tabs displays as a list in the first tab, and clicking the rest of the tabs does nothing.  I just put the out-of-the-box widget onto my site and that won't work either.  W3 validating only came up with one error, being: (Line 104,         Column 42:     there is no attribute "tabindex" <li class="TabbedPanelsTab" tabindex="0">Tab 1</li>)
    The page I thew the widget on to test it is http://www.herbsmithrx.com/test.asp
    What am I missing?

    You are missing the javascript constructor script, which should have been inserted on your page below your widget when you inserted the tabbed panels:
    Somehow, the script is appearing above your widget in your page. Place this code BELOW your tabbed panels widget on your page:
    <script type="text/javascript">
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
    </script>
    That should fix it right up.
    Beth

  • How do I read the actual height of the panel title bar (or actual total panel height)

    In Flex 4.5:
    I have panel which is reading panel.height as 159, however it contains a swf in a swfloader which is 400 in height so it should be more than 400.
    I need to know what the actual height of the panel is so I can scaleX and scaleY it to full screen height eg. scale=screenheight/panelHeight.
    I know the content container will be 400 (the size of the movie) but can't read the height of the titleBar, and the overall panel height is returning the wrong value.

    Spark Panels don't clip.  Maybe that's what is going on?  Also check the
    measuredHeight of the Panel.

  • Visio vsdx files don't have a hover panel display in search results

    Greetings,
    I've noticed that Visio documents with vsdx extension don't have a document icon in the search results, nor do they have a hover panel to preview the document.
    It seems like it's supposed to be there out of the box according to this article. Any thoughts?
    https://technet.microsoft.com/en-us/library/dn386874.aspx
    -Doug

    Hi,
    From your reply, you wants to get the icon for Visio document, and the steps to build a hover panel to render a Visio document.
    For the icon issue, the Visio documents with vsdx extension don't have a document icon in the search results, so we need to create icon for the Visio document.
    The following articles are about creating icon for some types of document, hope they will help:
    How to: Change the Icon for a Search Result:
    https://msdn.microsoft.com/en-us/library/office/cc789805(v=office.12).aspx
    How to display values from custom managed properties in search results - option 1:
    http://blogs.technet.com/b/tothesharepoint/archive/2013/09/11/how-to-display-values-from-custom-managed-properties-in-search-results-option-1.aspx
    For the hover panel issue, we need to create hover panel display template for Visio documents. There are three steps we need to follow:
    Decide which hover panel display template to modify
    Copy an existing hover panel display template
    Modify a hover panel display template to show values from custom managed properties
    Detailed information, please refer to the article below:
    How to display values from custom managed properties in the hover panel in SharePoint Server 2013:
    http://blogs.technet.com/b/tothesharepoint/archive/2013/09/17/how-to-display-values-from-custom-managed-properties-in-the-hover-panel-in-sharepoint-server-2013.aspx
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • HP LaserJet M1120n Multifunction Printer, control panel display

    Hi,
    Yesterday here was an electrisity cut. After that all devices worked normally, except the printer. Control panel display of the printer was out of function and control panel buttons  didn't work.
    I turned  the printer off and waited some time. After that I tried to restart the printer. I heard that the printer started, but the display didn't work though, even I waited couple of hours . How could I solve this problem and can you help me?
    BR Vesa

    Hi @Vesa57 ,
    I see that the display isn't working on the printer since you had a power outage. I will certainly do my best to help you.
    Can you still print to the printer?
    Make sure there is no damage on the power cord and that it is connected directly to a wall outlet.
    The printer shouldn't be exposed to any electric or magnetic field.
    Try another power cord, you can use a monitor power cord to test it. Just to rule that out.
    I would do a hard reset to see if that will resolve the issue.
    Leave the printer on and unplug the power cable from the printer and wall outlet for 30-60 seconds.
    Then reconnect the power cable to the printer and wall outlet rather than a surge protector.
    This ensures the printer is receiving full power and may help this situation.
    Try another wall outlet in another room, on another breaker. Just to make sure that isn't causing the issue.
    Please call our technical support at 800-474-6836 if the issue continues. If you live outside the US/Canada Region, please click the link below to get the support number for your region.
    http://www8.hp.com/us/en/contact-hp/ww-phone-assist.html
    Have a nice day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Design panel not active with php file?

    I have DW CS5 on two computers.  One one the design panel is active with a PHP file. On the other, it is not active.
    I must have a setting wrong on the one computer. What do I need to do to make the design panel active?  The code panel is fine on both.
    It is very hard to work on a PHP file when I can't see the design panel.
    Regards,
    Bill Schaepe

    The problem is that I have a number of PHP files that I need to modify the words in a form and it is hard to see what I am doing.
    You can't do this in Code view?
    On both computers, I just generate a new PHP file.  On the one computer the design panel is active and I can click design tab on it to see the design.  On the other one, I  can't click on the design panel tab to see the design.
    Both the same version revision level of DW?  Both on the same platform?  Do you have an option to click on "Design" under View on the main menu?

  • Officejet pro 8500a control panel display is all white. Any fixes? Can it be repaired?

    Control panel display is white.  Can't see any of the functions.  I know there has been alot of problems with this printer.  Has anyone gotten this display panel repaired or replaced?  Any help would be very appreciated thanks!!!

    Hi ellis056
    I'd like to help you with the display screen. There may be a firmware update for the printer, please select your printer from the list below to download and see if there is an update available.
    HP Officejet Pro 8500A e-All-in-One Printer - A910a
    HP Officejet Pro 8500A Plus e-All-in-One Printer - A910g and A910n
    How Do I Find My Model Number or Product Number?
    Also, do you have the printer connected to a wall outlet for power or a surge protector?
    Issues when Connected to an Uninterruptible Power Supply/Power Strip/Surge Protector
    In this document you will see,
    ISSUE:
    Problems or issues may arise when an HP LaserJet series printer is connected to an uninterruptible power supply (UPS), a power strip, or a surge protector
    This is not limited to Laserjet printers. 
    If you have the printer connected directly to a wall outlet, you can try doing Resetting the Printer.
    Please let me know if either of these solutions resolve the issue, thanks.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • InDesign 5.0 tools/panels not activated with mouseover/mouseclick

    The following summarizes the hardware, software, procedures and results in my attempt to resolve issues with InDesign 5.0. Suggestions would be appreciated. Thanks!
    System:
    HP EliteBook 8540W
    Intel Core i7 CPU  Q820 @ 1.73GHz 1.73 GHz
    8 GB
    64-bit Operating System
    Pen Input Available
    Wacom Intuos4 pen and mouse
    Adobe Products:
    Adobe Creative Suite 5 Master Collection, Version 5.0
    Acrobat 9.4.6
    Procedure:
    The computer system control panel > program uninstall was used to clear all Adobe products except Acrobat, AIR, Flash Player and Media Player. The Adobe CS5 Cleaner Tool for Windows was installed and run at Clean All to remove all products and installer-related files for the Creative Suite 5.0.
    The Creative Suite 5.0 was re-installed on the HP cpu using the registered program discs.
    The Adobe 7_0_4 InDesign Patch-All was downloaded from Adobe and installed.
    Result:
    Tools Panel: Selection Tool and Direct Selection Tool will not highlight with mouseover nor activate with mouseclick.
    Layers Panel: Can't click-on Layer Name to activate that Layer; individual Layer Names can't be double-clicked to rename; visability can't be toggled with mouseclick; the Create New Layer icon at bottom of panel can't be activated with a mouseclick; a New Layer can be created from the Panel upper dropdown menu; Panels location can be moved, panels opened/closed, and collapsed with mouseclick.
    Character Panel: None of the Character styling dropdowns within the panel can be activated; Character styling options can be activated from the upper right panel options triangle dropdown, and they can be activated from the Application Bar: Type > Font and Type > Size. In the Type > Font flyout panel displaying all fonts, the mouse wheel will not scroll through the fonts.
    Paragraph Panel: Can't click on paragraph alignment option icons.
    Links Panel: In Pre-flight, can't activate link list item with mouseclick.
    Stroke/Color/Swatch Panels: Can't activate any tools within these panels with mouse.                             

    Peter,
    Thank you very much. I re-set DPI to default, rebooted, and the issues I was experiencing with InDesign were gone.
    Brad

  • MSI Vivid Control Panel Display

    Greeting
    I need some help here.
    PC configuration as follows:
    CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (Code name: Manchester)
    Zaman CPU Cooler CNPS7000B-Cu
    Mortherboard: MSI K8N Diamond (BIOS Updated to 1.A)
    Graphic cards : Nvidia Geforce NX7600GT-T2D256E (2 units)
    Monitor Type : SONY SDM-HS75P DVI-D
    Ram: Cosair TWINX2048-3200C2PT (2 pcs total) @ DIMM 1&2 installed.
    Power supply: Tagan 580W, Model TG580-U15
    Disk Drive: Model : Maxtor 6V300F0 (2 units), SAMSUNG SP2504C (1 unit)
    DVD Drives, Imation DVD RW and Asus DVD Rom
    Adapter 802.11g PCI Wireless Network Adapter - Packet Scheduler Miniport
    Logitech G7 mouse
    OS: Window XP pro SP2
    Nvidia drivers installed 6.70 and forceware 91.47
    I notice "MSI Vivid Control panel" does not appears when I click on my computer ---->Control Panel ------> display. I recall previously before I reformat the harddisk, the MSI Vivid control panel with MSI clock for adjust (as can be view from this address :- http://www.msi.com.tw/html/service/techexpress/vga/vivid/page2.htm ) was present.
    SLI mode is enabled and appeared to be running normal.
    Can someone please help and share with me what I have missed installing and how I can get it back.
    Many thanks in advance for your kind assistance.
    Best Regards
    Harry

    Personally I have not messed with Vivid. So let us know what you think. If you like it maybe I will give it a go as well. LOL I have been waiting to hear what others think about it.

  • Is Cleartype able to support both RGB and BGR sub pixel panel displays at the same time?

    Hi,
    I am using 2 27' LED displays on my PC. One has RGB sub pixel, the other has BGR sub pixel.
    I have problem to tune the font using Cleartype. I have tried to tune all displays a few times and always get the following result.
    If I use the RGB one as the primary display, the font on the RGB display looks ok but the font on the BGR display looks weird after tuning using cleartype.
    If I use the BGR display as the primary, the font on the BGR display looks ok but the font on the RGB display looks weird after tuning using cleartype.
    Basicly, the after tuning with Cleartype, the font on the Primary display looks good but on the other looks weird.
    I have also tested with single display setup. i.e. connect only the RGB sub pixel display or the
    BGR sub pixel display.
    ClearType tuning works well for single display setup no matter which display I have connected.
    But once I connect the 2nd display and tune using Cleartype, the font on the Primary display looks good but on the other looks weird. (The same as above)
    To be more specific, the RGB display is Philips 278C4 (connect using HDMI), the BGR display is Dell P2714H (connect using DisplayPort. I have also tried DVI. DisplayPort or DVI give same result).
    My system is Win 8.1 Pro x64 JA-JP with all latest patches installed, and my graphic card is nVidia GTX 760, with the latest driver installed.
    I suspect this is due to one display has RGB sub pixel panel, and the other has BGR sub pixel panel, which means
    Windows ClearType need to take care both RGB and BGR for at the same time. I am not sure if this is fully supported by Windows 8.1 ClearType.
    Is there any solution or workaround to make the font on both displays looks nice?
    Thanks.

    Hi,
    Windows includes several technologies to render text on the screen. These include Windows GDI, Direct Write and Windows Presentation Foundation.
    Windows GDI is limited to using one set of ClearType settings per system
    while the other two support different settings per display.
    It depends. Most LCD screens have a RGB striping order. A very small number have a striping order of BGR.
    For more question, refer to this link:
    ClearType FAQ
    http://www.microsoft.com/typography/ClearTypeFAQ.mspx
    Kate Li
    TechNet Community Support

  • How to prevent LV "New Open Help Config" panel displaying during TS?

    what is the easiest way to prevent LV "New Open Help Config" panel displaying or being visible during TS execution?

    Hi Stephen,
    The first option you could look at is just to use the LabVIEW Run-Time Engine instead of the Development System as your LabVIEW adapter (Configure >> Adapters). This will not show the Getting Started window that pops open when you run a sequence that contains LabVIEW action steps. 
    The other option that you could look into is the window activation properties for each step found by right-clicking a step and selecting properties. Then select the Run Options tab and mess with the TestStand Activation Window drop down menu.
    Hope this helps!
    Best Regards,
    Jonathan N.
    National Instruments

  • HP LaserJet Enterprise 500 color MFP M575 control panel display

    HP LaserJet 500 color MFP M575  have no Display. and is not anymore possible access any function. What is the problem behind that ?How can we solve this issue ? is it the problem with the control panel display or the logic board ? there is no dim memmory instaled in the system . 

    Good day,
    To get your issue more exposure, I would suggest posting it in the commercial forums since your product is a commercial product. You can do this at Commercial Forums.
    Enjoy your day!
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Mac Mini to G4 iMac Flat Panel display ???

    Just scanned some pages back in this forum and couldn't see this as a topic-so I'll ask.
    I was wondering, if I had a 17" Flat Panel imac (even the 800Ghz version, or the 1Ghz or the !.25Ghz - or event the 20" [yummmmy] ) could I drive the mac mini via the iMacG4's highly versatile flat panel display ???
    [ideally I'd love to be able to re-engineer the Flat Panel's guts with smaller but faster CPU etc - and as machine innards get smaller maybe this will be possible - because the screen tilt and swivel is so versatile; eh!)]
    gregg

    Hmm - why did myinnermostthoughts sudenly become a hyperlink - or is it a hyperjump into the final frontier of cyber-computing???
    Anyway, but I had hoped to just plug a keyboard into 2005 'Twiggy" , use a VGA adaptor/er between the two machines, and use the 1.42 Ghz speed of the 'Twiggy' to display stuff (CS2 etc) on the Flat Panel's display (oxymoronic word usage here - I suppose). The Flat Panels do have an vga port - so why cant the cable go from the mac mini to the VGA port of the iMac ??? Are you saying ti's almost impossible - or are you refering to re-engineering???
    Gregg

  • Is it possible to use old Apple Flat Panel Display (62 watt power adapter) with MacBookPro 13" Mid-2012 running 10.8.4? Tried mini display to VGA cable

    Is it possible to use old Apple Flat Panel Display (62 watt power adapter) with a MacBookPro 13" Mid-2012 laptop?  Would like to use larger screen when working at home.  I have a mini display port to VGA cable and have tried to hook up the old display but it seems not to work.  When I try to activate the screen on the old display-- a window comes up in the MacBookPro and asks me if I want to shut down the computer.  What little I have read it that the MacBookPro had Thunderbolt and the old display may not be compatible?  Any assistance would be appreciated.

    quax88 wrote:
    11.09.12 22:16:06,148 ClamXavSentry[286]: scan email files
    11.09.12 22:16:06,148 ClamXavSentry[286]: I will quarantine infected files
    This doesn't have anything to do with your problem, but it will likely cause other issues with your e-mail.
    Here's my standard recommendation concerting the use of A-V software to deal with potentially infected messages:
    Never use ClamXav (or any other A-V software) to move (quarantine) or delete e-mail. It will corrupt the mailbox index which could cause loss of other e-mail and other issues with functions such as searching. It may also leave the original e-mail on your ISP's e-mail server and will be re-downloaded to your hard drive the next time you check for new mail.
    So, if you choose to "Scan e-mail content for malware and phishing" in the General Preferences, make sure you do not elect to either Quarantine or Delete infected files.
    When possibly infected e-mail files are found:
    Right-click/Control-click on either the infection or file name in the ClamXav window.
    Select "Reveal In Finder" from the pop-up menu.
    When the window opens, double-click on the file to open the message in your e-mail client application.
    Read the message and if you agree that it is junk/spam/phishing then use the e-mail client's delete button to delete it (this is especially important when the word "Heuristics" appears in the infection name).
    If you disagree and choose to retain the message, return to ClamXav and choose "Exclude From Future Scans" from the pop-up menu.
    If this is a g-mail account and those messages continue to show up after you have deleted them in the above manner, you may need to log in to webmail using your browser, go to the "All Mail" folder, find the message(s) and use the delete button there to permanently delete them from the server.
    To fix the corrupted mailbox index(es), highlight each one that was corrupted and choose Rebuild from the appropriate menu.

  • Real-time 8.6 Remote panel connection exceeds max number of licenses- with no connection​s

    I've been using the remote panel right along with no problems to connect to my Compact Fieldpoint.  This morning I accidently opened the connection twice on the same computer and tripped the "Remote panel connection exceeds max number of licenses" error.  Now it will not let me connect anymore from my computer.  I've tried clearing cookies, cache and history in Internet Explorer and rebooting my computer.  I've fired up the Remote Panel Connection Manager which shows no connections, and the NI License Information window does not show any connections which have been denied due to max # of clients being exceeded.  Is there a way to reset this without having to reboot my RT controller?  I'm running RT8.6 and LV 8.6 Full Dev System and understanding that it should come with 1 remote panel license. 
    Thanks
    maat
    LV2014

    The boss wanted to see an updated feature, so I was forced to deploy a new version and reboot.  Problem went away as I suspected it would. 
    I did manage to make the same mistake again this morning (launch the remote panel in 2 different MSIE windows) and after closing them both I could reconnect.  Must be a glitch or a bug?  It'd be interesting to see if anyone else has this problem.  For now...solved, but it would be nice to see a way to fix this without rebooting.
    Message Edited by maat on 10-22-2008 10:10 AM
    maat
    LV2014

Maybe you are looking for