External links selectors invalid for jQuery 1.2
spiffyd - October 22, 2008 - 14:01
| Project: | WebSnapr Preview Bubble |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Adding this as a CSS selector in settings:
div.node a[@href^=http://]:not([@href*=DOMAIN.COM)
does not trigger popups.
Other selectors work though... Can someone confirm?

#1
div.node a[href^=http://]:not([href*=example.com])
works in the 6 version, i'd imagine would work in 5 too.
the @ was deprecated in jquery 1.2 so that may be your problem, plus you are missing a ] after .COM
#2
#3
Thanks George2!
Perhaps the example in the settings should be changed to reflect this deprecation...
#4
Drupal 5 does not have jQuery 1.2, and the default package supports the example selector. However, instructions can be added in case the user upgrades to jQuery 1.2+.