Spry Panel State - open/closed ?
Hello Guys/Gals,
I don't want to re-invent the wheel here if at all possible...
Has anyone ever included the Spry Collapsible Panel in menu by PHP Includes?
Here is what I need to accomplish, the spry panels are in 1 file which is included throughout the entire site with php includes.
I need the open/closed state to be remembered - so if you open panel #2 and click a link, you end up on that page with only panel #2 open.
If the user closes that panel, then the panel is closed on any page visited.
Tracking user with cookies or what?
Can someone point me to any example code for this?
Thanks,
RD
Does this help:
http://www.spry-it.com/examples/spry-widget-cookie-history/
http://www.spry-it.com/examples/spry-widget-cookie-history/#collapsiblepanel
Similar Messages
-
Stock Statement - Opening & Closing Values
Hi Guys,
I am using the below query for opening & Closing Stock Report.
select a.ItemCode,a.Des, a.WareHouse , (SELECT (sum(t1.inqty - t1.outqty))
FROM OINM t1
WHERE (T1.DocDate < '[%1]') and (t1.itemcode = a.itemcode) and
(t1.warehouse = a.whs) ) as 'OB',
a.Price,a.inqty as 'Goods Receipt',a.outqty as 'Goods Issue',
(SELECT (sum(t1.inqty) - sum(t1.outqty))
FROM OINM t1
WHERE (T1.DocDate <= '[%2]') and
(t1.itemcode = a.itemcode) and (t1.warehouse = a.whs)) as 'Closing',
(SELECT (sum (t1.transvalue))
FROM OINM t1
WHERE (T1.DocDate <= '[%2]') and (t1.itemcode = a.itemcode) and
(t1.warehouse = a.whs)) as 'ClosingValue'
from (SELECT max(T0.[ItemCode]) as 'ItemCode',
max(T0.[Dscription]) as 'Des',sum(T0.[InQty]) as 'InQty', sum(T0.[OutQty]) 'OutQty',
t0.warehouse as 'whs' ,
(select w1.whsname from owhs w1 where w1.whscode = t0.warehouse) as 'Warehouse',
avg(T0.[Price]) as 'Price'
FROM OINM T0
inner join oitm o1 on o1.itemcode = t0.itemcode
inner join oitb o2 on o2.itmsgrpcod = o1.itmsgrpcod
WHERE (T0.[DocDate] >= '[%1]' and T0.[DocDate] <= '[%2]') and
(TransType != '10000071' and Transtype !='67' ) and
(o2.itmsgrpnam >= '[%3]' and o2.itmsgrpnam <= '[%4]' )
group by T0.[ItemCode],t0.warehouse)a
But i need some changes in the Report and below is the selection criteria,
Pls somebody help me in achieveing this.
Report 1:
Item Group: Group B
u2022 Column: Goods Issue
Field to be fetched: Invoice Qty. for the respective FG items
From Ware House No.: 02
Fetching type: Cumulative for given date range
u2022 Column: Goods Receipt
Field to be fetched: Receipt from Production for FG items
Receipt Warehouse: 02
Fetching type: Cumulative for given date range
Report 2:
For Item Groups- Accessories, Consumables & Raw materials:
Column: Goods Issue
Issue from Warehouse No.: 08 ,33
Field to be fetched: Issue for Production (BoM qty-Back-flush & Manual issue by system)
Fetching type: Cumulative for given date range
Column: Goods Receipt
Receiving Warehouse No.: 08 ,33
Field to be fetched: GRPO qty. against respective Purchase Order.
Fetching type: Cumulative for given date range
Report 3:
For Item Group-WIP
Column: Goods Issue
Issue from Warehouse No: 04,09,17,18,20,21,23,28,29,30,31,32,34,38,39,44,45,46
Fields to be fetched: All types of issues ( Issue for prodn. through Prodn.order, GI &
Inventary Transfer)
Fetching type: Cumulative for given period.
Column: Goods Receipt
Receiving Warehouse Nos:04,09,17,18,20,21,23,28,29,30,31,32,34,38,39,44,45,46
Fields to be fetched: All types of Receipt (Receipt from Prodn. through Prodn.order, GR )
Fetching Type: Cumulative for given period.
Regards,
VamsiDear Srini,
Yes of-course Tally shows OB,and Closing balance at a particular time, SAP B1 Shows them too, but in a different manner.
1. Suppose , you have given OB to SAP on 01/04/10.(which is actually the closing balance of Tally as on 31/03/10).
Under trial balance report OB Column is there.
If you are trying to populate Tally's OB of 01/04/09, You Can't.
2. Getting the OB at a particular time in SAP, depends how you are maintaining your Posting Periods.
For Closing balance in SAP, The last column -'Balance' is actually the Closing balance as on the date for you are running Trial Balance Report.
Hope this will help you.
Best Regards
Ashutosh T -
Can't get a spry panel to open inside a div
it sort of bulges everywhere...
http://www.youtube.com/watch?v=Fet7rprgo14
thanks
Marchow come you can't move the div around so the spry gets positioned where you want it on the page?
DW is not a drag & drop application. To succeed with DW, you will need to work with HTML and CSS code.
Use CSS margins, padding and float properties to align elements on your pages.
Below is a basic CSS page layout. View source to see the code.
http://alt-web.com/TEMPLATES/Basic-1-col-fixed.html
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com -
How to maintain the state(opened/closed) of a Hierarchical expanding list
Hi,
I've created a list with template "hierarchical expanding". When I click on the list node to go to a page, page related to the node appears but the tree doesn't remain expanded. It always shrinks back to the highest level.
Please suggest a solution.
Regards,
Gaurav.Hi,
use a setPropertyListener to save the row key of this select item and then restore this key as the current selected key.
Frank
Ps.: I don't ask why you call clearForRecreate() on the iterator. I am sure you have a reason. -
Spry collasible panels: open/closed
I see that it is possible to set the default state for spry
collapsible panels and have had success doing so. However,
is it possible to designate the open/closed state for each
individual panel within a Collapsible Panel Group? I can
foresee times when one or more of my panels may be empty and
therefore don't want to waste space by having them open
automatically.You can indeed.
Click into any of the panels, and the definition box above it
comes up (something like Spry Collapsible Panel:
CollapsiblePanel[number]) comes up. Click on this box (it's blue
coloured in CS3) - then the properties box at the bottom of the
screen displays the options for display and default state, as it
did when you put in the first panel.
Matt. -
How to automatically open and close collapsable spry panels?
I designed a collapsable spry panel in DW to open and close automatically, with a 10 sec delay, unless person clicks on tab to close immediately.
The spry panel opens automatically, but will only close if i click the tab.
Is there a way for the collapsable spry panels to close automatically?
[Moved to Spry forum by moderator]Arnout,
I feel certain the answer I need is in the reply you posted here, but I need a little more help to know exactly what to do. I am using a collapsible panel to show and hide a series of onload panoramic photos near the top of my page. What I want is for the collapsible panel to be open on some pages and closed on others and I want the animation of the panel closing to be seen too. I'm thinking this should be achievable with some sort of onload trigger or something. Currently I've gotten close to what I want by referencing two different .js files (one for the "open" panel state and another for the "closed" panel state), but this doesn't show the graceful animation of the panel closing. Any ideas on how to achieve what I want? Here is the url of the test site I'm developing: http://www.gregdanpartners.com/lrre2/index.html
Thanks in advance.
Dan -
Spry panel - the first panel opens by default on entering the site
The first panel is open on default, I can close it, and access the others, but whenever i go there for the first time, its open. I want vistors to see the front page with all three panels closed. http://www.diocesanministriesfund.org
Also, not a big deal, but when you close one of the panels and return to the index page, it seems like the whole page gets stuck for a second and then renders.
Any help is appreciated, as always, MaryHi Mary
In this line near the bottom of your document you have
var SpryAccordion1 = new Spry.Widget.Accordion("SpryAccordion1", {useFixedPanelHeights:false, defaultPanel:0});
This is where you have told the accordion to open the first panel. If you want all panel closed then make the default panel a non-existing panel as in
var SpryAccordion1 = new Spry.Widget.Accordion("SpryAccordion1", {useFixedPanelHeights:false, defaultPanel:-1});
Gramps -
Dear all,
Can any one explain about this error,
2014-11-02 19:19:29.58 *** Error: Could not log history/error message.(Microsoft.SqlServer.Management.LogShipping) ***
2014-11-02 19:19:29.58 *** Error: ExecuteNonQuery requires an open and available Connection. The connection's current state is closed.(System.Data) ***
2014-11-02 19:19:29.58 Deleting log backup file. File: '\\Jdccb-mis\logshipping\JDCCBPROD_20141030134512.trn', Last Write Time (UTC): '10/30/2014 1:45:13 PM'
2014-11-02 19:19:29.60 *** Error: Could not log history/error message.(Microsoft.SqlServer.Management.LogShipping) *****
This errors comes on My Secondary server during log shipping and database goes to restore mode.
satish KumarHi Krishnp,
These are the latest jobs in queue:
89 Quadro de Horários 28/6/2014 1:45 N/D Arquivar Configurações do Sistema Aguardando Processamento 0%
88 Quadro de Horários 28/6/2014 1:30 N/D Arquivar Modos de Exibição do Project Web App Aguardando Processamento 0%
87 Quadro de Horários 28/6/2014 1:00 N/D Arquivar Campos Personalizados Aguardando Processamento 0%
When I delete the last work automatically related are excluded.
Currently the queue is 406 jobs.
David Soares MCTS:MBS - MCTS - MCITP -
Front panel state of VI in subpanel
Up until last week this code has been working flawlessly ... I have been dynamically loading VIs in and out of a subpanel. While the VI is in the subpanel, the user has been interacting with it using custom events within that VI. In the process of trying to create a simpler way of keeping track of the dynamically loaded VIs from the main VI, the whole process of interacting with the dynamically loaded VIs in the subpanel has stopped working. The VIs load into the subpanel just fine, but their front panel state remains at "standard" instead of changing to "hidden". what could be preventing this? I've included a snippet from the main VI that shows how the VIs are dynamically loaded.
Attachments:
subpanel.png 75 KBHi.
Why do you open up your front panel first? remove that
Make sure the VI is running in memory. Load you VI into the Sub panel. Front Panel Windowtate should show closed by default before loading into subpanel (atleast when I clone multiple VIT's in memory and show them in a subpanel) if not configured otherwise. After loading teh state should be standard. -
Opening & Closing Stock in transit
Hi All,
I Developed an abap report for Yield Statement with opening & closing Stock Quantities.
How to Find opening & Closing For transit Stock for 641 movement.I mean how to display the current transit stocks date wise at plant level without SLOC.
I Knew that current transit stock would be in Marc Table & previous closings in March Tables.
I'm looking for the date logic with respect to displaying opening & closing dates of transit stock.Be it Date Wise Or Month Wise.
Any help would be greatly appreciated.
Thanks & Regards,
Ravi SHi Ravi,
Please find the Link below hope they are very useful to you
[Stock|Re: closing stock of a particular date]
[Stock|Tables/FM for opening/closing stock for material on given posting date]
Thanks
kalyan -
Limit Values in Open/closed Activities of BP Page
Hi,
On the BP overview page we have views displayed for 'Open Activities' and 'Closed Activiities'. By default they would display all open/closed activities. After a while this can become a lot (and slow, and not very useful).
So, there is a view (CRMV_ACC_1O_CUST) where we can customise the time frame of activities that we wish to see. Our problem is that none of the time frames there are useful to us.
We can choose, 'This Year', which is useless in January or we can choose, "Last Year', which is useless in general. What we can't choose is, 'From last year until today'. That would, of course, be entirely useful.
The entries in the customising table take the form Y-1, Y A, Y1 etc and these formulae are translated at run time to an actual date range. This is hard coded in a CASE statement in FORM build_the_query of Include LCRM_BSP_OIC_1O_SEARCHF01 so changes can only be done as a repair.
The way the standard works is that Y+-1, if run on date 20120126, will return the date range 20110101 - 20111231. This means that we won't see any open activities from January. Y A, which means current year will return the from date as 20120101, which means that we won't see open activities from December.
I read about the BAdI CRM_BP_UIU_BT, which would allow us to inject our own selection parameters; but I can't seem to work out which parameter names should be used for activity start/end dates. Pushing 'STARTDATE', 'FROM' etc result in an empty activities table being displayed.
What I would like, of course, is that Y+-1 would return 20110101 - 20120126 when executed on 20120126. Or to create a new entry such as Y*1 which would mean one year either side of the given date. I can make a repair to the standard code, but I'd rather not have to perform a repair to write my own logic for dates range.
Any other ideas? I assume we're not the only people using the 'Open Activities' view; how did the rest of you handle January?
Thanks for your time,
P.Hi,
We got an answer from OSS;
For your business requirement, in order to set up a time frame option
like 'last 12 months', you need to extend the customizing table:
"CRMT_ACC_1O_CUST". You can define your own time frame as below.
I will provide a sample for it:
***********************Creating Time Frames***************************
1. Go to Tx: SE16.
2. Enter the table TSCTFGROUP.
3. Create new records here with the following details:
(Please ensure that you enter a sort order that doesn't already exist)
APPL NAME TIMEENTITY LENGTH DEF FLAG SORT ORDER
CRM_1O_LOC M+ - 12 <blank> 14
4. Go to Tx:SE16.
5. Enter the table TSCTFGRT.
6. Create new records here with the following details:
(This table is to create the text. Please ensure that you create here
as many records as you have created in the above step 3)
LANGU APPL_NAME TIMEENTITY LENGTH TF_TEXT
EN CRM_1O_LOC M+ -12 last 12 months
7. If needed, enter the same records in other required languages also.
After this, time frame 'last 12 months' will be visible in the selection list. Now You can select this time frame in the SPRO customizing for certain business transactions. But above changes are not standard changes If you upgrade CRM landscape to higher versions/packages, you will have to transport these changes manually.
That was the answer, we've done as was suggested and things are fine now.
You can have a programmer look at
Include: LSSC_RULESF03
Form: compute_dates_f
To see how the formulae are translated at runtime.
For instance, you'll see that you can create an entry such as D365, which means 365 days before until 365 days after today. However, in the code there is no way for M or Y* to be translated; a programmer can explain that to you if required.
I hope that this helps someone at some point,
Patrick. -
Spry Navigation Column open by default page by page
So I am trying to get my spry vertical navigation complete
and my boss decides he would like to see the active panel open
depending on what section of the website you are on. So far if I
were to click on my .accordianPanelContent div the panel would
expand the navigation to show you what is inside the
.accordianPanelTab div. With the panel expanded I can click on any
of the text withing the .accordianPanelTab and it will link me to
its page. Pretty simple, right? Now this is what is complicating
and I'm not sure if it is possible. If I were to click on a link in
.accordianPanelContent or .accordianPanelTab I will be directed to
that page. Can you have that panel stay open on the page you
navigated to? This way I can set a default panel to be
automatically opened depending on what page you are on. Has anyone
attempted to do this?I have not tried to do what you are asking for, so do not
know the answer.
If it can not be done, see if your boss would like this sort
of idea
instead: not to have the current submenu open, but to have it
highlighted so folks know that is is the active menu item.
See this new
video I just made:
http://divahtml.com/products/videos/divaGPSpar_10/divaGPSpar_10.html
and if the boss is happy with that idea, then learn more
about divaGPs here:
http://divahtml.com/products/divaGPS/current_menu_location.php
E. Michael Brandt
www.divahtml.com
www.divahtml.com/products/scripts_dreamweaver_extensions.php
Standards-compliant scripts and Dreamweaver Extensions
www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia -
Refresh graph properties (colors...) when front panel not opened
I have a problem with setting the plot properties of a multiple xy-graph.
I first pass the data (n plots, number variable) to the graph control, THEN I set the according properties like color, line style etc. by a property node beginning with "active plot" followed by the properties. So when I set them, the xy-graph is already initialized with n plots.
Afterwards, I take the graph picture and save it to a bitmap-file.
That works fine as long as the front panel is opened or the number of plots and their attributes stays constant. But if the panel is closed (which is the default of that VI) and the number of plots changes, I get only as many plots plotted correctly as there are shown in the plot legend
- regardless of if the legend is shown or not.
I don't like the idea of having a huge legend on the panel which still might be too small sometimes or having the legend scaled by it's height-property in pixels.
What I need is something like a .refresh-method that forces the graph to update even if the front panel is closed. Any idea how to do this?
Cheers & thanks, DanielThe issue you are seeing is because LabVIEW doesn't update the controls/indicator of a front panel that is not open. This is done to save computer resources. The simple way around this is to use VI server to open the front panel for it to update and then close it again. You can use the VI property FP.position to move the window offscreen where it can't be seen and perform the open/close. This will get you the results you are after while still allowing the illusion of a closed front panel.
-
How to hyperlink to particular spry panel tab
I have spry panel which has 3 tabs. Everythings works fine.
When I load the page which has spry panel, the content of the
first tab is shown which is fine.
Now I am trying to make a link from another page which points
to the page which has spry panel. I can easily put the link but
what I want to do is when the link is clicked I was show the
content of third tab instead of the first tab. How do I do this?
Can someone please help me?Meant to do? Meant to do anything you can get it to do
Put this in the head of your document:
<script src="SpryAssets/SpryURLUtils.js" type="text/javascript"></script>
<script type="text/javascript">
var params = Spry.Utils.getLocationParamsAsObject();
function MM_goToURL() { //v3.0
var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
</script>
Link the SpryURLUtils.js per the first line in my quoted code.
The second script bit above calls the variable and sets up a function. Don't mess with it, just use it.
You'll have material like this in the foot of your page, just before the closing body tag:
<script type="text/javascript">
<!--
var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1", {defaultTab: params.tab ? params.tab : 0});
var Accordion1 = new Spry.Widget.Accordion("Accordion1", {defaultPanel: params.panel ? params.panel: 0});
var Accordion2 = new Spry.Widget.Accordion("Accordion2", {defaultPanel: params.panel ? params.panel: 0});
var Accordion3 = new Spry.Widget.Accordion("Accordion3", {defaultPanel: params.panel ? params.panel: 0});
//-->
</script>
These help to make your widgets work. Don't worry if you don't have what I have exactly; I copied this from one of my sites. But the
var TabbedPanels1 = etc. etc. line you WILL have. You will also have a second one if you have TWO sets of tabbed panels on your page. The first should be TabbedPanels1, the second will be TabbedPanels2, etc., etc.
Here's a quote from my site, showing a "call" or link to widgets in other parts of the page. I set my whole site (except more recent pages) as ONE page, so this should be similar to how you set up your call:
<div class="image_gallery"> <a href="?tab=5&panel=3#TabbedPanelsTab&Accordion1" title="Disappeared Children" target="_self"><img src="images/homeArgentina.gif" alt="Argentina website" /></a><br />
<em>Website (early project):<br />
“Disappeared Children: We Search for Them”</em></div>
Note the <a href... tag. You don't need a page name, because you are staying on the same page. But this calls tab 5 AND panel 3. If you look at my page www.gravenimagedesign.net, look for the fourth image from the left on the top row on the "home" screen. Click on it, and see where it takes you.
Remember that all is based on zero being the first tab, 0, 1, 2, 3, etc.
Oops, gotta go. Let me know if you need more help with this. It is something that I have to dig back into my own code to remember.
Best,
Beth -
Layer selection not tied to undo history when Effects panel is open.
Has anyone else noticed a strange behaviour with undo history when the Effects Panel is open?
Try this:
1. Have the layers, history and effects panel all visible at the same time.
2. open an image
3. duplicate the layer
4. make a new blank layer
5. grab the brush tool and paint two brush strokes on the new blank layer
6. go back to the duplicated layer below the blank layer and paint two brush strokes
7. in the history panel go back in the history states and watch the layers panel
Now close the effects panel
1. in the history panel select the last history state
2. go back in the history states
Notice a difference?
Photoshop elements 11 on a windows 8 x64 bit system.
Message title was edited by: Brett NI see the behavior and I'll log a bug report for it. Very strange, but good catch that it's the Effects panel that is the source!
27Prac, make sure the Effects panel is up, that is key. But I tested on both Windows and Mac and see it on each.
Maybe you are looking for
-
I'm going to be upgrading to Snow Leopard, but I'm concerned about backing everything up. I just got an external drive but I don't know what to do to get all of my files onto it before upgrading just in case the upgrade loses all my docs and pics. Sh
-
HI all, I'm configuring for an IDoc to be generated and downloaded to a file via a file port. This IDoc is of message type PAYEXT. The file is to be sent ot the bank via the meansa of third party software. Do I have to create logical systems for thes
-
Apple Refuses to Fix my Ipod!
I just sent my 60gb video ipod in because the screen no longer works. There are absolutely no cracks, dents, or visible scratches on my ipod. And yet! Apple said their diagnosis indicates that the "crack" on my screen has resulted from an external ca
-
Nokia 810 Contact Download Application
Hi all, I have been doing a bit of searching to try and solve the problem of my phone book not uploading between my 6210 Navigator and my Audi Bluetooth. It looks like i need to download and install Nokia 810 Contact Download Application but which is
-
Hi all, I have installed OBIEE 11.1.1.6.0 on windows xp professional sp2, as well as windows 7 prof edition sp1. In windows 7 the time taken to connect and even to expand its taking 3-5 minutes minimum where as in xp its pretty fast. both the systems