Updating from Spy widgets to Jquery widgets

I have vertical tabbed panels on my website. Dreamweaver CC 14.1 does not support Spry anymore. Is there a (simple) way to change my Spry widgets to Jquery widgets?

This is the markup for Spry:
<div id="TabbedPanels1" class="VTabbedPanels">
    <ul class="TabbedPanelsTabGroup">
        <li class="TabbedPanelsTab" tabindex="0">Tab 1</li>
        <li class="TabbedPanelsTab" tabindex="0">Tab 2</li>
        <li class="TabbedPanelsTab" tabindex="0">Tab 3</li>
    </ul>
    <div class="TabbedPanelsContentGroup">
        <div class="TabbedPanelsContent">Content 1</div>
        <div class="TabbedPanelsContent">Content 2</div>
        <div class="TabbedPanelsContent">Content 3</div>
    </div>
</div>
This is the markup for jQuery:
<div id="Tabs1">
    <ul>
        <li><a href="#tabs-1">Tab 1</a></li>
        <li><a href="#tabs-2">Tab 2</a></li>
        <li><a href="#tabs-3">Tab 3</a></li>
    </ul>
    <div id="tabs-1"><p>Content 1</p></div>
    <div id="tabs-2"><p>Content 2</p></div>
    <div id="tabs-3"><p>Content 3</p>/div>
