smalloy
Posts: 107
|
| Posted: 11/18/2004, 11:42 AM |
|
Is there any way using ASP to change an image src?
I looked around and noted a javascript "setAttribute" but can't figure out a way with ASP. The purpose is to change the menu to show a diffent color button if on that page.
My current work around is to lay one on top of the other and set the visible = true to turn on and off the buttons.
Any idea's?
_________________
Anything can be done, just give me time and money. |
 |
 |
mrachow
Posts: 509
|
| Posted: 11/18/2004, 11:55 AM |
|
On tab HTML you can enter
src="{changingPath}"
and in event BeforeShow
EventCaller.TemplateBlock.Variable("changingPath") = "[yourActualPath]"
Maybe you would like to have some if else there.
Regards,
Michael
_________________
Best regards,
Michael |
 |
 |
smalloy
Posts: 107
|
| Posted: 11/18/2004, 12:09 PM |
|
Wow, worked like a charm!!!! Looked at CC's Working with Custom Template Blocks and learned a lot.
THANK YOU!!!!!!
_________________
Anything can be done, just give me time and money. |
 |
 |
|