Download & Extend

External links selectors invalid for jQuery 1.2

Project:WebSnapr Preview Bubble
Version:5.x-1.x-dev
Component:Code
Category:task
Priority:minor
Assigned:Unassigned
Status:active

Issue Summary

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?

Comments

#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

Priority:critical» normal

#3

Thanks George2!

Perhaps the example in the settings should be changed to reflect this deprecation...

#4

Title:External links CSS selectors NOT WORKING» External links selectors invalid for jQuery 1.2
Category:bug report» task
Priority:normal» minor

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+.