PDA

View Full Version : Stepcarousel v1.6.1 problem reloading an navigation buttons



cosmic
01-12-2009, 10:44 PM
1) Script Title: Stepcarousel

2) Script URL (on DD): www.mxchampion.com/sunstream/1/index.php

3) Describe problem:

Hy guys,

i included the script in my index page and it works perfectly.
However when you go to another page the buttons remain visible....
On top when you go to start page = main page, the whole script is messed up.

I reload my pages using ajaxpage commands and reloading the id=container DIV.

Can someone please help me out?

script out of flash:
function actie(event:MouseEvent):void{
var url:String = "javascript:ajaxpage('index.php', 'container');";

var request:URLRequest = new URLRequest(url);
try {
navigateToURL(request, '_self');
}
catch (e:Error) {
trace("Error occurred!");
}
}


Thanks


<p><a href="http://www.dynamicdrive.com"><strong>Dynamic Drive DHTML code library</strong></a><br>
Visit <a href="http://www.dynamicdrive.com">Dynamic Drive</a> for free, original DHTML scripts
and components, all of which utilize the latest in DHTML and JavaScript technology!</p>

ddadmin
01-13-2009, 09:01 AM
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.

The problem is due to your reloading of the Step Carousel script using Ajax- when that happens, the script will not initialize properly, since Ajax unlike an IFRAME fails at executing runtime scripts. I'm not sure what you're trying to accomplish using the Ajax method actually...

cosmic
01-13-2009, 09:47 PM
As you can see, the flash header and all other items do not refresh when navigating through the website.

Is there anything we can do to solve this problem?