Spry.Widget.AutoSuggest is not working (1.6)

Hi Everyone,
I been trying to get the Autosuggest widget to work for a
while now with no result. I have an XML data set created and it is
displaying out the results on my page, however, when it comes to
start the Autosuggest, Firebug catches an error saying that the
Spry.Widget has no properties. And IE7 an expected char ";" in char
5 od that same line.
I wam adding my code, hoping someone can help me out solve
this little bug.
Thanks.
<head>
<script language="JavaScript" type="text/javascript"
src="../SpryAssets/xpath.js"></script>
<script language="JavaScript" type="text/javascript"
src="../SpryAssets/SpryData.js"></script>
<script language="JavaScript" type="text/javascript"
src="../SpryAssets/SpryAutoSuggest.js"></script>
<link href="../SpryAssets/SpryAutoSuggest.css"
rel="stylesheet" type="text/css" />
<script type="text/javascript">
var ds1 = new Spry.Data.XMLDataSet("spryxmltest.php",
"/Manuals/ManualsContained");
</script>
</head>
<body>
<div id="mySuggest" class="container" style="float:
left;">
<form method="get" action="test.php">
<input type="text" id="ModelsContained"
name="ModelsContained"/>
<div id="resultsDIV" spry:region="ds1">
<div spry:repeat="ds1"
spry:suggest="{ds1::ModelsContained}">
<div class="list">{ModelsContained}</div>
</div>
</div>
</form>
</div>
<script type="text/javascript">
var theSuggest = new
Spry.Widget.AutoSuggest('mySuggest','resultsDIV','ds1','ModelsContained',
{hoverSuggestClass: "hover", minCharsType: 2, containsString: true,
maxListItems: 20});
</script>
</body>

Hi,
if you get that error Spry.Widget has no properties, this
means that the spryAutosuggest.js file is not correctly included in
page. Please check if you have the good path to this js file.
thanks,
Diana

