Hello,
I currently have written DHTML code to make an image float from off the top of the screen to somewhere in the middle. I posted this code in thread216-1083937.
My challenge has been modifying the code to work with ASP.NET, namely, by replacing the HTML code with the proper ASP tags. Since I am new to ASP.NET, I do not know how to manipulate an image in the same manner. What I need to do is make a hyperlinked image that does the float and fade action I have implemented in my code. Microsoft is foiling my plans!
Here is the tag I am currently trying to use to create a hyperlinked image:
The problem is that I can't use document.getElementById("SurveyLink") in my JavaScript code to make the image fade (it gives an error stating: "document.getElementById(...).filters.alpha is null or not an object". Actually, the JavaScript doesn't even move the hyperlinked image at all.
I am thinking that the hyperlink asp tag I use doesn't support the manipulation I am trying to do? My question is, what tag should I use to get my desired effect?
Nick Ruiz
CO-OP Intern, PPL Electric Utilities
Webmaster, DealMerchant.net
I currently have written DHTML code to make an image float from off the top of the screen to somewhere in the middle. I posted this code in thread216-1083937.
My challenge has been modifying the code to work with ASP.NET, namely, by replacing the HTML code with the proper ASP tags. Since I am new to ASP.NET, I do not know how to manipulate an image in the same manner. What I need to do is make a hyperlinked image that does the float and fade action I have implemented in my code. Microsoft is foiling my plans!
Here is the tag I am currently trying to use to create a hyperlinked image:
Code:
<asp:HyperLink id="SurveyLink" runat="server" ImageUrl="Images/takeasurvey_flyout.jpg" CssClass="dance">HyperLink</asp:HyperLink>
The problem is that I can't use document.getElementById("SurveyLink") in my JavaScript code to make the image fade (it gives an error stating: "document.getElementById(...).filters.alpha is null or not an object". Actually, the JavaScript doesn't even move the hyperlinked image at all.
I am thinking that the hyperlink asp tag I use doesn't support the manipulation I am trying to do? My question is, what tag should I use to get my desired effect?
Nick Ruiz
CO-OP Intern, PPL Electric Utilities
Webmaster, DealMerchant.net