473,388 Members | 1,207 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

rewrite text of every ALT tag on-the-fly?

What would be a method to rewrite the text of every ALT tag on a web page
on-the-fly?
--
Thanks in advance, Les Caudle
Sep 16 '06 #1
5 1164
Hi,

Les Caudle wrote:
What would be a method to rewrite the text of every ALT tag on a web page
on-the-fly?
--
Thanks in advance, Les Caudle
On the client or on the server?

Greetings,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Sep 16 '06 #2
Laurent - On the server - hopefully without having to modify hundreds of IMG
tags to runat="Server".

Thanks, Les Caudle
On Sat, 16 Sep 2006 23:18:18 +0200, Laurent Bugnion <ga*********@bluewin.ch>
wrote:
>Hi,

Les Caudle wrote:
>What would be a method to rewrite the text of every ALT tag on a web page
on-the-fly?
--
Thanks in advance, Les Caudle

On the client or on the server?

Greetings,
Laurent
Sep 16 '06 #3
ihhtpmodule filter as the request passes through the pipeline

Regards

John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com
"Les Caudle" <ve**@tiredofspam.comwrote in message
news:mf********************************@4ax.com...
What would be a method to rewrite the text of every ALT tag on a web page
on-the-fly?
--
Thanks in advance, Les Caudle

Sep 16 '06 #4
You could recursively loop through all of the controls on the page and when
you hit an image control make the change. Seems like a lot of cycles though.

"Les Caudle" <ve**@tiredofspam.comwrote in message
news:mf********************************@4ax.com...
What would be a method to rewrite the text of every ALT tag on a web page
on-the-fly?
--
Thanks in advance, Les Caudle

Sep 17 '06 #5
You could recursively loop through all of the controls on the page and when
you hit an image control make the change. Seems like a lot of cycles though.

"Les Caudle" <ve**@tiredofspam.comwrote in message
news:mf********************************@4ax.com...
>What would be a method to rewrite the text of every ALT tag on a web page
on-the-fly?
--
Thanks in advance, Les Caudle
And apart from the "lots of cycles", you won't catch the "plain images"
that are not declared with a "runat=server", as that is just text
inside a Literal control to asp.net.

Hans Kesting
Sep 18 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: frizzle | last post by:
Hi there. I have a domain, and i want every query string redirected to index.php? so domain.com/foo/bar would actually be domain.com/index.php?/foo/bar Then i want to be able to say in index.php,...
17
by: HALLES | last post by:
HELLO ! I seek to use a form too fill a file without putting a server on my computer. I am no C# programmer, i can do some things in Javascript but IT CAN T WRITE REWRITE APPEND A FILE ON LOCAL...
4
by: Stuk | last post by:
Hi, im false beginner in C so that`s why im writting here :). I have to write a Text Reformater, which should read data from text file every Verse. In text file may appear special directives (for...
5
by: HALLES | last post by:
HI ! Is there a way to write append rewrite a XML Multilingual file. Two parallele aims Multilingual and Xml File format or Xml Lile file Format. Is there an editor to do that. HALLES .
1
by: Jet Leung | last post by:
Hello All: I want to rewrite a program by c sharp that was worte by vb. And I have a problem , how to translate "exit sub " of vb into c sharp? And how to run another program (for example a .exe...
3
by: mse07 | last post by:
hi for every one i have program using to send e-mail but i want to attach text file with that e-mail . how attach text file with e-mail automatically ? example : every time send...
5
by: aRTx | last post by:
Can anyone explain how to combine "url rewrite" and header() function. example: header('Location: http://www.abc.com/a.php?username=abc&password=bsd'); rewrite url as:...
0
by: mitsuotakei | last post by:
Hello, I want rewrite folloing code to CLR on C# ,but ihave no idea Somebody can help me? DECLARE @PageNum AS INT; DECLARE @PageSize AS INT; SET @PageNum = 2; SET @PageSize = 10; WITH...
2
by: fredBH | last post by:
Hi everyone! I need some help to configure my rewrite rule for these url : http://www.test.com/start forward to http://www.test.com/action/start.php http://www.test.com/user/delete/1 forward...
4
by: vinpkl | last post by:
hi all i have a url like i used rewrite to make it seo friendly it gives me
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.