Spry data set question
I have a question to anyone who is familiar with the data sets spry - a link below for the example I use:
http://www.thecreativeadvantage.com/clientzone/ca_portfolio_test/print.html
The source of the dataset is:
http://www.thecreativeadvantage.com/clientzone/ca_portfolio_test/print_source.html
----------------------------------------------------------------
My question is:
Is it possible to make the first button appear 'active' when the page opens. For example, each button corresponds to a State of 'Black' when it is not active, a reddish "stable" condition and a dark gray "active" State. All the buttons are black 'inactive' when the page opens, but the first description of the image and it is visible, then I would be the first button to appear 'active' (gray dark instead of black).
The way it is now, if you click the first link after the page opens, the button changes to the 'active' State and/or colour, but its content does not change it looks like a mistake...
Any help would be greatly appreciated - Please note: this is a demo page, I'm trying, please disregard the appearance and content - just trying to get the feature...
Thank you very much!
Jesse
----------------------------------------------------------------
The associated style sheet is less necessary:
@charset "UTF-8";
/ * SpryMasterDetail.css * /.
/ * Copyright (c) 2007. Adobe Systems Incorporated. All rights reserved. */
/ * This is the selector for the main container of master-detail structure.
*
* If you want to limit the width of the structure, master-detail, set a width on
* the master/detail container. By default, our structure expands horizontally to fill
* a space available.
*/
. MasterDetail
{
font: 12px Verdana, Geneva, without serif.
margin: 2px;
}
/ * This is the selector for the master container element that houses all the MasterColumn
* classes. By default the column Captain occupy about 35% of the width of the
* whole structure.
*/
. MasterDetail. MasterContainer
{
background-color: #cccccc;
border: 1px solid gray;
Width: 250px;
float: left;
overflow: hidden;
}
/ * This is the selector for an element master column that contains data for
* a main column.
*/
. MasterDetail. MasterColumn
{
do-size: 11px;
/ * background-color: #000000; * /
Background: url (.. / images/rollover.gif) no-repeat;
text-indent: 20px;
color: white;
Width: 250px;
height: 10px;
padding: 5px;
cursor: pointer;
}
/ * This is the selector for an element highlighted in the main column.
*/
. MasterDetail. MasterColumnHover
{
/ * background-color: #1e1e1e; * /
Background: url (.. / images/rollover.gif)-250px 0px;
color: white;
}
/ * This is the selector for an element selected in the main column.
*/
. MasterDetail. MasterColumnSelected
{
/ * background-color: #464646; * /
Background: url (.. / images/rollover.gif)-500 px 0px;
color: white;
}
/ * This is the selector for the element of retail container containing all the DetailColumn
* classes. By default, the Details column occupy about 60% of the width of the
* whole structure.
*/
. MasterDetail. DetailContainer
{
border: 1px solid gray;
background-color: #ffffff;
padding: 10px;
Width: 500px;
/ * float: right; * /
overflow: auto;
}
/ * This is the selector for an element of detail column that contains data for
* a detail column.
*/
. MasterDetail. DetailColumn
{
margin-bottom: 1px;
}
I could be wrong, and right, you might get your answer here, but isn't the Spry forum here >?
Tags: Dreamweaver
Similar Questions
-
I watched the two videos and it looks very simple and easy create a Spry data set. I imported my CSV data into a table in a table and have an html page showing all my data in a table like in the videos. When I start the process of 'Insert Spry Dataset' I select this html table as my data file, I get an error message that says: it takes a unique id. Although no other information I looked at including two videos say is that 'unique id' or how to create one or the fact that I really need one. The exact error message is "no selectable items found.
Make sure that you have assigned ID for the items you want to select. I even created a table from scratch, thinking imports has created a problem. Same error message and the result. Read the help file basically said the same thing. I found nothing that says what he meant by "unique id".
TIA
two
tags at the beginning of the code with only a closing
at the end.Change
TO
Or convert the table to xml and use xml DataSet
-
I have a large set of data created with Spry in Dreamweaver CS6 and want to scroll in rows. Put a Div inside the data set and adding the overflow/ScrollBars property adds a scroll bar that includes the header of the data set and who is compensated. Is it possible to create a scroll bar that scrolls all lines except the header and is not compensated for that?
Table of vertical Scrolling.
Fixed the Table header - http://alt-web.com/
Nancy O.
-
Hand cursor with the line of the Spry data set
I carefully built a Spry - a table - with a corresponding region of detail data set, following the instructions in the Adobe video workshop. Everything works, including the row headers clickable to use lines and activation of the changes in the retail area. BUT I can't get the hand cursor appears (at the place of arrow or the sliders of the i-beam) on interactive areas. Tried creating null links (href = "#") to activate the hot words (it works) but which causes actual links on the page to insert the root of my site in front of the URL to other sites.
Here's the example page
I looked at the code on the model and may not know what I am doing wrong.
Help! and thank you.I carefully built a Spry - a table - with a corresponding region of detail data set, following the instructions in the Adobe video workshop. Everything works, including the row headers clickable to use lines and activation of the changes in the retail area. BUT I can't get the hand cursor appears (at the place of arrow or the sliders of the i-beam) on interactive areas. Tried creating null links (href = "#") to activate the hot words (it works) but which causes actual links on the page to insert the root of my site in front of the URL to other sites.
Here's the example page
I looked at the code on the model and may not know what I am doing wrong.Help! and thank you.
-
Default sort order Spry data set
I have implemented a Spry table in Dreamweaver with two columns sortable and wants to control the sort order until the user calls a kind. (Example: www.gregorys.org) Is this possible?
You must place the Builder at the bottom of your document, just above the closing body tag (). The constructor is
var dsDestiList = new Spry.Data.HTMLDataSet("Destdata.html", "DestData", {firstRowAsHeaders: false, sortOnLoad: "VIEW", sortOrderOnLoad: "ascending", columnNames: ['DATE', 'PLACE', 'VIEW']});
var dsHike = new Spry.Data.HTMLDataSet("Hikedata.html", "DestData", {firstRowAsHeaders: false, sortOnLoad: "VIEW", sortOrderOnLoad: "ascending", columnNames: ['DATE', 'PLACE', 'VIEW']});
The sort order is / can be adjusted in the constructor.
Although the datasets in Spry are robust and can be used even today, I agree with Nancy that Spry is disgraced because there has been no updates/upgrade since its inception in 2006, 10 years ago. Having said that, apart from using other tools like jQuery plugin: Tablesorter 2.0, I don't know all other equivalent to the use of SpryHTMLDataSets.
-
Add icon w/link to the table of the Spry data set
I placed an icon inside a table data cell, then tried to give him a hyperlink to a clip. However, the link appeared as underlined text in the cell of the table under the icon.
Then I tried to type the HTML code in code view, and this is what it looked like. It also did not work the display page:
"< td align ="center"> < img src =" graphics/speaker.jpg"width ="29"height ="30"/ > < img src =" graphics/movie.jpg "a href="graphics/melanoma1.wmv"/ > < table >
How I would make the icon itself launch the WMV clip?
Thank you!
How I would make the icon itself launch the WMV clip?
By using the appropriate syntax.
If you do not border link Hypertext for image links, add this to your CSS:
an img {border: none ;}}
--
Mark A. Boyd
Keep-on-Learnine :-) -
Using XML Export to create dynamic Spry data sets
I followed this tutorial
http://www.Adobe.com/devnet/Dreamweaver/articles/spry_xml_export_03.html
And the end result looks like this
http://www.Adobe.com/devnet/Dreamweaver/articles/spry_xml_export/fig04.gif
Mine looks like this
http://76.163.23.86/export.php
That is to say all the data is just print line after line
Any ideas?
Thank you
Hurst VanroojSorry about this I've been viewing in SAFARI but in Firefox, it works!
Bizare!
Hurst Vanrooj
-
I create a kind of image gallery. I'm trying to change an example provided by David Powers in his book The Essential Guide to Dreamweaver CS3, in chapter 19. I can get his example works very well. Then when I try to edit it, I get where the last step. She leaves work when I put in the code to bring up the menu drop-down functional. When I do this, all the photos disappear from the page, the miniatures and the main image with its legend. I believe that my files xml is correct, my code is his example, except the names of xml tags, etc., which must be different to give a meaning to my page. I don't see what I'm doing wrong.
I did a search on this forum and help a general search on google for the spry data set, but cannot find the help I need.
I put this page up at lakesareacc.com/facilitiesg2.php. I can post all the relevant files here if necessary.
I spent about 3 days trying to get this to work. Any help is greatly appreciated.
MikeMike-H wrote:
> When to create the dsRoom dataset, spry does not know or remember that
> dsFacility is located in the xml directory, based on its definition in the
> previous line?No, it has nothing to do with it. dsFacility::@file contains the value
attribute of file in the label of each piece. So this is '{dsFacility::@file} '.
simply kitchen.xml or something else. You must add the path to the variable
inside the file or in the XMLDataSet() constructor attribute as I
have done so.--
David powers
Adobe, Dreamweaver community expert
http://foundationphp.com -
Make the spry data in a hyperlink?
I use a Spry data set that uses a doc xml created by another program. What I want to do is make this: < td > {name} < table > wise into a hyperlink like www.somesite\name\anotherpage.htm where the name is taken from repeating data in line with the table...?
Any suggestions?
TIA!
In the markup, use the anchor tag as in
http://www.somesite/name/ {name} .htm "> {name}"
-
HTML SPRY CS4 Scrollable data set (Frames)?
I have created a page with 50 + items on it and want to use the Spry HTML data set to display info. On the left would be thumbnails of each of the elements. On the right would be a detailed record. Although the standard master/detail layout can display the info, when you scroll down the page to display thumbnails located lower in the list, the right detail record is no longer visible.
How can I 'freeze' the right with detail information as I navigate to the bottom of the list of thumbnails on the left (if the users can see the information of detail immediately when you click on the thumbnail)?
I tried to use frames, but I can't figure out how to get the left frame to talk to the right frame when I click on a thumbnail.
Give the item that contains the thumbnails (or add a new intermediate container) overflow: scroll. You may also want to or need to give it a height.
HTH,
Randy
-
Import of lvm to express signal does not lead to consistent data set
When you import a file of lvm captured in a VI, SignalExpress visualizes as dozens of data points separated rather than a set of waveform data. Anyone know if there is a problem with the way I am that capture/storage of the data, or is - what a questions at the end of SignalExpress with handling data? One of the files of lvm header is shown below:
LabVIEW measurement
Writer_Version 2
Reader_Version 1
Tab splitter
Decimal_Separator.
No. Multi_Headings
X_Columns one
Time_Pref RelativeThank you
Andy
p.s. that's using LabVIEW 8.6 and SignalExpress 3.0
Hi Andy,.
I opened file lvm in Signal Express and saw the same thing you knew. I had a look in the file in the header properties and noticed that the number of samples has been set to 1. I've changed that to 1276 like you who have many data points and they are all now showing on one data set. So, it seems that is trying to create a set of data for each data item in the file lvm. Try changing the number of samples in 1276 and let me know if this is the correct waveform, you need to see.
Kind regards
Jas.W
-
presentation of the State - side by side data sets
Hello together,
Unfortunately I couldn t find a solution to my problem in the forum.
So I start a new discussion.
I want to change the presentation of a report.
The default layout looks like this:
data set 1
data set 2
DataSet 3
DataSet 4
data set 5
DataSet 6
DataSet 7
I would like to change the layout like this:
DataSet dataset DataSet 1 3 2
DataSet dataset DataSet 4 6 5
DataSet 7
Data sets should be placed side by side.
Is it possible?
Thanks in advance,
Patrick
PatrickL says:
Hello together,
Unfortunately I couldn t find a solution to my problem in the forum.
So I start a new discussion.
I want to change the presentation of a report.
The default layout looks like this:
data set 1
data set 2
DataSet 3
DataSet 4
data set 5
DataSet 6
DataSet 7
I would like to change the layout like this:
DataSet dataset DataSet 1 3 2
DataSet dataset DataSet 4 6 5
DataSet 7
Data sets should be placed side by side.
Is it possible?
Always include the information referred to in the Re: how to get the answers from the forum by asking a question.
This can be done by using a standard report with custom report and CSS model.
-
Date setting through form, taken wrongly by reports
Hello seniors...
I'm passing 2 parameter date of my Form6i in Report6i.
format mask of the FRM_DATE and UPTO_DATE fields on the form is "MM/DD/RRRR.
ADD_PARAMETER (PARAM_ID, 'P_FRM_DATE', TEXT_PARAMETER,: FRM_DATE);
ADD_PARAMETER(PARAM_ID,'P_UPTO_DATE',TEXT_PARAMETER,:UPTO_DATE);
for example, if I go FRM_DATE = 01/01/2000 and UPTO_DATE = 01/01/2050.
to debug by putting in the message of these two dates, they gets displayed correctly... before issuing the command RUN-REPORT...
Message('Lease_yr:'||) To_char(:frm_date,'DD/mm/YYYY') | » '|| To_char (:upto_date,'DD/mm/YYYY'));
Message(' ');
but in triggering the report BEFORE_REPORT, when I debug these two dates, I find this report field that p_upto_date appears as 01/01/1950
SRW. MESSAGE ("1001 B4 ',' :'||") TO_CHAR(:P_FRM_DATE,'DD/MM/RRRR') | » '|| TO_CHAR (:P_UPTO_DATE,'DD/MM/RRRR'));
and that is causing my report coming as empty... as the date of the range becomes ambiguous...
reports of the P_FRM_DATE and P_UPTO_DATE fields mask format is DD/MM/RRRR
the condition within SQL report is...
AND LEASE_UPTO_PERIOD BETWEEN TO_CHAR(:P_FRM_DATE,'DD/MM/YYYY') AND TO_CHAR(:P_UPTO_DATE,'DD/MM/YYYY')
problem with only P_UPTO_DATE...
Please if anyone can help with this...
(Forms [32 bit] Version 6.0.8.25.2 (Production))
(Report Builder version 6.0.8.25.0)
Windows7 and DB 10 g XE
TYHello
After reading your question, curiously tried myself and find that it works without any problem.
The key point is... .define type with formatmast as - date setting DD-MON-RRRR'-in forms and report.
And add parameter lsit use To_Char function rather than directly. It works as you want.
-Here is my sample code... call of when you press the button
Declare
Pl_Id Paramlist;
Pl_Name Varchar2 (10): = 'Test ';
Begin
Pl_Id: = Get_parameter_list (pl_name);IF this is Id_Null (pl_id) THEN
Destroy_Parameter_List (pl_id);
END IF;If Id_Null (PL_Id) then
Pl_Id: = Create_Parameter_list (pl_name);
End If;Add_Parameter (pl_id, 'PARAMFORM', TEXT_PARAMETER, "NO");
Add_Parameter (pl_id, 'R_frm_dt', TEXT_PARAMETER, TO_CHAR(:ctrl.frm_dt,'DD-MON-RRRR'));)
Add_Parameter (pl_id, 'R_to_dt', TEXT_PARAMETER, to_char(:ctrl.to_dt,'DD-MON-RRRR'));)Run_Product (reports, ' DURATION, FILE system, D:\Run_Product_date_Range',SYNCHRONOUS, PL_ID, NULL);
End;
-Hope this work -
The pre-selection of the Spry data selection box
Hello
I'm new here so sorry if this is in the wrong section/format
I use two data sets Spry on XML to fill 2 drop-down lists with vehicle makes and the names of connected model (there are other fields but for the sake of clarity, I'll show only these 2). The XML generated dynamically by PHP/MySQL and works very well for creating records initially. The problem I have is when I want to edit my file and so pre-Selection data in the dropdown select box. The first area is simple and works very well but the second box updates only when the first is updated by using the 'onchange' and I can't update when loading. I can get it to update 'onclick' or other events, but I need to update the second area when the page is loaded. Any ideas? I don't know there is a simple solution that with myself, but I can't see it
My code is listed below. I cut out all of the necessary code to make it more clear (I hope)
"< script src ="... /... "/ SpryAssets/xpath.js" type = "text/javascript" > < / script >
"< script src ="... /... "/ SpryAssets/SpryData.js" type = "text/javascript" > < / script >
< script type = "text/javascript" >
var dsmakes = new Spry.Data.XMLDataSet ("xmlgenmake.php", "vehicle / makes");
var dsmodel = new Spry.Data.XMLDataSet ("xmlgenmodel.php? xmlmake = {dsmakes::make}", "brands/models/model");
< /script >
< / head >
< body >
< do action = "<?" PHP echo $editFormAction;? ">" method = "post" name = "form1" id = "form1" >
< span spry: region = "dsmakes" id = "makeSelector" >
< select spry: repeatchildren = "dsmakes" id = "makeSelect" name = "make" onchange = "return [0].modelSelect.disabled = true;" dsmakes.setCurrentRowNumber (this.selectedIndex); ">
< option spry: If = ""{dsmakes::make}"== ' <?" PHP echo $row_Recordset1 ['make'];? ' > ' ' value = '{dsmakes::make}' selected = "selected" > {dsmakes::make} < / option >
< option spry: If = "" {dsmakes::make}"! = ' < ? PHP echo $row_Recordset1 ['make'];? ' > ' "value ="{dsmakes::make}"> {dsmakes::make} < / option >
< / select >
</span > < span spry: region = "dsmodel" id = "modelSelector" >
< select spry: repeatchildren = "dsmodel" id = "modelSelect' name 'model' = >
< option spry: If = ""{dsmodel::model}"== ' <?" PHP echo $row_Recordset1 ['template'];? ' > ' ' value = '{dsmodel::model}' selected = "selected" > {dsmodel::model} < / option >
< option spry: If = "" {dsmodel::model}"! = ' < ? PHP echo $row_Recordset1 ['template'];? ' > ' "value ="{dsmodel::model}"> {dsmodel::model} < / option >
< / select >
</span >
< / body >
< / html >
He solved it myself!
Just had to add the below to allow to load and activate the boxes to fill out before you can set the position of the page.
function setrows() {
dsmakes.setCurrentRowNumber(form1.makeSelect.selectedIndex);
}
setTimeout("setrows()",200);
Thanks to Gramps for trying.
-
includes server-side and don't use spry data may not
I have a site using the side Server includes widely and now I am trying to include a page with a set of spry data and it does not show the data. When I open just the page (not by the side includes server) everything works perfectly.
If someone has had this problem and is there a solution?
Thank you, BobI found the problem... the pages that I use for the Server-Side includes are in folders, I put the path in the side Server includes the page to the XML from the page parent rather than the real (Server-Side includes page).
Maybe you are looking for
-
Cannot "change allow applications downloaded on" setting
I was not able to open. DMG files. Whenever I try, I get a message that it is "damaged" and should be thrown out. With some research, I found that it actually means that I need to update my security settings & privacy. I go to System Preferences > Se
-
I have an iPhone 6, using iOS 9.1 Often, when I connect to a wifi network, password dialog does not appear. Example: at the Detroit airport, there is a free wifi network. I join the network through settings > Wi - Fi > and selecting the network. The
-
Fs9 views I'm unable to use the Central ball on the mouse button to change the distance in plan spot view in FS9. I've never had this problem before! can anyone help?
-
Computer disconnects after short idle
If I do nothing on my desktop for about 5 minutes, I need to log in again. Can I change the timeout of 1/2 hour?
-
I need to consolidate my media files.
My pictures and my music are scattered in all of my two hard drives, I need an easy way to find them all and move them to a place so I can go through and eliminate duplicates. I had no real system of organization 6 years when I started taking digital