Ouroboros
06-03-2010, 01:14 PM
1) Script Title: Animated Collapsible Div
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm
3) Describe problem: Is it possible to have a link that sends a url to an iframe on the same page from inside a toggle div set that works?
Hi there, I have the animated collapsible div working fine already, but there is a problem I have that maybe someone can help fix. Basically I have a situation where I have two divs: one div that hides another that has a few text links inside of it. Clicking on one of these text links inside one of these divs is supposed to close the div that has the links and load content into an iframe. Well when one clicks on the link, the divs behave just fine, BUT the link itself isn't actually sent so the browser can act on it! I can see the link in the activity bar but I am guessing that the script performs the hide function BEFORE the browser can act on the link itself. Is there a way around this? Here is an example:
<div id="george"><a href="link.html" target="iframe" rel="expand[larry]">Link to send URL to iframe and then close this div</a></div><div id="larry"><a href="javascript:animatedcollapse.toggle(['george'])">goto to div with iframe link</a></div>
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm
3) Describe problem: Is it possible to have a link that sends a url to an iframe on the same page from inside a toggle div set that works?
Hi there, I have the animated collapsible div working fine already, but there is a problem I have that maybe someone can help fix. Basically I have a situation where I have two divs: one div that hides another that has a few text links inside of it. Clicking on one of these text links inside one of these divs is supposed to close the div that has the links and load content into an iframe. Well when one clicks on the link, the divs behave just fine, BUT the link itself isn't actually sent so the browser can act on it! I can see the link in the activity bar but I am guessing that the script performs the hide function BEFORE the browser can act on the link itself. Is there a way around this? Here is an example:
<div id="george"><a href="link.html" target="iframe" rel="expand[larry]">Link to send URL to iframe and then close this div</a></div><div id="larry"><a href="javascript:animatedcollapse.toggle(['george'])">goto to div with iframe link</a></div>