Spry Menus

22 posts by 3 authors in: Forums > CMS Builder
Last Post: May 9, 2011   (RSS)

By dccreatives - April 28, 2011 - edited: April 28, 2011

I am trying to use CMS with Spry Collapsable Panels.

On this page,

http://axislighting.com/CMS/downloadsList-spec.php?brand=Dia

I would like to have each panel be in the Collapsable panels. How do I make it loop. ON the bottom of the page, there is a script:

<script type="text/javascript">
<!--
var CollapsiblePanel1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel1");
//-->
</script>

I need it to figure out how to increase with as many results as there are.

The first panel works nicely.

Thank You.

Re: [Damon] Spry Menus

By dccreatives - May 2, 2011

I seem to be missing something. I attached the page.

You can view the page live here:

http://axislighting.com/CMS/downloadsList-spec.php?brand=Dia



Please advise.
Attachments:

downloadslist-spec.php 6K

Re: [dccreatives] Spry Menus

By Damon - May 2, 2011

Hi,

I looked at the attached code and the live page.

Couple of things in your code:
- missing a closing </div>
- not echoing out counter for your tabindex number

Can you create a separate hard coded working example of the Spry Menus working with the same content?

Then it is easy to compare the source of the working example to the output source of the live page to see which isn't the same.

Let me know.

Thanks!
Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Damon] Spry Menus

By dccreatives - May 2, 2011

Here is a working copy of the spry menus. It only works for the first one, since it needs to loop based on the content it is pulling. I am attaching the file and you can view it in action here:

http://axislighting.com/CMS/downloadsList-spec2.php?brand=Dia

Please advise how I can make it loop properly.
Attachments:

downloadslist-spec2.php 6K

Re: [dccreatives] Spry Menus

By gkornbluth - May 3, 2011

Hi,

Interesting application.

I don't know this widget, but I agree with Damon,

Can you mock up a 2 or 3 menu hard coded HTML sample of a working page? (maybe 3 sample links in each)

Then it should be much easier to help you port it over to CMSB.

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [gkornbluth] Spry Menus

By dccreatives - May 3, 2011 - edited: May 3, 2011

Attached is a document with the spry menus. I am including the .js and .css files as well.



You can see a working copy online at

http://axislighting.com/CMS/spry-test.html

Re: [dccreatives] Spry Menus

By gkornbluth - May 3, 2011

Great,

I got the page up and running.

One more request:

Could you post the brands.ini.php and the downloads.ini.php files from your data/schema folder

Also, what are you using the info1 fields for in brand_logo and specification_sheets?

Thanks,

Jerry
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [gkornbluth] Spry Menus

By dccreatives - May 3, 2011

Did you forget to attach them?



Please advise.

Re: [dccreatives] Spry Menus

By gkornbluth - May 3, 2011

Sorry

I got the sample HTML page up.

It will be much easier for me to re-create your CMSB situation if you post the 2 ini.php files above, and let me know about the info1 fields.

Jerry
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php