Hi guys,
It’s my understanding that a jquery function within an ajax navigation div needs to be called via the link?
Code:
<div id=“nav”>
<li>ajaxpage(‘ajaxfiles/index.php’, ‘colmask threecol’);loadobjs(‘ajaxfiles/design/style.css’, ‘js/sidenav.js’)“class=“first” ]News</li>
So here I’m loading the content of index.php via the ajaxpage javascript function. That works ok. The problem is that each <li> item in the <ul class=sidenav> should have a popup jquery text bubble (called by js/sidenav.js)
I know it is calling the files because the styles are applied (Everything loads into the appropriate columns)
—————-(index.php)————————
Code:
<ul class=“sidenav”>
<div class=“colmask threecol”>
<div class=“colmid”>
<div class=“colleft”>
<div class=“col1”>
echo “<ul>”.
“<hr><li><a >$title</a></hr>
“.
“<div>$desc</div>”.
“</li></ul>”;
So sidenav is called and the first echo within the php code is the <ul> item followed by a <li>
The syntax is correct because it worked without the ajax layer. This leads me to believe that theres a problem with the layering. something isn’t positioned correctly.
____________________________________________