Using Spry in DW CS3

Hi folks,
I'm using the new Spry framework in DW CS3 to have a master
list of title that call up details on each title when clicked. My
client wants a fly out menu listing items A-K, and when "C" is
chosen he wants the page with the Spry data to display that section
of the data. I think what I'm asking is 'how do I trigger a certain
set of data to displayed in a web from a url. In the days of
Anchors that would be easy. How do I do it with Spry?

Thought I'd drop a url so that my issue is more clear. :)
This is in Alpha, but a url would be:
http://center4spine.com.s11267.gridserver.com/how_we_help/spinal_decompression/
. You'll see the categories on the left; clicking a title changes
the content on the right. The first category's content is displayed
initially. I need to be able to link directly to the FAQ. How do I
get that page to show up with the FAQ loading first via a
hyperlink? I hope that's more clear!

Similar Messages

  • Using Multiple Datasets and Spry in DW CS3

    Hi there, I am currently trying to get an XML file pushed
    into a HTML page by using Spry in Dreamweaver CS3.
    However it uses three datasets. The schema is like this:
    funds-and-headings
    ----> properties+
    ------------> region
    ------------> reference
    ------------> known-as
    ------------> funds+
    ---------------------> type
    ---------------------> heads+
    -----------------------------> description
    (where there is a + this means a heading)
    but I am struggling to pull in the data.
    If I highlight 'properties' I can pull in the first 3 records
    but funds gives an 'unspecified' error message.
    I just want to know how I can then pull in the other fields
    all into one line and return all the results from the XML.
    Any hlep most welcome and sorry if I missed anything out that
    would help.

    Thought I'd drop a url so that my issue is more clear. :)
    This is in Alpha, but a url would be:
    http://center4spine.com.s11267.gridserver.com/how_we_help/spinal_decompression/
    . You'll see the categories on the left; clicking a title changes
    the content on the right. The first category's content is displayed
    initially. I need to be able to link directly to the FAQ. How do I
    get that page to show up with the FAQ loading first via a
    hyperlink? I hope that's more clear!

  • Using Spry how to stop Dreamweaver CS3 from Changing Code

    Hi
      I am using Dreamweaver CS3 to build/maintain a website www.ghoter.net. I started using Spry to insert data from an xml file as I need the data in the xml file to show up on several different pages, includeing the home page. The data in the xml file changes from time to time. This is working wery well. But I am having a problem with Dreamweaver automaticly  changing a line of code in the html files every time I make a change to the html file. The line of code that is being changed is in the head of the program.
    This is the line of code that is being changed: The xml's name is data-3.xml The date from the xml file goes at the top of the left collumn.
    The good code is:  var ds1 = new Spry.Data.XMLDataSet("data-3.xml", "customers/customer",{distinctOnLoad:true});
    The above line of code is automaticly being changed to this below, which does not work:
    var ds1 = new Spry.Data.XMLDataSet("data-3.xml", "customers/customer",<MM:BeginLock translatorClass="MM_SPRY" type="MM_SPRY_DATA_REFERENCE" orig="{distinctOnLoad:true}" ><MM_DYNAMIC_CONTENT DYNAMICDATA=1><MM:DECORATION HILITECOLOR="Dyn Untranslated Color">{distinctOnLoad:true}</MM:DECORATION></MM_DYNAMIC_CONTENT></script><MM:EndLock>);
    I can replace the bad line of code with the good code just befor saving the html file and the good line of code will be saved with the file and the web page works as it should.
    Any help would be appricated. Thanks
    Jack Burn

    Hi Jack,
    I think (not sure though) that the Library Item is causing the problem. I never use the Library Item because server side includes are far more efficient and need less maintenance.
    Have a look here http://foundationphp.com/tutorials/sprymenu/ssi.php
    If you have PHP serverside scripting language, use DW to add serverside includes using PHP.
    Getting back to your original problem, try without the Library Item and see if DW still changes the code.
    I hope this helps.
    Ben

  • Issue using spry regions in spry tabbed content

    I am having a slight issue with making a slideshow in a spry tabbed panel set. I have tested my XML used for the slideshow in a basic blank page, where I created the spry source and detail regions, and it loads fine. When you click on the thumbnail, the detail region loads the image. But when I place the slideshow in my websites page, it is inside a spry tabbed panel set. Where it just doesn't seem to want to work.
    Has anyone had this issue?
    I posted a copy of the page at the link below. The slideshow is under the portfolio tab
    http://www.fscproductions.net/spry/
    Thanks
    JF

    Hi,
    On the main forum page you will have read the following.
    Announcement: New to Spry, or  the Spry forums?
    Hide Details
    Before you post a topic please verify that:
    You are using the latest Spry files
    The latest version of the Adobe Spry Framework is 1.6.1, this is the same version that ships with Dreamweaver CS4. If you use Dreamweaver CS3 (uses Spry 1.4), its wise to upgrade your files to the latest version. This can easily be done using the Spry Updater that can be found here.
    After you have upgraded and not removed the remarks from the Spry files, we will have another look at it.
    Ben

  • Problems with using Spry photo gallery and Opera browser

    Using Dreamweaver CS3. I'm working on a website for a friend.
    It looks great in:
    -IE 6 and 7
    -Firefox
    -Safari
    But in Opera, the photo gallery I put in (uses spry to change
    images as the user rolls over the thumbnail) pops up a login box in
    Opera. It doesn't do this in any other browser and it works
    perfectly in all other browsers.
    WDYT? TIA, Steve

    Using Dreamweaver CS3. I'm working on a website for a friend.
    It looks great in:
    -IE 6 and 7
    -Firefox
    -Safari
    But in Opera, the photo gallery I put in (uses spry to change
    images as the user rolls over the thumbnail) pops up a login box in
    Opera. It doesn't do this in any other browser and it works
    perfectly in all other browsers.
    WDYT? TIA, Steve

  • Use Spry to insert data into a database?

    I'm new to Spry, so I have a question:
    Can I use Spry to insert data into a MySQL database without
    reloading the site?
    Reading data from XML file works fine, but I don't know if
    writing is possible..

    I don't get it... I tried this:
    <script type="text/javascript" src="spry/xpath.js"
    /></script>
    <script type="text/javascript" src="spry/SpryData.js"
    /></script>
    <script type="text/javascript">
    /* <![CDATA[ */
    function subscribe() {
    var subscribe;
    var info =
    document.getElementById("subscription_info").value;
    if (document.getElementsByName("subscription")[0].checked ==
    true) {
    subscribe = "ja";
    else {
    subscribe = "nein";
    var dsSubscribe = new
    Spry.Data.XMLDataSet("include/inc_subscribe.php?subscribe="+subscribe+"&info="+info+"&sit e=<?=$_GET['site'];?>",
    "subscription/ok");
    /* ]]> */
    </script>
    <div id="infos">
    <input type="radio" name="subscription" value="ja" />
    dabei
    <input type="radio" name="subscription" value="nein"
    /> nicht dabei
    <input type='text' class='text'
    id='subscription_info_text' />
    <input type='submit' id="subscription_submit"
    value='Eintragen' onClick="subscribe()" />
    </div>
    But the data isn't inserted into the mysql database. When I
    start the php script directly, it works, so I think it's not a php
    problem.

  • I have created a form in DW 5.0 using spry text fields. I am wondering what I did wrong to make the

    I have created a form in DW 5.0 using spry text fields. I am wondering what I did wrong to make the form fields show text?
    Thank you.

    Thanks again. There's one other thing I wanted to achieve here. I need the date format to be displayed like "dd/mm/yyyy" and not like it's doing by default at the moment (i.e. mm/dd/yyyy)
    I don't have any knowledge of jQuery but had a go anyway at trying to fix this using this link http://api.jqueryui.com/datepicker/ as aid to try adjust my code. Obviously I couldn't get it to work so far...  So I'm looking for a little bit of help from anyone who knows a bit of jQuery.
    Here's the original default code (just the stuff that goes in the 'head' of the page):
    <script>
      $(function() {
          $( "#datepicker" ).datepicker();
    </script>
    And here's what I tried adding to make it work:
    <script>
      $(function() {
          $( "#datepicker" ).datepicker();
          $.datepicker.formatDate( "dd/mm/yyyy" );
    </script>
    Obviously I tried other combinations including .parseDate instead of .formatDate etc etc none of which worked.
    I'm wondering whether the extra code should perhaps go inside where the XXs are - $( "#datepicker" ).datepicker(XX)
    Anyway, if somebody could help me out that would be great. Cheers!

  • Using Spry.Data.XMLDataSet. Can xml file name be set to change on calendar date?

    I have a website that uses Spry Data XML DataSet to list common pests for the current month. http://www.shspestcontrol.com/
    Each month's list of pests is in a separate xml file (e.g. pests-august.xml)
    Rather than manually updating the file name each month, can it be setup to automatically change the name
    For instance on January 1st, file name changes to pests-january.xml, Feb 1st changes to pests-february.xml. etc.
    <script type="text/javascript">
    <!--
    var dsPests1 = new Spry.Data.XMLDataSet("xml_files/pests-august.xml", "gallery/pests/pest");
    //-->
    </script>
    Any advice if this can be done and if so how to go about doing it would be much appreciated
    Thanks, Toni

    <script>
    var dsPests1 = new Spry.Data.XMLDataSet("pests-september.xml", "gallery/pests/pest");
    function setPestsFile(){
        var months = new Array(13);
            months[0]  = "january";
            months[1]  = "february";
            months[2]  = "march";
            months[3]  = "april";
            months[4]  = "may";
            months[5]  = "june";
            months[6]  = "july";
            months[7]  = "august";
            months[8]  = "september";
            months[9]  = "october";
            months[10] = "november";
            months[11] = "december";
        var now = new Date();
        var monthnumber = now.getMonth();
        var monthname = months[monthnumber];
        dsPests1.setURL("pests-"+monthname+".xml");
        dsPests1.loadData();
    window.onload = setPestsFile();
    </script>

  • Question about Spry menu for CS3

    When I created a menu using Spry it inserted this code in my
    template
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1",
    {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    does the path ../SpryAssets/SpryMenuBarRightHover.gif
    reference where the gif file is located in relationship to the
    SpryMenuBar.js or is it suppose to be in relationship to the web
    page?
    I assume this is a value passed into the constructor of the
    Javascript file.

    This is a little ambitious, but it is doable with CSS floats. You'll need 2 menus.  One floated left, one floated right and your logo image in the middle.
    Floats & Margins tutorial:
    http://alt-web.com/DEMOS/3-CSS-boxes.shtml
    More on floats:
    http://css.maxdesign.com.au/floatutorial/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • Using Spry in Templates - please help!

    I am trying to use Spry in templates (Dreamweaver CS4) and
    cannot do it. Can someone please help me? I know that I can put the
    spry widget inthe template but then it will be on every child page
    which I don't want. I'm not sure I understand the instructions to
    open the head...
    -Josh

    > I dont understand about opening a head...
    I think it has something to do with transcendental
    meditation....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "GPaul" <[email protected]> wrote in message
    news:glf037$ae7$[email protected]..
    > Im not sure I understand your question, however if you
    dont want something
    > in every child page of a template, then you put it in an
    editable section
    > on the child pages you do watn, or make that section
    editable and take out
    > on the pages that you dont want it on.
    >
    > I dont understand about opening a head...
    >
    >
    > "jl25" <[email protected]> wrote in
    message
    > news:gldsbb$79$[email protected]..
    >>I am trying to use Spry in templates (Dreamweaver
    CS4) and cannot do it.
    >>Can
    >> someone please help me? I know that I can put the
    spry widget inthe
    >> template
    >> but then it will be on every child page which I
    don't want. I'm not sure
    >> I
    >> understand the instructions to open the head...
    >>
    >> -Josh
    >>
    >
    >

  • Can I use AS2 in Flash CS3 ?

    Is it possible to use in Flash Cs3 the AS2 and not just AS3 ?
    I am only trying to do a web link from a button to some web
    site.....
    I wrote
    on (release) {
    getURL ("
    http://www.yahoo.com", "_blank");
    and nothing happen....some women here asked same question a
    month ago...people told her it is different from the AS2.....still
    I cant used AS2 in falsh cs3 ?
    or can I ?

    you can mix as1 and as2 in an swf created in flash cs3 or you
    can use as3 in a swf created in flash cs3. but you cannot mix as3
    with either of the other two languages.
    use the publish settings to choose which language you want to
    use in your swf.

  • Using Spry Vertical Navigation with Templates-Need to indicate current page

    Using Spry Vertical Navigation with the Dreamweaver templates.  Using editable attributes etc., the current page mennu item does not seem to be changing.  How do you indicate the. current page.

    Persistent Page Indicator on Site Wide CSS Menus:
    http://alt-web.com/Articles/Persistent-Page-Indicator.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Site Definition Requirements to use Spry

    What do my site definitions need to be set at to use Spry.  I am using both DW 4 & 5.
    Thanks

    Thank you Murray,
    Now a bit more detail.  I currently manage a site that has been around for a long time.  When I try to use spry accordian within that site (in a new or existing shtml document), the accordian features don't work properly (panel tabs and content are not distinguishable - just a list, and he tabs do not expand).  If I save an existing or create a new shtml page to my desktop, and add spry accordian there, then save back to my original site, no problem.  Adobe tech support told me that it was a problem with my "definitions" file.  Any clues to what my problem is?
    Best Regards....

  • Creating Linked File Directory Tree Using Spry?

    Hey guys,
    First post on help forums as I'll racking my brains tring to
    find a way to do the following.
    Basically I created a multimedia cd for my works data sheet
    pdf's using dreamweaver CS and using spry horz menu wigets to
    create links to files etc ... everything worked sweet and happy as
    but now I have been asked to attempt one step further.
    Basically what I am trying to acheve here create a HTML page
    in dreamweaver containing a spry menu that links automaticlly to
    all our work pdf doc's regarding our products on a network drive,
    in case the drive sits here F:\sales\suppliers data sheets\
    Inside this directory is extra diretorys containing the data
    sheets ... e.g F:\sales\suppliers data
    sheets\3M\3Mpaper\100grit.pdf ... F:\sales\suppliers data
    sheets\3M\3Mpaper\150grit.pdf ... etc
    Is there any way I can create a widget spry menu automaticlly
    to capture all of these directories and files and display as a
    linked tree?
    I can do it manually but this would take forever ... ha-ha
    I am hoping you undertsand what I mean ... basically I want
    to make a html menu page which features a drop down menu sustem
    where the sales guys can find the info much faster and easyer than
    always exploring the drive.
    Thanks in advance for any ideas or suggestions.
    Muz (NZ)

    Hey guys,
    First post on help forums as I'll racking my brains tring to
    find a way to do the following.
    Basically I created a multimedia cd for my works data sheet
    pdf's using dreamweaver CS and using spry horz menu wigets to
    create links to files etc ... everything worked sweet and happy as
    but now I have been asked to attempt one step further.
    Basically what I am trying to acheve here create a HTML page
    in dreamweaver containing a spry menu that links automaticlly to
    all our work pdf doc's regarding our products on a network drive,
    in case the drive sits here F:\sales\suppliers data sheets\
    Inside this directory is extra diretorys containing the data
    sheets ... e.g F:\sales\suppliers data
    sheets\3M\3Mpaper\100grit.pdf ... F:\sales\suppliers data
    sheets\3M\3Mpaper\150grit.pdf ... etc
    Is there any way I can create a widget spry menu automaticlly
    to capture all of these directories and files and display as a
    linked tree?
    I can do it manually but this would take forever ... ha-ha
    I am hoping you undertsand what I mean ... basically I want
    to make a html menu page which features a drop down menu sustem
    where the sales guys can find the info much faster and easyer than
    always exploring the drive.
    Thanks in advance for any ideas or suggestions.
    Muz (NZ)

  • Help Using Spry tabbed panel as a menu.

    Thanks in advance to all who take the time to read and any assistance you can offer.
    I'm picking up where someone else started a website. They used Spry tabbed panels as a menu system (CS4). Each Panel is a top-level "menu" and when it opens, sub-menus (hyperlinks) come up vertically under the panel.  I REALLY don't want to start over if I don't have to - need the site up and running - but cannot figure out how to make the "HOME" tabbed panel (the first one) actually take users back to the home page.  For now, I've created a "submenu" (link) under HOME tabbed panel to help the user navigate back to the home page.
    HELP? 
    http://www.orange.k12.nc.us/ec/beta/default.html

    Thank you Gramps - for your prompt and helpful response!  Your solution absolutely fixed the problem I asked about.
    If I had followed forum advisories and asked the question correctly, the navigation on this website would probably be working perfectly by now. Your solution fixes the home page.  Can you look at one more page and advise please??
    On the "subpages" of this site, the same tabbed panel "fake menu" exists.  I replaced the equivalent line of code in the template for those pages (at line 45) with what you gave me.  I'm obviously missing something in the code to send the user back to the HOME page from these pages.
    In the sample link below, you will be starting from a "subpage" of the site.  Clicking on the "HOME" tab leads you not to the actual home page (default.html in the root directory) but to a default.html page within the subdirectory for the page you are on (which doesn't exist.)  Can I add something to that line of code to get them back to the home page?
    Again... thank you!!
    http://www.orange.k12.nc.us/ec/beta/Students/Student_Resources.html

Maybe you are looking for

  • Someone help me with severe iTunes problems?

    I am running the latest version of iTunes on my computer running Windows 7. Since November 2010, I have been unable to purchase anything, I have been unable to update my iPod touch 3rd generation, and I have been unable to sync, etc etc. The second I

  • Problem in installation of Oracle 9i in windows xp

    hi everybody I've encountered an error while installing Oracle 9i. At the end of installation process when it wants to configure "Database Configuration Assistant" it passes the two first steps : "Copying database files" "Initializing database" but i

  • Help with images required

    Hi, I am a new Macbook owner. I transfered some photos from my canon camera last week. Today some of these are corrupt. I tried sending the folder to a friend yesterday using podmail. Quite a lot of my images are now corrupt, but not all. All I have

  • SAP installation guiengine:No GUI server connected;waiting for connection

    Hi All, I need one help I am trying to install SAP ECC 6 in Redhat Linux 5 and database oracle I have installed java 1.4.2_16, I have set the environmental variables also. But if I start the SAP installation by executing SAPINST , I am facing the bel

  • How do I downgrade to a previous iOS?

    I am using iTunes 10.6.1  I need to install an iOS version that is compatible with this version.  I have found that each subsequent iOS version is more bloated than the last.  I have a 16GB iPhone 4S so minimizing the space used by the iOS is a prior