PDA

View Full Version : Dynamic Ajax Content (CSS Bug found)



Monclee
02-29-2012, 07:41 PM
1) Script Title: Dynamic Ajax Content

2) Script URL (on DD): http://dynamicdrive.com/dynamicindex17/ajaxcontent.htm

3) Describe problem:

It works great!!! but i think i found a BUG.

When i load the html everything its fine, and also using loadjobs i have bben able to load a css, that applys a style to id="selected" menu, so i name every button "selected1" "selected2"....

<a href="javascript:ajaxpage('descripcion.html', 'descload'); loadobjs('css/selected.css')" id="selected">DESCRIPCIÓN</a>

<a href="javascript:ajaxpage('file2.html', 'descload'); loadobjs('css/selected1.css')" id="selected1">DESCRIPCIÓN</a>

It works GREAT the first time, but if i try to "reload" the previous css, nothing changes, it seems like it just load it once..

After that i can load the content but no css changes are loaded =(

hope anyones can help me