Usually, "rotator.tnails[6]" refers to the List element, not the separator.
I will a new method for you to access
the attribute for the List separator tonight. Will let you know after I
check in the code.

Thanks,

Jian

On Mon, Jul 20, 2009 at 3:49 PM, Manoj Chavan <[email protected]>wrote:

>
> My Source:
>
> <div class="thumbnails">
> <ul>
> <li class="thumbnail">
> <img alt="Dan Henderson Ruins UFC's Hopes For UFC 105 and Michael Bisping"
> src="/images_root/image_pictures/0518/0180/127482_crop_85x60.jpg"/>
> </li>
> <li class="thumbnail">
> <img alt="Underdog Sports: Best Pro Women Athletes Today No. 10-6"
> src="/images_root/image_pictures/0517/9892/98173_crop_85x60.jpg"/>
> </li>
> <li class="thumbnail">
> <img alt="The Chicago Cubs: My First MLB Game Pt.2; The Magic Of Hatfeild
> Hotdogs!"
> src="/images_root/image_pictures/0517/9210/100722_crop_85x60.jpg"/>
> </li>
> <li class="thumbnail">
> </li>
> <li class="thumbnail active">
> <img alt="Boston Red Sox Weekly Recap (Week 15)"
> src="/images_root/image_pictures/0518/0204/6839_crop_85x60.jpg"/>
> </li>
> <li class="thumbnail potd">
> <div class="potd-icon png-fix"/>
> <img alt="Browns Fans Want To See More Of Jerome Harrison, You're Getting
> Your Wish"
> src="/images_root/image_pictures/0517/9916/111034_crop_85x60.jpg"/>
> </li>
> </ul>
> </div>
>
>
> // My Module Def:
>         ui.Container(uid:"rotator",
> clocator:[tag:"div",class:"thumbnails"]){
>             List(uid: "tnails", clocator: [tag: "ul"], separator: "li"){
>                 UrlLink(uid: "all", clocator: [:])
>             }
>         }
>
>
>
> I want to get the attribute of the [6] element.
>
> getAttribute("rotator.tnails[6]", "class")   gives me no element exception
>
> How do I define the module so that I get back the string "thumbnail potd"
>
> Any help pointer appreciated. Thank you.
>
> Manoj
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to