Javascript

All you Javascript crazed developers out there, this is the group for you.

Drupal is in need of some usability improvements and after a few meetings and a lot of discussion, it is now time to take advantage of our new JQuery library in Drupal.

mahyarss's picture

i Need help dynamic load content without refresh page (Drupal full AJAX)

hi

i need help for finding a way to have a full ajax drupal website (dynamic loading content without refresh page) like "Asynchronous" module

i just found "Asynchronous" module but this module is developing and not stable

i used that module and had a problem in pagination:
when i click "next" or "page 2" error displays:

page can't find
The requested page could not be found.

http://localhost/mydrupal/#category/textcontent/shortstory?page=1&page_r...

please help me this problem or recommend me a better solution...

thanks for help me

ClearXS's picture

Should AJAX be depreciated in favor of a AHAH module?

I read some discussion (maybe find them back later) about that AJAX is replaced by AHAH and CTools in D7.

As I'm constructing a module rich site, it will take me at least a year to change to D7 when all those modules have been upgraded.

But I prefer to work with the new technology for D6, not the old one. Will AJAX be modernized for D6 to be fully AHAH?

Or would it be better to start a AHAH project and move all functionality of AJAX over to that project for D6, as well as for D7?

ClearXS's picture

Years looking for very difficult to find modules, but now there is a way?

I have an enormous list of over 600 modules and manually types some specifications in an extensive list.

Still I haven't seen all the modules that I might use, now going through this complete list:
http://drupal.org/project/modules/index?drupal_core=87 (D6)

And why all this work for months and months..?

Something must be basically wrong here.

Today I found (after years) this module by searching on "sort" in the above list:

http://drupal.org/project/views_tablesorter - http://tablesorter.com/docs/#Demo

Read more
jacobroufa's picture

Fivestar Help?

So I'm using the latest version of Fivestar for Drupal 5. When I click the star, I expect the (x votes) number to update, but it doesn't. Is this a feature that already exists? If not, how can I implement it? My JS-fu isn't so great but can't I do something like register a click handler that runs a parseInt on div.fivestar-summary span.total-votes span and then iterates a count +1? I've got a general idea how to do it but the specific implementation I'm not so sure.

John melone's picture

Drupal developer | ubergig

Employment type: 
Contract
Telecommute: 
Not allowed

I'm working with three different clients in NYC all looking for great Drupal developers. My clients range from the Interactive world, to financial and software development companies.. They are Perm and long term contracts . If your not in the job market but know someone who is we do offer referral fee's.

We need a creative, experienced Drupal developer to join a fast-moving team in redesigning a publisher website by:
· Extending the Zen theme to support new page layouts
· Developing custom queries to leverage a taxonomy and content model in page-specific ways

Read more
John melone's picture

Javascript developer | ubergig

Employment type: 
Contract
Telecommute: 
Not allowed

Ubergig currently has a 4+ month contract for a Developer working in NYC

Roles and Responsibilities:

Read more
killerrabbit's picture

Adding js files to specific pages

I have two different plug-ins that require two different versions of Jquery. I need to have the specific file load according to the page it is on. I have found the following code but have not been able to get it working.

