Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to use Spry Tabbed Panels?

Guest
Aug 22, 2008 Aug 22, 2008
Hello, I made spry tabbed panels but I'd like them to work on a rollover or mouseover instead of a click. Here's what I tried but it didn't actually do anything. Do I have to edit the .js file?
TOPICS
Extensions
564
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 22, 2008 Aug 22, 2008
jcafaro10 wrote:
> Hello, I made spry tabbed panels but I'd like them to work on a rollover or
> mouseover instead of a click. Here's what I tried but it didn't actually do
> anything. Do I have to edit the .js file?

I believe that you do have to edit the .js file to accomplish what you're looking for. I think that a couple of folks have already done this and have posted a thread/response in the Spry forum, so I'd suggest searching that forum for mouseover or related terms:
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=72&catid=602


--
Danilo Celic
| http://blog.extensioneering.com/
| WebAssist Extensioneer
| Adobe Community Expert
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 25, 2008 Aug 25, 2008
LATEST
Wanted to do the same. Came looking for this answer sort of. My "hack was to just do JS mouseover's. I didn't edit the Spry tabbed panels .js. Rather included them in the code ( which I was trying to avoid seeing as I had a nice pretty CSS to do my hovers. So I have messy Javascript code that isn't pretty. But it works! Let me know if you find a "cleaner solution". But until then, this worked for me. Below is an example that allowed me to create my own tabbed panels. Hope that helps.

<div id="TabbedPanels1" class="TabbedPanels">
<ul class="TabbedPanelsTabGroup">
<li class="TabbedPanelsTab" tabindex="0"><div id="box1"><img src="Image1.jpg" alt="" name="Image1" width="268" height="138" id="Image1" onMouseOver="MM_swapImage('Image1','','RolloverImage.jpg',1)" onMouseOut="MM_swapImgRestore()"></div>
</li>
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines