jquery popup within ajax
Posted: 27 April 2010 04:27 AM   [ Ignore ]
Newbie
Rank
Total Posts:  30
Joined  2010-04-25

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.


____________________________________________


Bariatric Surgery
steriods

Profile
 
 
Posted: 21 March 2011 12:44 PM   [ Ignore ]   [ # 1 ]
Newbie
Avatar
Rank
Total Posts:  11
Joined  2011-03-21

so what exactly are u trying to achieve?

Profile
 
 
Posted: 06 June 2011 08:12 PM   [ Ignore ]   [ # 2 ]
Sr. Member
RankRankRankRank
Total Posts:  139
Joined  2010-04-23

I’m not following what you’re trying to do.
_____________________________
Running - Running Log
5k - 10k - Half Marathon - Marathon

Profile