Drupal jquery/javascript code for views

I've been working on a javascript/jquery code problem in Drupal for weeks and would like to find someone who can step in and sort out the problem. I have created a list of nodes in a view. Each node has a click which loads a new view via ajax. In turn each node in the new view has a click which loads a new view, etc, etc. So we end up with a lot of nested views. I want each new view loaded into a block to the right of the clicked node. Though the jquery/javascript works fine in the original view, I'm having problems with the javascript behaviour and css of the nested views.

Here is an example of the script I am using at the moment;

[url removed, login to view] = function (context) {

$('.morelink:not(.togg-processed)', context).addClass('togg-processed').each(function () {

var myindex = $('.morelink').index($(this));

var target = $('.newthing').eq(myindex)

var nid = $(".mynid").eq(myindex).val();

$(this).click(function() {

if (($('.hiddenrows').eq(myindex).is(":hidden")))

{ $('.hiddenrows').eq(myindex).show();


var toLoad = [url removed, login to view] + 'replies/' + nid;

xhr = $.ajax({

url: toLoad,

success: function(data) {


[url removed, login to view](context);









return false;

I could use someone to step in and help get me over the hump.

Compétences : AJAX, CSS, Drupal, Javascript, PHP

en voir plus : html code for javascript, get right code, find javascript, find code, c# context help, jquery node, jquery end, get code, val , NID, jquery script, jquery javascript, javascript jquery, html php css javascript jquery, Drupal View, views ajax, ajax block drupal, drupal ajax views, javascript url example, jquery html sort, html javascript example, drupal ajax block, javascript url php, jquery ajax show hide, javascript etc

Concernant l'employeur :
( 0 commentaires ) London, United Kingdom

Nº du projet : #1668707

4 freelance font une offre moyenne de $63 pour ce travail


Hi, interested.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(50 Commentaires)

I am an expert php programming and drupal developer. Lets begin this project today.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(7 Commentaires)

Hi, Ready To fix This issue,

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(4 Commentaires)

hello sir i can complete your task in some hours.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)