BV Commerce Forum
»
BV Commerce Support
»
Development
»
Checking my pages for Validation - Alt tag for product image?
Rank: Member
Joined: 6/26/2006(UTC) Posts: 351
|
I'm trying to get my webpages to all validate, but the product page needs an Alt tag (for its main image). I can't figure out how to grab the product name to populate the image alt tag.
Also, on the Category page when there are more than one page to page through, there is a disabled="disabled" attribute that doesn't validate for me, but I couldn't find where it rendered. |
|
|
|
|
Rank: Member
Joined: 8/17/2006(UTC) Posts: 681
|
Angela, 1. ProductMainImage.ascx.vb -> Page_Load: If _product IsNot Nothing Then If (Not _product.AdditionalImages Is Nothing) And (_product.AdditionalImages.Count > 0) Then ProductUtils.SetLinkDetails(ZoomLink, _product.Bvin, w, h, Page) imgMain.AlternateText = "Click for more images" ----- add this line End If End If
2. I remember I fixed that disabled=disabled but can't remember where. If you tell me the file/line I might find how I fixed it.
BTW, if you change pages to validate could you please feed those changes (or the relevant ones) back to BV to be incorporated back into the product?
Thanks, Corneliu. |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.