Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 38625

Use for questions about JavaScript code that is very specific to Drupal.

-1 votes

How to add Javascript in Drupal 7 with jQuery?

I may be wrong but I would remove your inner foreach and just use your $b variable instead of $no. Alternatively here is another way to do it: http://jqueryui.com/accordion/
boateng's user avatar
  • 111
0 votes

behaviors javascript executing

Difficult to separate your php from javascript, but if you set js variable with this php code it should execute first and can be used within leaflet js function later: <? …
boateng's user avatar
  • 111
0 votes

How do I use the photoswipe script?

<script type="text/javascript"> // Set up PhotoSwipe with all anchor tags in the Gallery container document.addEventListener('DOMContentLoaded', function(){ Code.photoSwipe …
boateng's user avatar
  • 111