To start, I'm seeing the same problem. The links briefly appear before disappearing when the accordion expands.
On Aug 28, 6:50 pm, nevinvj <[email protected]> wrote: > Hello, > > I am new to JQuery UI. > > While using theAccordionwidget, I need to display some links in- > between the <div> tags. However, when I try the normal way of doing > it: <a href="test.php">Test Page</a>, in fact, the words "Test Page" > disappear completely from the text. > > I would be grateful if somebody can help me out! > > Thanks > > -- Nevin In IE 7 when opening an accordion the links inside blink out after the accordion fully opens. Example using jquery 1.3.2 and jquery-ui 1.7.2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http:// www.w3.org/TR/html4/loose.dtd"> <html> <head> <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="js/jquery-ui.js"></script> <script type="text/javascript"> $(document).ready(function() { $('.toggle').accordion({ active: false , autoHeight: false , collapsible: true , header: 'h4' }); }); </script> </head> <body> <div style="position:relative;"> <div class="toggle"> <h4 title="show / hide"><a href="#">Toggle</a></h4> <div> <p>There should be a <a href="javascript:alert('hello');">link</a> here</p> </div> </div> </div> </body> I'm not sure which is the culprit, but both the container with position relative and the doctype seem to be required. Looking inside jquery-ui.js, there appears to be a zoom fix on the a tags. I tried overriding the inline style, but that doesn't seem to be the problem. It appears that the change to style causes the elements to blink in and out of existence. However, I don't know what the zoom fix is fixing or else I'd remove it. HTH --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