Similar Messages

  • Spry.Widget.AutoSuggest

    I am using the Spry.Widget.AutoSuggest as part of another
    object. I have the details VERY close, but am missing a small
    detail somewhere, and while I think I've tried everything, I'm
    still missing something.
    In my init, I have the following code:
    quote:
    * Callbacks used for Predictive Search -------Fails
    Spry.Widget.PredictiveSearch.prototype.regionCallback =
    Object;
    Spry.Widget.PredictiveSearch.regionCallback.prototype.onPostUpdate
    = function(notifier, data)
    alert("onPostUpdate called for " + data.regionID);
    var typedText = this.predictiveSearch.typedTextField.value;
    boldTextInChildDivs( data.regionNode, typedText );
    this.setMatchIgnoreCase( typedText );
    resetSessionTimeoutCheck();
    self = this;
    var regionCallback = this.regionCallback;
    var suggestionsDiv = this.suggestionsDiv;
    alert(self.suggestionsDiv)
    Spry.Data.Region.addObserver( self.suggestionsDiv,
    self.regionCallback );
    When I type in the field, everything works as expected,
    except that the suggestions div is not populated (it shows as an
    empty div in firebug). The alert inside the region callback never
    fires, so there is something wrong with how I am creating either
    the addObserver, or the function itself. If I make this a function,
    and use the 3rd parameter, AND make it a child of the window with a
    unique name, it works fine... The idea was to try to make this a
    little more like Spry.Widget.CollapsiblePanel in how the callbacks
    are handled.
    If you're wondering why I'm doing it this way, I am trying to
    optimize some pages which use this widget several times per page,
    and currently have it hard coded on the page (this is being pulled
    into a separate javascript file.)
    Thanks in advance.

    The partial answer is that I was using incorrect syntax. I
    started going through the SimpleAutosuggest, and found the
    following:
    quote:
    Spry.Data.Region.addObserver(regionID, { onPostUpdate:
    function(notifier, data) {
    self.attachClickBehaviors();
    Which was basically the syntax I was looking for, which
    allows me to use the object notation instead of the function
    notation, and call through an object that each autosuggest object
    is tied to.
    However, it brings me back to my original problem. I've gone
    through the Region Observer Notifications documentation here:
    http://livedocs.adobe.com/en_US/Spry/SDG/help.html?content=WS57937FB2-D8C1-424d-B3E4-655FD 7A7899B.html
    ... and in another place, I read that in a callback, you cannot
    pass variables because it will run the call back immediately, and
    not when you expect it to. That seems to be my problem, but
    regardless of if I pass parameters, I get no call back when I
    expect it. If I pass parameters, I get the call back immediately,
    but not later, if I don't pass parameters, I never get the
    callback.
    It's got to be something dumb, but I don't see what it is,
    and unfortunately, I have no way of putting the code outside our
    firewall until it goes live. :(
    Thank you for trying.

  • Spry.Widget.ValidationTextfield is not a constructor

    I have worked through the text field validation
    documentation, but get "Spry.Widget.ValidationTextfield is not a
    constructor" when I try to run.
    I have been trying to debug this for a while. Pretty sure I
    have referenced the js and css correctly. Sure I'm doing something
    silly, but have spent too much time on it already. Any help would
    be greatly appreciated.
    thanks,
    Chuck

    Thanks kin - that did it. The one place that I was looking in
    the documentation (articles/textfield_overview/index.html) had a
    typo. It was correct every else it is referenced.
    It’s important that you make sure the ID of the span
    tag matches the ID parameter you specified in the
    Spry.Widget.ValidationTextfield method. It’s also important
    that you make sure the JavaScript call comes after the HTML code
    for the widget.
    8. Save the page. The complete code looks as follows:
    <head>
    <script src="includes/SpryValidationTextfield.js"
    type="text/javascript"></script>
    <link href="SpryValidationTextfield.css" rel="stylesheet"
    type="text/css" />
    </head>
    <body>
    <span id="TextfieldWidget">
    <input type="text" name="text1" id="text1" />
    </span>
    <script type="text/javascript">
    var TextfieldWidgetObject = new
    Spry.Widget.ValidationTextfield("TextfieldWidget");
    </script>
    </body>

  • Spry tool tip does not work in template or child pages within an editable region. Why not?

    Ok. so I am getting pretty frustrated. I take the time to learn how to use CSS and to create a template page for a Contractor Site (www.ContractorInsurance.net). The idea is to create a page that I can use for different classes of Contractors...right?
    Then I get all happy about being able to insert ToolTip onto pages to help the user. Great!
    LIfe to turn to Sorrow after nearly five hours of searching for a "eeking" answer.
    So what good does it do to have an Editable region to update if we cannot have the flexibility to insert a tool tip on child pages?  Ok so the fast solution is to what... Have a question mark image, insert another apDiv, name it toolTip_Not and provide it with a show=hide behavior?
    RRRRRrrr...
    This really sucks not being able to find a solution within a reasonable amount of time.

    I have tried thank you. However...it is still not working.
    www.ContractorInsurance.net/course_of_construction.php
    The error message is "Making this change would require code that is locked by a template translator"
        Re: Spry tool tip does not work in template or child pages within an editable region. Why not?
        created by altruistic gramps in Spry Framework for Ajax - View the full discussion
    If you have a look at the following simple document with a tooltipTooltip trigger goes here.
    Tooltip content goes here.
    you will notice that a couple of lines have been placed in the HEAD section of the document. When using DW templates, the HEAD section is usually not editable, hence the error mesaage. By default, your template should have an editable region in it just before the closing tag. It looks like this: <!-- TemplateBeginEditable name="head" > <! TemplateEndEditable --> Dreamweaver should be able to find that editable region and insert the
    <script> tag there automatically. Because you don't have an editable region like that in the <head>, open the master template, and paste the code above just before the closing </head>
    tag. Gramps
    Edited to remove personal data

  • Widget: "screenshot plus", not working in leopard, etc...

    widget: "screenshot plus", not working in leopard. another bug? kids digital camera opens iphoto but doesnt appear on desktop to eject w/out errors. another bug? if i havnt registered leopard yet, can i sell it, cuz i think i might not want it now.

    These aren't bugs, they are 3rd party issues that are not Apple's responsibility. Whomever wrote the widget needs to update it for Leo. The camera manufacturer needs to update their hardware driver to be Leo compatible.
    I'm sure someone will take Leo off you hands for a better price than elsewhere. It's a great OS.

  • Spry Tab Panel is not working properly on remote server

    Hello All,
    I have a problem with spry tab panel, it is not displaying image in the background when it is active, it is working properly in local server but when i upload to remote it vanishes.
    Here is the link
    http://www.geftas.com/temaritestpage/about.html
    Also I am uploading Css and html code below
    Any help would be exteremely appreciated.
    Thanks
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="content-type" content="text/html; charset=utf8"/>
    <meta http-equiv="content-type" content="cache" />
    <meta http-equiv="robots" content="INDEX,FOLLOW"  />
    <meta http-equiv="keywords" content="Enter Keywords"/>
    <meta http-equiv="description" content="Description Here" />
    <title>TEMARI&CO. | Business Strategists</title>
    <link href="css/about.css" rel="stylesheet" type="text/css" media="screen" />
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div id="wrapper">
              <div id="header"></div>
      <div id="navigation">
        <ul id="MenuBar1" class="MenuBarHorizontal">
          <li><a href="index.html">HOME</a></li>
          <li><a href="about.html" class="current">ABOUT</a></li>
          <li><a href="#" class="MenuBarItemSubmenu">CONSULTING</a>
            <ul>
              <li><a href="#">Business Plan</a></li>
              <li><a href="#">Marketing Plan</a></li>
              <li><a href="#">Incorporation</a></li>
              <li><a href="#">Accounting System</a></li>
            </ul>
          </li>
          <li><a href="#" class="MenuBarItemSubmenu">INDUSTRIES</a>
            <ul>
              <li><a href="#">Untitled Item</a></li>
              <li><a href="#">Untitled Item</a></li>
              <li><a href="#">Untitled Item</a></li>
              <li><a href="#">Untitled Item</a></li>
            </ul>
          </li>
          <li><a href="#">OUR PROCESS</a></li>
          <li><a href="#">CAREERS</a>      </li>
          <li><a href="#">CONTACT</a></li>
        </ul>
      </div>
    <div class="shadow" id="content">
      <div id="TabbedPanels1" class="TabbedPanels">
        <ul class="TabbedPanelsTabGroup">
          <li class="TabbedPanelsTab" tabindex="0">values</li>
          <li class="TabbedPanelsTab" tabindex="0">people</li>
        </ul>
        <div class="TabbedPanelsContentGroup">
          <div class="TabbedPanelsContent">
                    <div id="scrolltext">
                        <h1>Heading1</h1>                 
            <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. N</p>
            </div>
          </div>
          <div class="TabbedPanelsContent">
                      <div id="scrolltext">
                        <h1>Heading1</h1>                 
            <p>Lorem n, </p>
                                <h1>Heading1</h1>                 
            <p>Lorem ipsum dolor sit amet, , </p>
                               <h1>Heading1</h1>                 
            <p>Lorem ipsum dolor sit a, </p>
                               <h1>Heading1</h1>                 
            <p>Lorem ipsum dolor sit amet,  </p>   
            </div>
          </div>
        </div>
      </div>
    </div>
      <div id="footer">
    <div id="legal">
                          <ul>
                              <li>Copyright © 2012 Temari&Co</li>
                        <li>| Privacy Policy |</li>
                        <li>Terms of Use</li>
                    </ul>
        </div>
                <div id="socialmedia">
                          <ul>
                              <li><img src="images/fbicongri.png" width="20" height="20" alt="fbicon" /></li>
                        <li><img src="images/gicongri.png" width="20"          height="20" alt="gicon"/></li>
                        <li><img src="images/linkedinicongri.png" width="20" height="20" alt="linkedin"/></li>
                        <li><img src="images/twittericongri.png" width="20" height="20" alt="twitter"/></li>
                  </ul>
          </div>   
      </div><!-- end footer-->   
    </div><!-- end wrapper-->
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
    </script>
    </body>
    </html>
    @charset "UTF-8";
    /* SpryTabbedPanels.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    /* Horizontal Tabbed Panels
    * The default style for a TabbedPanels widget places all tab buttons
    * (left aligned) above the content panel.
    .TabbedPanels {
              overflow: hidden;
              margin: 0px;
              padding: 0px;
              clear: none;
              width: 100%;
              height:100%; /* IE Hack to force proper layout when preceded by a paragraph. (hasLayout Bug)*/
    .TabbedPanelsTabGroup {
              margin: 0px;
              padding: 0px;
    .TabbedPanelsTab {
              position: relative;
              float: left;
              background-color: #FFF;
              list-style: none;
              -moz-user-select: none;
              -khtml-user-select: none;
              cursor: pointer;
              font-family: Arial, Helvetica, sans-serif;
              font-size: 9pt;
              font-weight: normal;
              color: #666;
              height: 30px;
              width: 116px;
              text-transform: uppercase;
              text-align: center;
              line-height: 30px;
              margin: 0px;
              padding: 0px;
    .TabbedPanelsTabHover {
              background-image: url(../../SUPEROLDU/images/menubaractive.png);
              background-repeat: repeat-x;
              color: #FFF;
    .TabbedPanelsTabSelected {
              background-image: url(../../SUPEROLDU/images/menubaractive.png);
              background-repeat: repeat-x;
              color: #FFF;
              height: 30px;
              width: 116px;
    .TabbedPanelsTab a {
              color: black;
              text-decoration: none;
    .TabbedPanelsContentGroup {
              clear: both;
              background-color: #FFF;
              height: 100%;
              width: 824px;
              font-family: Arial, Helvetica, sans-serif;
              font-size: 9pt;
              color: #666;
              border-top-width: 1px;
              border-right-width: 1px;
              border-bottom-width: 1px;
              border-left-width: 1px;
              border-top-style: dotted;
              border-top-color: #CCC;
              border-right-color: #CCC;
              border-bottom-color: #CCC;
              border-left-color: #CCC;
    .TabbedPanelsContent {
              height: 100%;
              width: 100%;
              overflow:hidden;
    .TabbedPanelsContentVisible {
    .VTabbedPanels {
              overflow: hidden;
              zoom: 1;
    .VTabbedPanels .TabbedPanelsTabGroup {
              float: left;
              background-color: #EEE;
              position: relative;
    .VTabbedPanels .TabbedPanelsTab {
              float: none;
              margin: 0px;
              border-top: none;
              border-left: none;
              border-right: none;
    .VTabbedPanels .TabbedPanelsTabSelected {
              background-color: #EEE;
    .VTabbedPanels .TabbedPanelsContentGroup {
              clear: none;
    /* Styles for Printing */
    @media print {
    .TabbedPanels {
              overflow: visible !important;
    .TabbedPanelsContentGroup {
              display: block !important;
              overflow: visible !important;
              height: auto !important;
              margin-top: 0px;
              margin-right: auto;
              margin-bottom: 0px;
              margin-left: auto;
    .TabbedPanelsContent {
              clear:both !important;
              margin-top: 0px;
              margin-right: auto;
              margin-bottom: 0px;
              margin-left: auto;
              width: 744px;
    .TabbedPanelsTab {
               overflow: visible !important;
               display: block !important;
               clear:both !important;

    Hi
    Please Upload SpryTabbed Panels.css and menubaractive.png to their respective remote directories/folders.
    The images have not been uploaded at all, the online CSS is the one without a link to the images
    Regards
    Adaan Pre-Media Services
    For more image editing services follow us @
    web designing services

  • Spry drop down menu not working after page created from template

    Hi all.
    I created a template and the drop down Spry menu is working fine on local testing on my browser as follows:
    I then created a New Page from this above Template. I did no alteration to this new page and just saved it as index.html but when previewing it in the browser, the Spry drop down menu is not working and the page displays as follows:
    Here is my site map:
    Any help to show where I am going wrong would be much appreciated.
    Thanks.

    Dear Nancy 
    Very grateful for your reply. 
    On Design View and Preview in browsers the index.dwt page spry works fine.
    When I create a child page from this template page, the child page looks fine in design view but does the spry fails to preview in browsers (the spry just shows as words and not drop down menus). 
    Here is the code:
    <!--
    #apDiv1
    #apDiv2
    #apDiv3
    #apDiv4
    -->
    <!--
    #apDiv5
    #apDiv6
    #apDiv7
    #apDiv8
    #apDiv9
    a:link
    a:hover
    #apDiv10
    body {
        margin-bottom: 0px;
        margin-top: 0px;
    #apDiv11
    -->
    !/cooltext454549176.png|height=170|width=631|src=/cooltext454549176.png!
    !/logosmall.jpg|height=58|hspace=0|width=150|src=/logosmall.jpg|vspace=0!
    Disclaimer:
    Studentshub is a platform for listing services as advertised/promoted by the Companies and individuals concerned. Studentshub does not endorse any of the contents on this site. Studentshub accepts no responsibility for any arrangements, purchase, contracts, agreements, refunds, failure to deliver services etc between individuals, landlords, clubs, organisations, companies etc. This does not affect your statutory rights (2009)
    *Contact !/bluebutton.gif|height=10|alt=Blue button|width=10|src=/bluebutton.gif!
    Sitemap !/bluebutton.gif|height=10|alt=Blue button|width=10|src=/bluebutton.gif!*
    © www.studentshub.co.uk *
    !/bluebutton.gif|height=10|alt=Blue button|width=10|src=/bluebutton.gif!
    !/cooltext454549388.png|height=138|width=700|src=/cooltext454549388.png!
    [LIVE | #]
    [CAMPUS | #]
    [DERBYSHIRE | #]
    [NOTTINGHAMSHIRE | #]
    [LEICESTERSHIRE | #]
    [HOUSE SHARE | #]
    [DERBYSHIRE | #]
    [NOTTINGHAMSHIRE | #]
    [LEICESTERSHIRE | #]
    [RENT | #]
    [DERBYSHIRE | #]
    [NOTTINGHAMSHIRE | #]
    [LEICESTERSHIRE | #]
    [BUY | #]
    [DERBYSHIRE | #]
    [NOTTINGHAMSHIRE | #]
    [LEICESTERSHIRE | #]
    [WORK | #]
    [EMPLOYMENT AGENCIES | #]
    [DERBYSHIRE | #]
    [NOTTINGHAMSHIRE | #]
    [LEICESTERSHIRE | #]
    [PART TIME | #]
    [DERBYSHIRE | #]
    [NOTTINGHAMSHIRE | #]
    [LEICESTERSHIRE | #]
    [VOLUNTEERING | #]
    [DERBYSHIRE | #]
    [NOTTINGHAMSHIRE | #]
    [LEICESTERSHIRE | #]
    [WORK ABROAD | #]
    [TRAVEL | #]
    [BUS | #]
    [DERBYSHIRE | #]
    [NOTTINGHAMSHIRE | #]
    [LEICESTERSHIRE | #]
    [TRAIN | #]
    [DERBYSHIRE | #]
    [NOTTINGHAMSHIRE | #]
    [LEICESTERSHIRE | #]
    [COACH | #]
    [DERBYSHIRE | #]
    [NOTTINGHAMSHIRE | #]
    [LEICESTERSHIRE | #]
    [FLIGHTS | #]
    [DERBYSHIRE | #]
    [NOTTINGHAMSHIRE | #]
    [LEICESTERSHIRE | #]
    [CYCLE | #]
    [DERBYSHIRE | #]
    [NOTTINGHAMSHIRE | #]
    [LEICESTERSHIRE | #]
    [FUN | #]
    [NIGHTS OUT | #]
    [DERBYSHIRE | #]
    [NOTTINGHAMSHIRE | #]
    [LEICESTERSHIRE | #]
    [DAYS OUT | #]
    [DERBYSHIRE | #]
    [NOTTINGHAMSHIRE | #]
    [LEICESTERSHIRE | #]
    [GROUP OUTINGS | #]
    [DERBYSHIRE | #]
    [NOTTINGHAMSHIRE | #]
    [LEICESTERSHIRE | #]
    [HOLIDAYS | #]
    [UK | #]
    [ABROAD | #]
    [SHOPPING | #]
    [DERBYSHIRE | #]
    [NOTTINGHAMSHIRE | #]
    [LEICESTERSHIRE | #]
    [BOOKS | #]
    [BOOKSHOPS | #]
    [USED BOOKS | #]
    [HEALTH | #]
    [NHS DIRECT | #]
    [HOSPITALS | #]
    [DERBYSHIRE | #]
    [NOTTINGHAMSHIRE | #]
    [LEICESTERSHIRE | #]
    [WALK IN CLINICS | #]
    [DERBYSHIRE | #]
    [NOTTINGHASHIRE | #]
    [LEICESTERSHIRE | #]
    [GUM CLINICS | #]
    [DERBYSHIRE | #]
    [NOTTINGHAMSHIRE | #]
    [LEICESTERSHIRE | #]
    [HOME | #]
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", );
    //-->
    </script>
    </body>
    <!-- InstanceEnd --></html

  • Spry Tabbed Panels does not work as I want

    Sorry, but this is an utter NOOB question.
    I tried to use a Gooey ment on my page, but it does not work as intended.
    Here it works OK: http://ppbm5.com/DB-PPBM5-2.php
    Here it does not work: http://ppbm6.com/Planning.html
    I assume it is related to the menu already on this page. Anyway, since this did not work, I tried to replace the Gooey menu with Spry Tabbed panels, but being an utter noob in this area, I have made some mistakes that the experts here can probably help solve easily. What happens:
    It looks OK in DW:
    Go to Live View and it still looks OK:
    but then go to the actual page and it looks like this:
    Why do the tabbed panels not display at the top of the page next to the vertical menu, like it does in DW?
    Second question: How can I add text to each page/ tabbed panel, like here http://ppbm6.com/Planning.html

    Spry Tabbed Panels 2.0 have a number of support files to make them run.
    <!--files for Spry Tabbed panels-->
    <script type='text/javascript' src='../Spry-UI-1.7/includes/SpryTabbedPanels2.js'></script>
    <script type='text/javascript' src='../Spry-UI-1.7/includes/plugins/TabbedPanels2/SpryFadingPanelsPlugin.js'></script>
    <script type='text/javascript' src='../Spry-UI-1.7/includes/plugins/TabbedPanels2/SpryTabbedPanelsKeyNavigationPlugin.js'></script>
    <link type='text/css' href='../Spry-UI-1.7/css/TabbedPanels2/SpryTabbedPanels2.css' rel='stylesheet'/>
    Below, I have a Spry demo page with 3 widgets on it.  If you look at the source code, you'll see how the the various support files are organized.
    Function code is near the bottom of the page.
    http://alt-web.com/DEMOS/Spry-test.html
    Second question: How can I add text to each page/ tabbed panel, like here http://ppbm6.com/Planning.html
    Turn off CSS.  View > Style Rendering > un-tick Display Styles.  You'll see an unstyled HTML page in Design View.  But this won't effect styles in Live View or Preview.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • SPRY drop-down submenus not working

    I created a spry menu bar, customized it with a button image I created.  The main nav menu as well as the sub-menus were all working beautifully when I tested it in Safari, Opera & Firefox.  I then added links and it was at this point I noticed that the sub-menus were not working, although it appears normal when viewed in DW CS4 and the source code.  I would appreciate it if you could advise if there's some known bug or it's simply a user issue.  I'd appreciate it if you could please take a look at my source codes.
    Thanks,

    Hi,
    Change
    <script type="text/javascript">
    <!--
    swfobject.registerObject("FlashID");
    swfobject.registerObject("FlashID2");
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    to
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    swfobject.registerObject("FlashID");
    swfobject.registerObject("FlashID2");
    //-->
    </script>
    I hope this helps,
    Ben

  • Link to spry tab or accorion not working

    I have gone to http://foundationphp.com/tutorials/spry_url_utils.php by Mr.Powers (great suff by the way!) and tried using the code in the tutorial just as described to create links to non-default tabs or accordions on other pages but not having any luck. The link takes me to the page, but not the target tab or accordion - whichever I try.
    Also, once I change the scrip code at the bottom of the page, it causes the tab or accordion panels to display as a continuation down the page, not contained within the element. As if a div tag were left out or something.
    First I copied SpryURLUtils.js from the Spry 1.6 release into the SpryAssets folder.
    (The 2 pages shown here are working test pages within my site for an accordion panel link).
    Here are the locations and code I entered into this page ( www.wilsonchiropractic.net/Research/Copy_CurrentLit.html )
    for a link to the bottom unopened (H1N1...) accordion panel:
    At the end of the head section:
    <script type="text/javascript" src="SpryAssets/SpryURLUtils.js"></script>
    <script type="text/javascript"> var params = Spry.Utils.getLocationParamsAsObject(); </script>
    Then at the end of the page withing the script tags, I modified the Accordion1 variable identifier to:
    var Accordion1 = new Spry.Widget.Accordion("Accordion1", {defaultPanel: params.panel ? params.panel: 0});
    (this is the code that makes the entire panel set, accordion or tabs, to continue out of the panel container).
    Lastly this is the link from the starting page - ( http://www.wilsonchiropractic.net/LinkTest.html ):
    <a href="http://www.wilsonchiropractic.net/Research/Copy_CurrentLit.html?Panel=1#Addordion1">test link to research panel</a>
    There are a number of other links to tabs or other accordions I need to create. I would assume if I can get this coding figured out, I can get the others to work.
    Please Help!! Thank you!! --Jeff

    One obvious problem is this:
    <link href="../SpryAssets/SpryAccordion2.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="SpryAssets/SpryURLUtils.js"></script>
    The link to SpryURLUtils.js is pointing to the wrong location. It should be this:
    <script type="text/javascript" src="../SpryAssets/SpryURLUtils.js"></script>

  • Spry bar sub menus not working. Am at wit's end.

    Hi all,
    I am having trouble with getting my submenus on my spry bar to function. At first I was getting the error message of spry undefined.  I looked for answers in forums, and tried a few things like making sure the .js file was there, looking for code mistakes, etc. Nothing worked, so I then deleted and reinstalled the spry bar and spry assets files, and of course, uploaded them to the server. Now I don't get any error messages, but the submenus just don't drop down.
    Here is my code:
    <!DOCTYPE HTML>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Natural Handmade Soaps</title>
    <link href="../../styles/HealingHandsStyleSheet.css" rel="stylesheet" type="text/css" />
    <script src="../../../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="../../../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">
    </head>
    <body bgcolor="#FFFFFF">
    <div id="container">
    <div id="banner">
    <img src="../../images/BitsAndPieces/HealingHandsNewBanner.jpg" width="960" height="99" />
    </div>
    <div id="healingmenu">
      <ul id="MenuBar1" class="MenuBarHorizontal">
        <li><a class="MenuBarItemSubmenu" href="../../index.html">home</a>
          <ul>
            <li><a href="#">Item 1.1</a></li>
            <li><a href="#">Item 1.2</a></li>
            <li><a href="#">Item 1.3</a></li>
          </ul>
        </li>
        <li><a href="../hair_serum.html">hair</a></li>
        <li><a class="MenuBarItemSubmenu" href="../face_products.html">face</a>
          <ul>
            <li><a class="MenuBarItemSubmenu" href="/soaps.html">complexion perfection face soap</a>
              <ul>
                <li><a href="#">Item 3.1.1</a></li>
                <li><a href="#">Item 3.1.2</a></li>
              </ul>
            </li>
            <li><a href="../complexion_perfection_pages/complexion_perfection.html">complexion perfection face serum</a></li>
            <li><a href="../silk.html">SILK face serum</a></li>
          </ul>
        </li>
        <li><a href="../body_products.html">body</a></li>
        <li><a href="../Essential_Oil_Blends/essential_oil_blends.html">eo blends</a></li>
        <li><a href="../../Pages/ayreveda/ayurveda_page.html" class="MenuBarItemSubmenu">herbal info</a>
          <ul>
            <li><a href="../../Pages/ayreveda/ayurveda_page.html">what is ayurveda?</a></li>
            <li><a href="../../Pages/bach_flower_essences/bach_page.html">what are bach flower essences?</a></li>
          </ul>
        </li>
    <li><a href="mailto:[email protected]">contact</a></li>
        <li><a href="/blog">blog</a></li>
      </ul>
    </div>
    <div id="left_column">
      <p align="left"><img src="images/cp_serum_soap_teapot.jpg" width="227" height="206" alt="Complexion Perfection Soap" /></p>
      <p align="left"><span class="style47"><img src="images/cpsoap.JPG" alt="" width="227" height="206" /></span></p>
      <p align="left"><span class="style47"><img src="../complexion_perfection_pages/images/three_bottles.jpg" alt="" width="240" height="200" /></span></p>
      <p><span class="style1"><a href="../complexion_perfection_pages/complexion_perfection.html">Complexion Perfection Face Serum</a></span><span class="style2">, for use with Complexion Perfection soap.</span></p>
      <p><br />
      </p>
    </div>
    <div id="center_column">
      <p align="center" class="style1">About the Soaps</p>
    <p class="style2" >Healing Hands Apothecary soaps are handmade in small batches using rich, all-natural ingredients. The soaps are scented with pure, therapeutic essential oils obtained from plants, which also carry the beneficial properties of the plants. The soaps take 4-6 weeks to &quot;cure&quot; and are extremely mild and gentle for your skin. They will last
        significantly longer than the popular bars you get from the store because
        they are not fluffed up with air. Each 3.5&quot; x 1&quot; x 2.75&quot; bar is approximately 5-5.5 oz of pure goodness!</p>
      <p align="center" class="style1" >Complexion Perfection Face Bar</p>
    <p class="style2">A rich face soap made with French
        green clay to tighten pores and extract impurities from the skin.  The Complexion Perfection
        face bar is specifically made to complement the <a href="http://www.healinghandsapothecary.com/Product%20Pages/complexion_perfection_pages/complexi on_perfection.html">Complexion Perfection Face Serum for Problem Skin</a>. Complexion Perfection is suitable for deep cleansing of all skin types, though it is especially great for problem skin.</p>
    <p class="style2"><strong>Ingredients:</strong> Olive oil, coconut oil, palm kernel oil, shea butter, lavender, bergamot, and eucalyptus essential oils, French green clay, green tea.</p>
      <p align="center" class="style47">
        <input type="hidden" name="cmd" value="_s-xclick" />
        <input type="hidden" name="hosted_button_id" value="GHKAAN38MDEDU" />
      </p>
      <div align="center">
        <table>
          <tr>
            <td><input type="hidden" name="on0" value="Quantity" />
              Quantity</td>
          </tr>
          <tr>
            <td><select name="os0">
              <option value="One Bar">One Bar $6.50 USD</option>
              <option value="Five Bars">Five Bars $30.00 USD</option>
              <option value="Ten Bars">Ten Bars $55.00 USD</option>
            </select></td>
          </tr>
        </table>
        <input type="hidden" name="currency_code" value="USD" />
        <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!" />
        <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1" />
      </div>
      <p align="center" class="style51"><img src="images/GBB_closeup.jpg" alt="" width="300" height="200" /></p>
      <p align="center" class="style1">Gardener's Blessing Bar</p>
    <p align="left"><span class="style2">A special soap made for gardeners! People who like a  moisturizing soap that cleans well after a hard day's work in the yard will love the Gardener's Blessing Bar. Dried orange peel and poppy seed offer  exfoliation, and tea tree oil soothes cuts, bites, and scratches. Sweet orange and eucalyptus oils add a delightful scent to this ultra rich and creamy soap.</span></p>
      <p align="left" class="style2"> <strong>Ingredients:</strong> Olive oil, coconut oil, palm kernel oil, cocoa butter, shea butter,  beeswax, sweet orange oil, eucalyptus oil,    tea tree oil, dried orange peel, poppy seed.</p>
      <p align="center" class="style47">Gardener's
        Blessing Bar<br />
        One Bar: $6.50<br />
        Out Of Stock</p>
      <p> </p>
    </div>
    <div id="right_column">
      <p align="center"><a href="/Product Pages/soaps/purify.html"><font size="+2" class="style1">PuriFire<br />
            <span class="style53">The bar that kills MRSA, viruses, and bacteria!
      Made with rhassoul clay and rooibos tea. Click here for more ingredients.</span></font></a></p>
    <p align="center"><span class="style57"><img src="images/PuriFireBasket.JPG" alt="" width="300" height="200" /></span></p>
      <p class="style2">PuriFire soap was developed for  healthcare
        workers who work all day in an environment
        saturated with deadly bacteria and viruses. This
          soap contains essential oils with antiviral and antibacterial properties, and will effectively cleanse your body of all unwanted microorganisms
      while leaving the beneficial ones behind for defense.</a></p>
      <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
        <div align="center">
          <input type="hidden" name="cmd2" value="_s-xclick" />
          <input type="hidden" name="hosted_button_id2" value="SQY6LVCYW9LU2" />
          <table>
            <tr>
              <td><input type="hidden" name="on" value="Quantity" />
                Quantity</td>
            </tr>
            <tr>
              <td><select name="os">
                <option value="One Bar">One Bar $8.00 USD</option>
                <option value="Five Bars">Five Bars $37.50 USD</option>
                <option value="Ten Bars">Ten Bars $70.00 USD</option>
              </select></td>
            </tr>
          </table>
          <input type="hidden" name="currency_code2" value="USD" />
          <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit2" alt="PayPal - The safer, easier way to pay online!" />
          <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1" />
        </div>
      </form>
      <p align="center"><img src="images/PuriFire stacked.JPG" alt="" width="309" height="219" /></p>
      <p align="center"> </p>
    </div>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"../../../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../../../SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>
    Any ideas? Is it something to do with where my Spry Asset folder is, like maybe I shouldn't have ../../../?????
    Thank you.

    Hi,
    Although you didn't get an answer here, I visited your web page and it looks like you found a way to solve the problem. I am having a similar problem and wonder if you (or somebody) can help me?
    My problem is that while everything else works just fine, my sub-submenus do not. The first one drops down, but the second one does not (so it looks like I have one item when in fact I have two).
    My css code is copied directly from Adobe's SpryMenuBarHorizontal.css. The only things I changed were some button widths, colors, and I tweaked the location the buttons appear in (but did not change original locations nor z-indexes, I don't think!). I am reprinting it below, just in case.
    I am using the last version of Spry (1.6.1).
    Here is a link to the page, and when you view it, keep in mind that only "Portfolio" has sub-menus, and of those, only "Writing" is supposed to have more than one sub-item ("Fiction" and "Non-Fiction").
    http://www.kateswork.com/tests/test-sample4.html
    Here is the css:
    ul.MenuBarHorizontal
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        cursor: default;
        width: auto;
    ul.MenuBar2Horizontal
        margin-left: auto;
        margin-right: auto;
        margin-top: 0;
        margin-bottom: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        cursor: default;
        width: auto;
        position: relative;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
        z-index: 1000;
    /* Menu item containers. Position children relative to this container. These have are a fixed width in the primary menu, an auto width in the secondary menu, which has no children. */
    ul.MenuBarHorizontal li
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        position: relative;
        text-align: center;
        cursor: pointer;
        width: 7em;
        float: left;
        white-space:nowrap;
    ul.MenuBar2Horizontal li
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        position: relative;
        text-align: center;
        cursor: pointer;
        width: 8em;
        float: left;
        white-space:nowrap;
    /* Submenus containers should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        z-index: 1020;
        cursor: default;
        width: 7em;
        position: absolute;
        left: -1000em;
        white-space:nowrap;
    /* Submenu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
        width: 7em;
    /* Sub-submenu containers are wider to accomodate longer items */
    ul.MenuBarHorizontal ul ul
        position: absolute;
        width: 11.6em;
        height:2em;
        margin-top: -2%;
        margin-right: 0%;
        margin-bottom: 0;
        margin-left: 0%;
    /* Sub-submenu contents */
    ul.MenuBarHorizontal ul ul li
        position: absolute;
        width: 11.7em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
        left: auto;
    /* Submenus should appear slightly overlapping to the right (99%) */
    ul.MenuBarHorizontal ul ul
        margin: 0 0 0 99%;
    /* Sub-submenus should also appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul li
        margin: 0 0 0 0%;
        height:auto;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
        left: auto;
        top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
        border: 1px solid #999999;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
        display: block;
        cursor: pointer;
        text-decoration: none;
        border-right-width: 1px;
        border-bottom-width: 1px;
        border-left-width: 1px;
        border-right-style: solid;
        border-bottom-style: solid;
        border-left-style: solid;
        border-right-color: #FFFFCC;
        border-bottom-color: #7F7F5C;
        border-left-color: #7F7F5C;
        border-top-width: .1em;
        border-top-style: solid;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size:.8em;
        font-weight:bold;
        color: #333333;
        background-color: #CCCC99;
        padding-top: 0.5em;
        padding-right: 1em;
        padding-bottom: 0.5em;
        padding-left: 1em;
    ul.MenuBar2Horizontal a
        display: block;
        cursor: pointer;
        text-decoration: none;
        border-right-width: .2em;
        border-bottom-width: .2em;
        border-left-width: .2em;
        border-right-style: solid;
        border-bottom-style: solid;
        border-left-style: solid;
        border-right-color: #CCCCCC;
        border-bottom-color: #999999;
        border-left-color: #999999;
        border-top-width: .2em;
        border-top-style: solid;
        border-top-color:#999999;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size:.8em;
        font-weight:bold;
        color: #333333;
        background-color: #FFFFFF;
        padding-top: 0.5em;
        padding-right: 1em;
        padding-bottom: 0.5em;
        padding-left: 1em;
    ul.MenuBarHorizontal ul li ul li a
        border-right-color: #7F7F5C;
    /* MOUSEOVER CONDITIONS: */
    /* On mouse-over, or "focus," buttons change to a grey background and white text.
    The following rule only applies to the IE browser (notice the syntax using the colon): */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
        background-color: #333333;
        color: #FFFFFF;
        border: 1px solid #CCCCCC;
    /* The next rule set has a group selector, so top-menu and submenu items will have the same background color and font color.  Notice that the font color here overrides the base rule, above. Menu items that are open with submenus are set to MenuBarItemHover with a grey background and white text. */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
        background-color: #333333;
        color: #FFFFFF;
        border: 1px solid #CCCCCC;
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
        background-color: #333333;
        color: #FFFFFF;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
        background-image: url(SpryMenuBarDown.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
        background-image: url(SpryMenuBarRight.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
        background-image: url(SpryMenuBarDownHover.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
        background-image: url(SpryMenuBarRightHover.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
        position: absolute;
        z-index: 1010;
        filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
        ul.MenuBarHorizontal li.MenuBarItemIE
            display: inline;
            f\loat: left;
            background: #FFF;

  • Linking to specific spry tabbed panel - code not working

    Hi,
    I have followed the tutorial at
    http://foundationphp.com/tutorials/spry_url_utils.php
    with regard to being able to link to a specific tab. For some
    reason though, my code doesn't work. I am usign Dreamweaver cs3,
    and as soon as I head back to the design view, or preview it in a
    browser for that matter, all I see is each tab one above the other,
    and the tabs no longer work.
    My code is as follows:
    <script src="../SpryAssets/SpryTabbedPanels.js"
    type="text/javascript"></script>
    <link href="../SpryAssets/SpryTabbedPanels.css"
    rel="stylesheet" type="text/css" />
    <style type="text/css">
    <script type="text/javascript"
    src="SpryAssets/SpryURLUtils.js"></script>
    <script type="text/javascript"> var params =
    Spry.Utils.getLocationParamsAsObject(); </script>
    is in the head, and the body for the tabbed panels is:
    <div id="mainContent">
    <div id="TabbedPanels1" class="TabbedPanels">
    <ul class="TabbedPanelsTabGroup">
    <li class="TabbedPanelsTab" tabindex="0">1st
    Team</li>
    <li class="TabbedPanelsTab" tabindex="0">2nd
    Team</li>
    <li class="TabbedPanelsTab" tabindex="0">3rd
    Team</li>
    <li class="TabbedPanelsTab" tabindex="0">4th
    Team</li>
    </ul>
    <div class="TabbedPanelsContentGroup">
    <div class="TabbedPanelsContent">
    <table width="100%" border="1" cellpadding="5"
    cellspacing="1px" bordercolor="#929925">
    <tr>
    <td width="54%"><!-- TemplateBeginEditable
    name="playername1" -->
    <div align="center" class="style3 style5">Player
    name</div>
    <!-- TemplateEndEditable -->
    <p align="center"><!-- TemplateBeginEditable
    name="playerpic1" --><img alt="" name="playerpic" width="180"
    height="245" border="1" id="playerpic" /><!--
    TemplateEndEditable --></p>
    <!-- TemplateBeginEditable name="playerinfo1" -->
    <p align="center" class="style3 style6 style4">Click a
    player name to view their profile. </p>
    <!-- TemplateEndEditable -->
    <p align="center"> </p></td>
    <td width="46%"><p align="center"><!--
    TemplateBeginEditable name="teamphoto1" --><img alt=""
    name="teamphoto" width="250" height="150" border="1" align="top"
    id="teamphoto" /><!-- TemplateEndEditable --></p>
    <p align="center" class="style3 style4
    style6"><u>Squad list</u></p>
    <p align="center" class="style5"> </p>
    <p></p></td>
    </tr>
    </table>
    <p> </p>
    <p> </p>
    </div>
    <div class="TabbedPanelsContent">
    <table width="100%" border="1" cellpadding="5"
    cellspacing="1px" bordercolor="#929925">
    <tr>
    <td width="54%">
    <div align="center" class="style3"><!--
    TemplateBeginEditable name="playername2" --><span
    class="style5">Player name</span><!--
    TemplateEndEditable --></div>
    <p align="center"><!-- TemplateBeginEditable
    name="playerpic2" --><img alt="" name="playerpic" width="180"
    height="245" border="1" id="playerpic2" /><!--
    TemplateEndEditable --></p>
    <!-- TemplateBeginEditable name="playerinfo2" -->
    <p align="center" class="style3 style4 style6">Click a
    player name to view their profile.</p>
    <!-- TemplateEndEditable --></td>
    <td width="46%"><p align="center"><!--
    TemplateBeginEditable name="teamphoto2" --><img alt=""
    name="teamphoto" width="250" height="150" border="1" align="top"
    id="teamphoto2" /><!-- TemplateEndEditable --></p>
    <p align="center" class="style3 style4
    style6"><u>Squad list</u></p>
    <p align="center"> </p>
    <p></p></td>
    </tr>
    </table>
    </div>
    <div class="TabbedPanelsContent">
    <table width="100%" border="1" cellpadding="5"
    cellspacing="1px" bordercolor="#929925">
    <tr>
    <td width="54%"><!-- TemplateBeginEditable
    name="playername3" -->
    <p align="center" class="style3 style6 style4">Player
    name</p>
    <!-- TemplateEndEditable -->
    <p align="center"><!-- TemplateBeginEditable
    name="playerpic3" --><img alt="" name="playerpic" width="180"
    height="245" border="1" id="playerpic3" /><!--
    TemplateEndEditable --></p>
    <!-- TemplateBeginEditable name="playerinfo3" -->
    <p align="center" class="style3 style6 style4">Click a
    player name to view their profile.</p>
    <!-- TemplateEndEditable -->
    <p align="center"> </p></td>
    <td width="46%"><p align="center"><!--
    TemplateBeginEditable name="teamphoto3" --><img alt=""
    name="teamphoto" width="250" height="150" border="1" align="top"
    id="teamphoto3" /><!-- TemplateEndEditable --></p>
    <p align="center" class="style3 style4
    style6"><u>Squad list</u></p>
    <p align="center"> </p>
    <p></p></td>
    </tr>
    </table>
    </div>
    <div class="TabbedPanelsContent">
    <table width="100%" border="1" cellpadding="5"
    cellspacing="1px" bordercolor="#929925">
    <tr>
    <td width="54%"><!-- TemplateBeginEditable
    name="playername4" -->
    <div align="center" class="style3 style4
    style6">Player name</div>
    <!-- TemplateEndEditable -->
    <p align="center"><!-- TemplateBeginEditable
    name="playerpic4" --><img alt="" name="playerpic" width="180"
    height="245" border="1" id="playerpic4" /><!--
    TemplateEndEditable --></p>
    <!-- TemplateBeginEditable name="playerinfo4" -->
    <p align="center" class="style3 style4 style6">Click a
    player name to view their profile.</p>
    <!-- TemplateEndEditable -->
    <p align="center"> </p></td>
    <td width="46%"><p align="center"><!--
    TemplateBeginEditable name="teamphoto4" --><img alt=""
    name="teamphoto" width="250" height="150" border="1" align="top"
    id="teamphoto4" /><!-- TemplateEndEditable --></p>
    <p align="center" class="style3 style4
    style6"><u>Squad list</u></p>
    <p align="center" class="style5"> </p>
    <p></p></td>
    </tr>
    </table>
    </div>
    </div>
    </div>
    <p> </p>
    </div>
    <script type="text/javascript">
    <!--
    var TabbedPanels1 = new
    Spry.Widget.TabbedPanels("TabbedPanels1", {defaultTab:(params.tab ?
    params.tab : 0)});
    The link I would then use to link to tab 2 say, would be:
    ../"pagename".php?tab=2#TabbedPanels2
    Also, when I then go to click on the Spry tabbed panels
    region in design view, I get an error message saying:
    while executing inspectSelection in spry_tabbedpanels.htm, a
    javascript error occurred.
    I am pretty inexperienced with Spry and Java so I may have
    missed something simple.
    A solution would be much appreciated as this is driving me
    mad!
    Please let me know if you need me to post more code.
    Thanks in advance.
    p.s. I am using Dreamweaver CS3 and the SpryURLUtils.js
    script is from the Spry 1.6.1 prerelease framework.

    quote:
    Originally posted by:
    brownie_jedi
    Ok, so I've just changed the code to <script
    type="text/javascript"
    src="../SpryAssets/SpryURLUtils.js"></script>
    to mimic the code for <script
    src="../SpryAssets/SpryTabbedPanels.js"
    type="text/javascript"></script>
    since the spry files are all in the same folder. Is this what
    you meant?
    Having just installed firebug, I get the error params is not
    defined. So I guess that this all together means that the
    SpryURLUtils.js file is not being called correctly?
    p.s. Thanks for the speedy replies, much appreciated.
    Yes it means it cant find the file SpryURLUtils.js.
    in firebug theres a tab called scripts, if u click on it, u
    can see wich scripts are loaded. i suggest u check that out. Or
    post a online URL so we can see the problem for our selfs..

  • Spry Collapsible Panel animation not working

    I've inserted a spry collapsible panel into a web page and it works fine when I preview it. But when I upload it to the server the animation does not work in both Safari and Firefox (haven't tried any other browsers). The panel is just static, showing the tab and the panel is open showing the content. It is supposed to be closed by default.
    I've added CSS styles but I've also tried it with the default CSS and it didn't work then either.
    Both the .css and .js files that were saved in the SpryAssets folder have been uploaded to the server in the same location as the webpage.
    I'm working on a Mac and CS4.
    URL is www.alpinism.com/New/about.html

    Thanks. That didn't resolve my issues unfortunately and the corrections it was suggesting started interfering with other functions on the page so I've gone back to square one, deleted the Spry collapsible panel and inserted javascript from http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm that does the same thing and seems to work in Safari and Firefox. Just need to check in IE but I expect this is going to be the best solution for me.

  • Spry Horizontal Menu Bar not working in IE

    Hi! I am new to this forum and new to Dreamweaver. I recently used Dreamweaver to build a website to display my digital portfolio. I am not very good at this and don't understand much of this works. I inserted a spry horizontal menu bar for my navigation. I did change the original set up to have the background the colors I wanted and I also changed the size so it would go across the top of my page. This looks fine in Firefox and Safari but in Internet Explorer the bar displays vertically, which does not look good. Can anyone look at my code and tell me how I can fix this problem?
    I appreciate any help I can get with this as I have tried everything I know.
    This is the link to my site: www.digitaldesignsbymargee.com

    Hi! I am new to this forum. I inserted a spry horizontal menu bar for my navigation but i cannot able veiw a horizontal menubar in IE though it works fine in google chrome and Mozila. Can anyone look at my code and tell me how I can fix this problem?
    w@charset "UTF-8";
    /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
        margin: 0px;
        padding: 0px;
        list-style-type: none;
        font-size: 100%;
        cursor: default;
        width: auto;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
        z-index: 1000;
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
        margin: 0px;
        padding: 0px;
        list-style-type: none;
        font-size: 100%;
        position: relative;
        text-align: left;
        cursor: pointer;
        width: 14em;
        float: left;
        border-color: white;
        border-left-style: solid;
        border-left-width: 1px;
        border-right-style: none;
        border-right-width: 1px;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        z-index: 1020;
        cursor: default;
        width: 14em;
        position: absolute;
        left: -1000em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
        left: auto;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
        width: 14em;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
        position: absolute;
        margin: 0 0 0 99%;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
        left: auto;
        top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
        display: block;
        cursor: pointer;
        padding: 0.9em 0.75em;
        color: white;
        font-size: 14px;
        font-weight: bold;
        font-family: Arial, Helvetica, Verdana, sans-serif;
        text-decoration: none;
        color: white;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
        color: #FFF;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
        color: #FFF;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
        background-image: url(SpryMenuBarDown.gif);
        background-repeat: no-repeat;
        background-position: 10px 85%;
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
        background-image: url(SpryMenuBarRight.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
        b/ackground-image: url(SpryMenuBarDownHover.gif);
        background-repeat: no-repeat;
        background-position: 10px 85%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
        b/ackground-image: url(SpryMenuBarRightHover.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
        position: absolute;
        z-index: 1010;
        filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
        ul.MenuBarHorizontal li.MenuBarItemIE
            display: inline;
            float: left;
           /* I have updated and checked the code as mentioned in the forum topic but still it is not working */
    ul.MenuBarHorizontal a:visited { color: white;}
    ul ul a { background-color: #436d9c; }
    ul a.MenuBarItemHover { background-color: #19385a; }
    ul .MenuBarItemSubmenu ul li a { border: none; }
    ul a.MenuBarItemSubmenu.MenuBarItemSubmenuHover { background-color: #19385a; }
    ul.MenuBarSubmenuVisible li { border: none; }
    I appreciate any help I can get with this as I have tried everything I know.

  • Spry elements and rollovers not working in IE (all)

    After updating my DW CS5.5 last week my rollovers and spry menu elements don't work in IE (any version). Everything worked well before update. It is not the code (ran it through validator). I tried just insert the elements to the empty page and nothing works. I really need this to resolve as my deadline is in 2 weeks. Is it any way how I coudl return to the previous version? My version now (after update) is Version 11.5 Build 5366.
    I forgot to mention that also I cannot connect to Adobe Browser Lab from DW since update ( I can do it from website) - it doesn't recognize my Adobe ID.
    Thank you to everybody who coudl give me some info
    Daniela

    Upgrading should not be the cause of the problem.
    If you want us to help you, please post a link to your site so that we can be privy to the same info that you have.
    Gramps

Maybe you are looking for