Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1872 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Need help on accordion in Moofx

Thread title: Need help on accordion in Moofx
Closed Thread    
    Thread tools Search this thread Display Modes  
03-08-2006, 05:00 PM
#1
Broos is offline Broos
Status: I'm new around here
Join date: Mar 2006
Location:
Expertise:
Software:
 
Posts: 5
iTrader: 0 / 0%
 

Broos is on a distinguished road

  Old  Need help on accordion in Moofx

I'm trying to make an accordion effect, so that i can open and close div's. But unfortunatly, it isn't working.. So help anyone. This is my code, the thing between <caption> has to be always visible. And the open.gif has to open/close the div. Thanks in advance!

HTML Code:
<table>
<caption>
User Panel
<span style="margin-left: 65px;"><a href="#"><img src="images/open.gif"></a></span>
</caption>
<tr>
<div>
<td>
Text only visible when opened
</td>
</div>
</tr>
</table>

03-08-2006, 05:35 PM
#2
Bas is offline Bas
Status: I love this place
Join date: Jan 2005
Location: The Netherlands
Expertise: Frontend, vBulletin
Software: Coda, Photoshop
 
Posts: 607
iTrader: -1 / 0%
 

Bas is on a distinguished road

Send a message via MSN to Bas

  Old

You haven't said what isn't working, but the HTML doesn't seem to be valid, you have a 'div' tag between your 'tr' and 'td' tags. This is valid though:

HTML Code:
<table>
<caption>
User Panel
<span style="margin-left: 65px;"><a href="#"><img src="images/open.gif"></a></span>
</caption>
<tr>
<td>
<div>
Text only visible when opened
</div>
</td>
</tr>
</table>
If it still doesn't work you should post the javascript error you're getting.

03-08-2006, 07:53 PM
#3
Broos is offline Broos
Status: I'm new around here
Join date: Mar 2006
Location:
Expertise:
Software:
 
Posts: 5
iTrader: 0 / 0%
 

Broos is on a distinguished road

  Old

Nothing is not working, I just don't know how to make such a javascript script which opens and closes text. So that is what my question is!

03-08-2006, 08:00 PM
#4
Joe is offline Joe
Status: Custom User Title
Join date: Apr 2005
Location:
Expertise:
Software:
 
Posts: 2,297
iTrader: 0 / 0%
 

Joe is on a distinguished road

  Old

Are you actually utilising Moo.fx??

03-10-2006, 07:39 PM
#5
Broos is offline Broos
Status: I'm new around here
Join date: Mar 2006
Location:
Expertise:
Software:
 
Posts: 5
iTrader: 0 / 0%
 

Broos is on a distinguished road

  Old

I don't know anything about javascript or moo.fx, I just heard that this was a good programme for these things... So that is why I ask help from you guys!

03-10-2006, 07:40 PM
#6
Broos is offline Broos
Status: I'm new around here
Join date: Mar 2006
Location:
Expertise:
Software:
 
Posts: 5
iTrader: 0 / 0%
 

Broos is on a distinguished road

  Old

..programme.. i mean library

03-12-2006, 07:40 AM
#7
Garrett is offline Garrett
Status: Waving
Join date: Aug 2005
Location:
Expertise:
Software:
 
Posts: 2,694
iTrader: 11 / 100%
 

Garrett is on a distinguished road

Send a message via MSN to Garrett

  Old

You need to tell us were your getting this code...

03-12-2006, 09:19 PM
#8
Broos is offline Broos
Status: I'm new around here
Join date: Mar 2006
Location:
Expertise:
Software:
 
Posts: 5
iTrader: 0 / 0%
 

Broos is on a distinguished road

  Old

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed