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

George2’s picture

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

George2’s picture

Priority: Critical » Normal
spiffyd’s picture

Thanks George2!

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

Gurpartap Singh’s picture

Title: External links CSS selectors NOT WORKING » External links selectors invalid for jQuery 1.2
Category: bug » 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+.

Eugene Fidelin’s picture

Status: Active » Closed (won't fix)