<?php
function yourModuleOrThemeName_preprocess_page(&$variables) {
if(arg(0) == 'yourPage') {
$scripts = drupal_add_js();

$new_jquery = array('yourNewJQueryPath/jquery14.js' => $scripts['core']['misc/jquery.js']);
$scripts['core'] = array_merge($new_jquery, $scripts['core']);
unset($scripts['core']['misc/jquery.js']);
Read more
killerrabbit's picture

Jquery Carousel in Drupal

Hello,

Read more
John melone's picture

Front end developer | ubergig

Employment type: 
Contract
Telecommute: 
Not allowed

Ubergig currently has a 4+ month contract for a Developer working in NYC

Roles and Responsibilities:

Read more
stuartEngelhardt's picture

Conflicts with Cycle's updateActivePagerLink

I am somewhat new to initiating discussion on the Drupal Groups site, and am not quite sure where to bring this up. We have a conflict with two modules we are using, and while I have discovered the problem, I am not quite sure why what is being done is being done, and am not sure where to file a bug (if that is the right thing to do).

We are using both the rotor module and the jquery_plugin module.

This is from the rotor module's rotor.js file:

12 // redefine Cycle's updateActivePagerLink function
13 $.fn.cycle.updateActivePagerLink = function(pager, currSlideIndex){

Read more
killerrabbit's picture

jQuery Help

Hi All,

I was wondering if there was any books or tutorials out there for implementing jQuery plug-ins.

John melone's picture

Javascript developer | ubergig

Employment type: 
Full time
Employment type: 
Contract
Telecommute: 
Not allowed

ubergig currently has a long term contract position for a OO javascript developer in NYC. All work must be done on-site.

Roles and Responsibilities:
We are looking for someone with strong CSS/DIV Layout with equally strong JavaScript (YUI/JQuery) skills. You will be working with graphic designers and developers to implement award winning designs. We are looking for a technical front end developer who has a solid understanding of OO JavaScript and the APIs.

NOTE: We will be requesting code samples and/or live Links to RIAs you worked on

Professional Skills and Requirements:

Read more
ltwinner's picture

Showing views in a popup dialog?

I am basically looking to replicate the functionality of the facebook friends dialog. You click the link saying 'See All' in the friends block and you get a popup listing all your friends. Is there an existing drupal module that can do this?

49nq1's picture

Jquery web form

Hello,
I'm using 2 different scripts on my web form
1) accordion - to display it in a few different sections.
2) preview before submission.

now, when I'm testing it on my computer (using wamp) it's all working
fine according to my expectetions.

the problem starts when I'm uploading it to my website, for some reason
only the accordion script seams to work, and the preview before submission don't.

I have looked in the view source and the script is loaded, and I also tried to clean all the site cache but nothing is changing.

Somebody have any idea?

Read more
ClearXS's picture

Group organization, streamlining, jQuery 1.8/1.9, JavaScript, AJAX, jQuery Eye Candy, etc.

Hi,

actually I don't know the differences between AJAX, JavaScript and jQuery. But before answering here, maybe a wiki page is missing and could be mentioned in the group description?

In many groups such info lacks in the description. Yes I'm familiar with groups, but from Yahoo and the Dutch http://Clubs.nl (they WERE the first & the best, Yahoo bought the software and made a cut down version for its groups). So I'm not that happy with the features and design of Drupal groups, but that's another issue...

Read more
BWind's picture

Need Help

I have this Javascript that I am using on our companies webpage. It works fine in Firefox but will not work in IE. Can anyone help me please?


var interval = 5; // delay between rotating images (in seconds)
var random_display = 0; // 0 = no, 1 = yes
interval *= 1000;

var image_index = 0;
image_list = new Array();

Read more
calebtr's picture

proper way to handle drupal hook_submit from jquery $.ajaxform() calls

I'm adding a from to allow users to change a node's taxonomy without going to the edit page, similar to the community tags module, except with a controlled vocabulary instead of free tagging.

I built the form in a custom module and made sure all the hooks worked. Then I added the call to JQuery's .ajaxform() function. It works beautifully except that I want to apply some effects after the changes, so I wanted a different, JSON-y response if the call was from Ajax, rather than if it was a usual http request from the browser.

Read more
jdln's picture

This javascript effect in Drupal?

I have a series of headings with text and images underneath. I want it so just the headings show, and when you click on a heading the content slides out. Clicking the heading again will hide the content.

This is basically what im trying to achieve;
http://demos111.mootools.net/Fx.Slide

This is similar to the accordion except that I want users to be able to have multiple sections open at once. With the accordion (as far as i know) clicking on a different heading will close one thats open.

Read more
erinclerico's picture

Trying to build custom taxonomy drill-down with jQuery & Ajax

Post deleted. I was so far off the mark on this post that it is not worth keeping up - sorry for the bother everyone.

scafmac's picture

How to set JS setting from a theme

Using drupal_add_js($data, 'setting') doesn't appear to work from the theme. I've tried adding a setting from the template.php as well as the page.tpl file - neither worked. If I move the same exact code to a module, it worked fine.

I've combed through the D6 api page for drupal_add_js & saw no mention that the setting type wasn't an option from a theme. Am I missing something? Is there any way to pass a JS setting from a theme?

Subscribe with RSS Syndicate content

Javascript

Group events

  • 2015-11-16 08:00 - 2015-11-20 13:00 America/New_York
Add to calendar

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: