Skip navigation
Currently Being Moderated

htmlpanel nightmares

Jun 22, 2012 11:03 AM

I recently created an app that has spry tabbed panels. The tabbed panels look and work great. Inside those panels, I need to dynamically load an individual page for each tab (this app will have many tabs, so dynamic page loads is a must).

 

If I use the htmlpanel spry to dynamically load the files, I have certain issues (that don't happen when I open them outside of the htmlpanel).

 

1) I have an accordian widget that works when I open the page, but using htmlpanel it doesn't work. I ended up loading all the code inside of the first tabbed panel (as opposed to loading it when clicked). It works that way, but I want to have the accordian on more panels that only load when they are clicked on.

 

2) If I have a page in a different folder than the tabbed panels, when I load it inside of the htmlpanel, all my href links default to the folder of the tabbed panel - and not to the folder where the page exists. It works perfectly outside of the htmlpanel, but strange behavior inside of it.

 

 

Am I going about this wrong? Is there a better way to load pages dynamically inside of tabbed panels (instead of htmlpanels)?

Is there workarounds for the strange behavior?

 

 

thanks

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points