is not working no java script link in ajax-frame content Ajax Tabs Content Script
http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm

>>>do not open new ajax link from ajax-frame content!
do not open Lightbox v2.03.2 (http://www.huddletogether.com) link from ajax-frame content!

could you find some way how to fix it?
for example the link from Ajax Tabs Content Script doesn't work in frame

Hi,
Can you please describe your problem properly ?
It will help every one to understand your problem.

in the ajax project ajaxtabscontent by site http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/

is not working any javasripts inside ajaxtabscontent container DIV
the javascripts are working by ajaxtabscontent IFRAME option, so the JS work's in IFRAME,
but I need to work it in ajaxtabscontent DIV.
for example by testing lightbox inside ajaxtabscontent DIV is not working!
why? please,do someone nows to fix it?

lightbox is not working inside to ajaxtabscontent! why? how to fix it?

-------- ---------------

I need to use content directly added inside container DIV,
not to inside in IFRAME!

This sounds like a similar problem as this thread: http://www.daniweb.com/forums/thread113959.html

To me it appears that you are loading javascipt functions within your Ajax content - this will not work as expected. You should load your javascript functions into the main page that is loading the Ajax content, then you can call those javascript functions from within your Ajax content.

For example, you are using Lightbox - the Lightbox javascript files must be loaded into your main page (demo.htm if using your example) not into your Ajax pages. From within the Ajax pages you can then call the Lightbox functions.


Matti Ressler
Suomedia

see exampe in site http://195.244.155.240/raivis/portfolio/upgrade/en/drawing
and do click on the resize next to the big image

> sadly the JavaScript doesn't work even by your, Suomedia, suggestion to load javascript functions into the main page.

do you have a other suggestions to fix a ajaxtabscontent javascript?

Your Lightbox functions use, for example, document.getElementByTagName

Such will not work from Ajax loaded content. Instead, you must rewrite your function to work via the element id sent to it from the Ajax page (see my other posts on this same topic).

I am about to create a Lightbox effect for I site I am working on here: http://www.suomedia.com/ghm/ PM me your email and I'll get in touch once its done.


Matti Ressler
Suomedia

works inside container DIV by "countries.expandit
($i)" (see it on link Tab 1)but!!! does not work by <ul id="mtabs"><li><a
href="external1.htm" rel="mcontainer">Sample</a> etc.(see it on link Tab 2)

Why are you expecting the links in external2.htm to do anything special? They are just regular links and will open the pages they are pointing to (not Ajax).


Matti Ressler
Suomedia

I did look.....

This is just a plain link (which will open a new page as I would expect):

<a href="external1.htm" rel="moderncontainer" class="selected">Tab 1</a>

Whereas this calls a javascript function (Ajax, which also works as expected):

<a href="javascript: countries.expandit(0)">Tab 1</a>

Matti Ressler
Suomedia