PDA

View Full Version : Accordion Content script/underlined link



Sof
09-06-2008, 08:41 PM
Hi,

I was wondering if anyone can help me with a little problem I have on a page where I have inserted an Accordion Content script. One of the main header classes have decided to change colour and is underlined too. This is kind of strange because it uses the same CSS as the rest of them.

Here's (http://www.purapasion.es/html/art.html#) the page

Greatful for help
Sof

techietim
09-06-2008, 09:16 PM
You seem to have an anchor tag wrapped around it. Remove it and it should go away.

Sof
09-06-2008, 09:49 PM
You seem to have an anchor tag wrapped around it. Remove it and it should go away.

Err.. I can't see it. I thought I had but I just don't know where it is...

This is the code in DW:

<h3 class="mypets">Diseņo</h3>
<div class="thepet">
<ul><li><a href="#" onclick="">Fiona</a></li>
<li><a href="#" onclick="">La Tata</a></li></ul>
</div>

OH, BTW. Thanks for answering my question!

ddadmin
09-06-2008, 10:32 PM
Warning: Please include a link to the DD script in question in your post. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question.

Sof
09-07-2008, 07:12 PM
Ok. I have tried to find the same script but I no luck. I think it might be thisone (http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu.htm) although it has been modified since I first got it.

Thanks
Sof

Sof
09-09-2008, 07:25 AM
New try... Pushing up...

Script:Accordion Content script
thisone (http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu.htm)

Hi,

I was wondering if anyone can help me with a little problem I have on a page where I have inserted an Accordion Content script. One of the main header classes have decided to change colour and is underlined too. This is kind of strange because it uses the same CSS as the rest of them.

Here's (http://www.purapasion.es/html/art.html#) the page

Sof

codeexploiter
09-09-2008, 07:48 AM
In your page the following markup seems to be incorrect. Check the highlighted part.


<h3 headerindex="2h" class="mypets"><a href="#" onclick="Inventor</a">Diseņo</a></h3>
<div contentindex="2c" class="thepet"><a href="#" onclick="Inventor</a">

You may be trying for the following code:


<h3 headerindex="2h" class="mypets"><a href="#" onclick="">Diseņo</a></h3>
<div contentindex="2c" class="thepet"><a href="#" onclick="">Inventor</a></div>

Sof
09-09-2008, 06:31 PM
That fixed it! Thanks very much!