</div>
The constructors is vastly different.
Spry:
var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
jQuery:
$(function() {
    $( "#Tabs1" ).tabs();
The good part is that you can keep the content.

Similar Messages

  • Just installed OSX update and now widgets don't work

    I click on my dashboard and my widget icons all show up as black squares with a @, a music note, a cloud, and a clock. I click on them and nothing happens. How can I fix that?

    I found just one of my Widgets malfunctioning (BBCWeather Widget) and contacted the author (correct term?) yesterday. He replied this morning with a link to an updated version!
    That is one option for non-Apple widgets, but if you have many widgets misfiring, it's a tall order. And if it's the widgets that come with Tiger, then maybe try downloading and installing the appropriate 10.4.7 Combo Update from this page.
    Repair permissions before and after the update.
    iMac G4 15"/800MHz/1GB ram   Mac OS X (10.4.6)   PowerBook G4 17"/1.33 MHz/1GB ram

  • Jquery content not working after the updates from firefox

    Hi, i've realized that some of my website's banner is not working after the recent updates from firefox, whereas those website's banner is working in google chrome.
    Hope there is a solution for this as i'm using the firefox for years and wish this issues can be settle.
    The banner URL is http://www.irs.com.my/slider/index.html

    SlideDeck has a post on how to resolve this error, caused by a bug in this very old version of their library that you're using. See: [http://www.slidedeck.com/blog/firefox-20-update-and-slidedeck-js-weve-got-you-covered/ Firefox 20 update and SlideDeck.js – we’ve got you covered] for more information. As a Pro customer, you were supposed to get an email notice, but... here you are.
    I studied the script before discovering that and found two issues, but there might be more:
    (1) slidedeck.jquery.js detects Firefox 20 as Firefox 2 and halts. Note that this regex is the problem:
    firefox2:F.match(/firefox\/2/)?true:false
    (2) Starting in Firefox 16, the -moz-transform property was unprefixed, that is, you need to use transform for Firefox 16 and later.

  • Why is the new Safari (7) not letting sound be heard from Soundcloud widgets (players) on my website when the earlier Safari worked fine, and other browsers also work fine?

    Why is the new Safari (7) not letting sound be heard from Soundcloud widgets (players) on my website when the earlier Safari worked fine, and other browsers also work fine?

    Might be an incompatible extension or plugin ...
    Try troubleshooting Safari extensions and third party plugins.
    From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test. If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.
    If it's not an extensions issue, try troubleshooting third party plug-ins.
    Back to Safari > Preferences. This time select the Security tab. Deselect:  Allow all other plug-ins. Quit and relaunch Safari to test.
    If that made a difference, instructions for troubleshooting plugins here.

  • Broadcast radio station from a widget via airport

    how can import a radio station from a widget to i-tunes to broadcast via airport?? one station that i am trying to do this with is http://media.rtl.nl/yorinfm/livestream/livestreambroad.html
    thanks for any suggestions... laura
    800 MHz Power PC G4   Mac OS X (10.4.4)  

    First off, the the link you provide does not pass W3C Validation
    Also, it looks like the site is using ActiveX which will only work with Windows and Internet Explorer for Windows.
    I could not get the stream started using any of the browsers I tried.
    There is no reason to use a widget to import a radio station into iTunes. If the site used standard MPEG audio streams, it could be played automatically in iTunes and, having been played once, could be restarted directly from iTunes.
    If the site is using the proprietary Microsoft Windows media for the stream, then if ActiveX wasn't being used it would automatically play in Windows Media Player. If it uses the Windows Media Player 10 format with DRM it will never play in anything except Windows Media Player 10 for Windows. There is no way to play proprietary formats such as Windows or Real formats in iTunes.

  • Express card update and mirror widget trick for whine

    i had my logic board replaced and it significantly reduced the whine, but a slight whine remains. until i did the express card update, the mirror widget trick worked. now it only works when the mirror is on (i.e. it no longer is quiet when i close the mirror widget like it used to be). any thoughts on how to fix this or revert to old express card software??? thanks in advance.

    Actually, I didn't think of closing the lid as a quicker way to put the computer to sleep. That'll save me some time.
    The more I think about it, I really have 2 questions:
    1) What are the consequences for disabling the whine?
    -I've heard 20 minutes battery life and possibly a hotter machine...am I overworking my machine to the point that it may cause problems later down the road?
    2) Does anyone think any future updates will completely disable our tricks to get rid of the whine?

  • Controling Captivate Slide elements from flash widget

    I am creating a widget in Flash and I am able to control the captivate movie by widget. But I do not know how to control the elements (clickbox, highlightbox or images) appearing on slide.
    Is it possible to show/hide and image appearing in captivate slide from flash widget.

    I have the same issue.
    I have a button "Button_1" that I am trying to turn invisible, and have tried:
    var myRoot:MovieClip = MovieClip(root);
    var mainmov:MovieClip = MovieClip(myRoot.parent.root);
    mainmov.slide0__color_mc.Button_1.visible = false;
    Also tried:
    mainmov.Button_1.visible = false;
    Neither works.

  • Hi there is it possible to link anchor or any hyperlink from one widget card to another one?

    Hi there is it possible to link anchor or any hyperlink from one widget card to another one?
    I'm trying to make link from one page to another but it works for widget as general not specyfic card or button

    Re: How can I use an anchor to show a specific panel in a widget?
    Topic above is about my problem Sanjit. Is is possible to fix it or add some code to it?

  • Translate a tooltip from a Widget

    Hi all,
    Do you have any idea on how to translate the tooltip from a Widget like "Click to add note" show below:
    Thanks,

    Captivate 8. I don't think this is a standard Widget, so you might be right, I will have to go to the developer as I don't see this one in the Adobe Widget Gallery.
    Thanks,

  • Social App not working even after update from noki...

    nokia n8 social loading feeds.
    My wife and i have the same problem now, only last week she said my phone will not work on facebook the widget on main home screen will not load feeds at all, and the widget is now blank saying refresh all the time, so i linked the phone up to the computer and did a scan for new updates with nokia updater which you can download from nokia site.
    Its now the 4th jan and the phones still will not work even after and update from a socail app,
    nothing , facebook will load after a few pushes, and looks like its loading till it says loading feeds then it says the (wording unable to load news feeds) 

    Uninstall the social app and reboot your phone. Then go to software updates and reinstall from the offering given in the updates. I've uninstalled and reinstalled social twice and it has worked both times.
    blitZkid
    Nokia C7: Running on Nokia Belle
    "If I'm helpful in anyway, a click of appreciation on the star would be nice"

  • CAN'T UPDATE FROM 10.4 TO 10.4.11

    I GOT A CLEAN COPY OF TIGER AND THE INSTALLATION WENT WELL, BUT THE THING IS THAT WHEN
    I TRIED TO UPGRADED IT TELLS ME THERE IS AN ERRROR AND THAT ALL THE UPDATES ARE IN THE TRASH AND I ALSO TRYED TO DOWNLOAD IT FROM THE SITE. AND THE SAME THING, IT JUST SAYS THAT THERE SOME ERROR AND TO TRY AGAIN.
    I GOT A POWER MAC G4 1.25 2G'S RAM 80GB HDD
    CAN YOU GUYS HELP ME??

    I respectfully disagree with Silver Edge's suggestion, and just to expand on BDAqua's good advice:
    There are no guarantees, but following this procedure when installing updates and upgrades on your Mac, or even re-installing them, will go a long way towards avoiding unpleasant after effects and ‘post-update stress disorder’.
    It is also worth noting that it is an extreme rarity for updates to cause upsets to your system, as they have all been extensively beta-tested, but they may well reveal pre-existing ones, particularly those of which you may have been unaware. If you are actually aware of any glitches, make sure they are fixed before proceeding further.
    So before you do anything else:
    If you can, make a full backup first.
    Turn off sleep mode for both screen and hard disk.
    Disconnect all peripherals except your keyboard and mouse.
    1. Repair Permissions (in Disk Utility)
    2. Verify the state of your hard disk using Disk Utility. If any faults are reported, restart from your install disk (holding down the C key), go to Disk Utility, and repair your startup disk. Restart again to get back to your startup disk.
    At least you can now be reasonably certain that your system does not contain any obvious faults that might cause an update/upgrade to fail.
    3. Download the correct version of the COMBO update from the Apple download site. If your car runs on gasoline you would not want to fill the tank with diesel, so don’t try to install the PPC updater on an Intel Mac!
    The 10.4.11 Combo Updater for PPC Macs is here: http://www.apple.com/downloads/macosx/apple/macosx_updates/macosx10411comboupdat eppc.html
    And for Intel Macs: http://www.apple.com/downloads/macosx/apple/macosx_updates/macosx10411comboupdat eintel.html
    If you prefer to download updates via Software Update in the Apple menu (which would ensure that the correct version for your Mac was being downloaded), it is not recommended to allow SU to install major (or even minor) updates automatically. Set Software Update to just download the updater without immediately installing it. There is always the possibility that the combined download and install (which can be a lengthy process) might be interrupted by a power outage or your cat walking across the keyboard, and an interrupted install will almost certainly cause havoc. Once it is downloaded, you can install at a time that suits you. You should make a backup copy of the updater on a CD in case you ever need a reinstall.
    More information on using Software Updater here:
    http://support.apple.com/kb/HT1338
    Using the Combo updater ensures that all system files changed since the original 10.4.0 are included, and any that may have been missed out or subsequently damaged will be repaired. The Delta updater, although a temptingly smaller download, only takes you from the previous version to the new one, i.e. for example from 10.4.10 to 10.4.11. Software Update will generally download the Delta updater only. The preferable Combo updater needs to be downloaded from Apple's download site.
    Now proceed as follows:
    4. Close all applications.
    5. Unplug all peripherals except your keyboard and mouse.
    6. Install the update/upgrade. Do not under any circumstances interrupt this procedure. Do not do anything else on your computer while it is installing. Be patient.
    7. When it ask for a restart to complete the installation, click restart. This can take longer than normal, there are probably thousands of files to overwrite and place in the correct location. Do nothing while this is going on.
    8. Once your Mac is awake, repair permissions again, and you should be good to go!
    If your Mac seems slightly sluggish or ‘different’, perform a second restart. It can’t hurt and is sometimes efficacious!
    9. Open a few of your most used applications and check that all is OK. In this connection please remember that not all manufacturers of third party applications and plug-ins, add-ons, haxies etc, will have had time to do any necessary rewrites to their software to make them 10.4.10. compliant. Give them a weeks or two while you regularly check their websites for updates. This applies particularly to plug-ins for Safari 3.
    N.B. Do not attempt to install two different updates at the same time as each may have different routines and requirements. Follow the above recommendations for each update in turn.
    Lastly, Apple's own article on the subject of Software Update may also be useful reading:
    http://docs.info.apple.com/article.html?artnum=106695
    If you are updating Safari (or just have):
    Input Managers from third parties can do as much harm as good. They use a security loophole to reach right into your applications' code and change that code as the application starts up. If you have installed an OS update and Safari is crashing, the very first thing to do is clear out your InputManagers folders (both in your own Library and in the top-level /Library), log out and log back in, and try again.
    So, disable all third party add-ons before updating Safari, as they may not have been updated yet for the new version. Add them back one by one. If something goes awry, remove it again and check on the software manufacturer's website for news of an update to match your version of Safari. Remember: Tiger up to 10.4.10 used Safari 2.0.4 or, if you downloaded it, Safari 3.0.3 beta. Safari 10.4.11 used Safari 3.0.4 which was not a beta. If Safari 3.1.1 on 10.4.11 is not the fastest browser you have ever used, then something is wrong!
    Moreover, trying to revert to Safari 3.0.4 (or worse still, version 2) when running 10.4.11 or 10.5 can have repercussions, as Safari 3.1.1 uses a completely different webkit on which other applications like iChat, Mail and Dashboard Widgets etc also rely, and may entail you having to reinstall an earlier operating system.
    Most errors reported here after an update are due to an unrepaired or undetected inherent fault in the system, and/or a third party ad-on. Two such add-on that have been frequently mentioned here for causing such problems are Piclens and Pithhelmet. If you have them, trash them.
    Additional tips on software installation here:
    http://docs.info.apple.com/article.html?artnum=106692
    To reiterate, Input Managers reach right into an application and alter its code. This puts the behavior of the affected application outside the control and responsibility of its developers: a recipe for problems. That's not to say that issues absolutely will ensue as a result of Input Managers, but you, as a user, must decide. If the functionality of a specific Input Manager or set thereof is really important to you, you may well choose to assume the associated risk.
    Again, the advice is to remove all Input Managers from the following directories:
    • /Library/InputManagers
    • ~/Library/InputManagers
    especially prior to system updates (they can always be added back one-by-one later).

  • Updating from 10.4.7 to...10.4.8? or 9, I don't know what's out.

    I'm running 10.4.7 right now, I'm thinking I'm finally going to update to 10.4.8 or whatever. How should I go about this? I have 11 updates right now, most of them software updates, two of them firmware updates, and one of them the update from 10.4.7. Should i just hit update for all of them, or do i need to mess with the 10.4.7 update first, before the firmware and software updates? Hope you understand what I'm asking, I have multiple updates to run, and i don't know in which order I should do them. Also I don't know if there is any kind of maintenance I should do before I update, to ensure the process goes smoothly and doesn't mess anything up.
    Thanks

    forgive me if i'm being overly cautious about the exact way i should go about this
    You are quite right to be. I would install them one at a time.
    There are no guarantees, but following this procedure when installing updates and upgrades on your Mac will go a long way towards avoiding unpleasant after effects and ‘post-update stress disorder’.
    It is also worth noting that it is an extreme rarity for updates to cause upsets to your system, but they may well reveal pre-existing ones, particularly those of which you may have been unaware. If you are actually aware of any glitches, make sure they are fixed before proceeding further.
    So before you do anything else:
    If you can, make a full backup first.
    Turn off sleep mode for both screen and hard disk.
    1. Repair Permissions (in Disk Utility)
    2. Verify the state of your hard disk using Disk Utility. If any faults are reported, restart from your install disk (holding down the C key), go to Disk Utility, and repair your startup disk. Restart again to get back to your startup disk.
    At least you can now be reasonably certain that your system does not contain any obvious faults that might cause an update/upgrade to fail.
    3. Download the correct version of the COMBO update from the Apple download site. If your car runs on gasoline you would not want to fill the tank with diesel, so don’t try to install the PPC updater on an Intel Mac!
    If you prefer to download updates via Software Update in the Apple menu (which would ensure that the correct version for your Mac was being downloaded), it is not recommended to allow SU to install major (or even minor) updates automatically. Set Software Update to just download the updater without immediately installing it. There is always the possibility that the combined download and install (which can be a lengthy process) might be interrupted by a power outage or your cat walking across the keyboard, and an interrupted install will almost certainly cause havoc. Once it is downloaded, you can install at a time that suits you. You should make a backup copy of the updater on a CD in case you ever need a reinstall.
    Using the Combo updater ensures that all system files changed since the original 10.4.0 are included, and any that may have been missed out or subsequently damaged will be repaired. The Delta updater, although a temptingly smaller download, only takes you from the previous version to the new one, i.e. for example from 10.4.9 to 10.4.10. Software Update will generally download the Delta updater only. The preferable Combo updater needs to be downloaded from Apple's download site.
    Now proceed as follows:
    4. Close all applications.
    5. Unplug all peripherals except your keyboard and mouse.
    6. Install the update/upgrade. Do not under any circumstances interrupt this procedure. Do not do anything else on your computer while it is installing. Be patient.
    7. When it ask for a restart to complete the installation, click restart. This can take longer than normal, there are probably thousands of files to overwrite and place in the correct location. Do nothing while this is going on.
    8. Once your Mac is awake, repair permissions again, and you should be good to go!
    If your Mac seems slightly sluggish or ‘different’, perform a second restart. It can’t hurt and is sometimes efficacious!
    9. Open a few of your most used applications and check that all is OK. In this connection please remember that not all manufacturers of third party applications and plug-ins, add-ons, haxies etc, will have had time to do any necessary rewrites to their software to make them 10.4.10. compliant. Give them a weeks or two while you regularly check their websites for updates. This applies particularly to plug-ins for Safari 3.
    N.B. Do not attempt to install two different updates at the same time as each may have different routines and requirements. Follow the above recommendations for each update in turn.
    Lastly, Apple's own article on the subject of Software Update may also be useful reading:
    http://docs.info.apple.com/article.html?artnum=106695
    If you are updating Safari (or just have):
    Input Managers from third parties can do as much harm as good. They use a security loophole to reach right into your applications' code and change that code as the application starts up. If you have installed 10.4.11 and Safari is crashing, the very first thing to do is clear out your InputManagers folders (both in your own Library and in the top-level /Library), log out and log back in, and try again.
    So, disable all third party add-ons before updating Safari, as they may not have been updated yet for the new version. Add them back one by one. If something goes awry, remove it again and check on the software manufacturer's website for news of an update to match your version of Safari. Remember: Tiger up to 10.4.10 used Safari 2.0.4 or, if you downloaded it, Safari 3.0.3 beta. Safari 10.4.11 uses Safari 3.0.4 which is not a beta. If Safari 3.0.4 on 10.4.11 is not the fastest browser you have ever used, then something is wrong!
    Moreover, trying to revert to Safari 2 when running 10.4.11 can have repercussions, as Safari 3.0.4 uses a completely different webkit on which other applications like iChat, Mail and Dashboard Widgets etc also rely.
    Most errors reported here after an update are due to an unrepaired or undetected inherent fault in the system, and/or a third party ad-on. Two such add-on that have been frequently mentioned here for causing such problems are Piclens and Pithhelmet. If you have them, trash them.

  • Update from Edge 2.0 to 3.0 messed up drag and drop

    Greetings,
    Win7, Edge 3.0
    I just updated from Edge 2.0 to 3.0 and now my previously working drag and drop doesn't work.
    This is the code I have in Stage > creationComplete...
    yepnope({nope:['jquery-ui.min.js','jquery.ui.touch-punch.min.js'],complete: init});
    //when yepnope has loaded everything execute init();
    //sym.$('parentIcon').css({
          function init(){
        //Use the code! Draggable! Droppable!!
        sym.$('parentIcon').draggable({revert:'invalid', cursor:"pointer"});
        //Droppable... on the target!
        sym.$('stepsDirectionsBox').droppable({
           accept: sym.$('parentIcon'),   
            drop: function() {
                sym.play('open');
    It worked in the past, but now it doesn't.
    Thanks for any help,
    R

    Your corrected file here: https://app.box.com/s/gnmctk8gjnydzgbsj6bc
    you need to remove function init() line and last }
    leave only this:
    sym.$('draggable').draggable({revert:'invalid', cursor:"pointer"});
        //Droppable... on the target!
        sym.$('droppable').droppable({
           accept: sym.$('parentIcon'),   
            drop: function() {
                sym.play("correct");
    Check out my sample on edgeHero:
    http://www.edgehero.com/tutorials/draganddrop

  • Page from Sample - Mobile Starters - jQuery Mobile with theme not working on mobile

    I created a new webpage - New - Page from Sample - Mobile Starters - Jquery Mobile with Theme and did not modify it.
    That does not work on an iPhone or Android.
    What am I missing? Is there an update to make the jquery mobilesite work?
    This is how it looks in dreamweaver
    http://ricston.com/push/test/screenshot_dreamweaver.png
    This is how it looks on my phone:
    http://ricston.com/push/test/screenshot_galaxy.png
    The page for the template is here http://ricston.com/push/test/test.html - As you can see, nothing has been changed.

    Thank you.  I was having the exact same problem.  I even upoaded the unmodified starter page, just in case it was something I did.  Inserting the viewport line fixed it.  (Now I need to go back and insert that line into each of the pages I was working on.)
    The question remains, however, as to why the mobile starter pages don't include that line in the first place.
    [edit] FYI - On Dreamweaver CC, it's under the "common" group within "insert".  (I would have expected it under "JQuery Mobile", but it's not there.)

  • How to update from 4.9 to 5.5

    How do i update from 4.9 to 5.5? I have tried to get the update through Tools-Get Updates, but that says could not be downloaded, ty again later. Tech Support says to buy online or at store(Staples, etc).
    How do I proceed?
    thanks
    Chris P. 
    Network Magic Ver.: 5.5.9195.0-Pure0; Connection: Brighthouse Road Runner; Modem: Linksys; Router: Linksys WRT54G; Firmware: 4.21; XP Home SP 3 Laptop: Wireless; XP Home SP 3 Desktop: Wired; Norton Internet Security 2009; Spy Sweeper 6.1
    Solved!
    Go to Solution.

    Hi Retired07, 5.5 is a paid upgrade ($25) for 4.9 users.  Before upgrading, please note that 5.5 does not support Net2Go, and if you need to use Net2Go, you should make sure the computer that uses Net2Go on your network does not get updated to 5.5, you can intermix 4.9 and 5.5 systems on your network.
    To upgrade, follow these instructions:
    1. Write down your actviation key (In Help>About), you will need it.
    2. Go to http://store.purenetworks.com/storefront/add-to-cart-simple.ep?skuCode=NMPU&qty=1 and type in your product key to purchase the upgrade.
    3. Uninstall NM 4.9 on the computers you want to upgrade 5.5 to.
    4. After the reboot, delete the Network Magic Directory in c:/Program Files/Pure Networks, delete temp files and run disk clean up, reboot again.
    5. Go to http://www.purenetworks.com/download/thankyou.php to download NM 5.5
    6. After the inital setup wizard, go to Tools>Actviate and enter in your actviation key, use the network map to remotely actviate your other newly upgraded 5.5 systems.
    I know there are a lot of steps there but upgrading from 4.9 to any 5.x release has been a problem for some users in the past, thats why I recomend a clean install of NM 5.x on systems that have had 4.9 installed.
    My Cisco Network Magic Configuration:
    Router: D-Link WBR-2310 A1 FW:1.04, connected to Comcast High Speed Internet
    Desktop, iMac: NM is on the Windows Partition, using Boot camp to access Windows, Windows 7 Pro 32-bit RTM, Broadcom Wireless N Card, McAfee Personal Firewall 2009,
    Mac Partition of the iMac is using Mac OS X 10.6.1 Snow Leopard
    Laptop: Windows XP Pro SP3, Intel PRO/Wireless 2200BG, McAfee Personal Firewall 2008
    Please note that though I am a beta tester for Network Magic, I am not a employee of Linksys/Cisco and am volunteering my time here to help other NM users.

Maybe you are looking for

  • SanDisk ImageMate works on Vista, but not on Leopard

    I bought an iMac when my old Windows XP machine from Dell died last Christmas, and am mostly very pleased with it. I used Boot Camp to install Vista Home Basic on it also, because I still needed to run some Windows software. I recently acquired a dig

  • Alerts for Marketing Attributes in CRM 2007

    Hi We are using CRM 2007 and we have marketing attributes maintained on the Sold-to party business partner. We want this marketing attribute to be displayed in the interaction center when the agent confirms the account. How to configure Alerts (Inten

  • Which is better in performance Double + "" or Double.toString() ?

    Can anyone let me know which of these will be performance effective for converting a Double to String: 1. Double + "" 2. Double.toString() ?

  • Restrict program access ( only three user at a time)

    Hi I want to restrict the program only two users at a time ( with out using authorization object ). Thanks & Regards, K.Gunasekar.

  • Add Custom Color to pie-chart

    I have requirement to add specific color to each element in pie-chart. Below is my code for pie-chart with static json. Instead of the default colors given by the viz charts, I want to have red, green, orange and blue color in the pie-chart. Has some