[Wtr-general] Accessing elements between DIV tags

Daniel Kurtz dkurtz at olenick.com
Tue Apr 10 11:24:04 EDT 2007


Thanks, I'll give it a try. Although I haven't had luck so far with things like div().links. We'll see how it goes.
 
Daniel Kurtz 

________________________________

From: wtr-general-bounces at rubyforge.org on behalf of Zeljko Filipin
Sent: Tue 4/10/2007 3:47 AM
To: wtr-general at rubyforge.org
Subject: Re: [Wtr-general] Accessing elements between DIV tags


Hi Daniel,

This is how you can flash each link from the second div.

ie.div(:class, "bottom_menu").links.each {|link| link.flash}

Zeljko 
-- 
ZeljkoFilipin.com 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 4066 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/wtr-general/attachments/20070410/f0ce8afb/attachment.bin 


More information about the Wtr-general mailing list