- The alwaysvisiblecontrolextender control can be used for advertising. Those annoying websites always add links to images we don't like, and always appear in areas we don't like. Of course, in that old age, only a bunch of troublesome JavaScript codes can be written.CodeTo control, read some information, and locate it. Today, we have this. Alwaysvisiblecontrolextender: If you want to advertise your website, you can use two lines of code.
- Effect first.
A brief description shows that this yellow object has been fixed until it changes the size of the browser or the scroll bar. Always at the same position.
- Alwaysvisiblecontrolextender simple instructions (several common parameters .)
- TargetcontrolidNeedless to say.
- VerticalsideIt refers to the vertical dock position, top, bottom, three.
- HorizontalsideIt refers to the horizontal dock position, middle left and right, three.
- Verticaloffset, horizontaloffsetIt has something to do with your choice. The distance from the top, bottom, or left and right of your choice. In this way, you can basically locate your small advertisement accurately.
- ScrolleffectdurationSliding Delay Time: Unit: seconds.
< Div >
< ASP: scriptmanager ID = "SM" Runat = "Server" >
</ ASP: scriptmanager >
< ASP: updatepanel ID = "Updatepanel1" Runat = "Server" >
< Contenttemplate >
< ASP: Panel ID = "Panel" Runat = "Server" Cssclass = "Panel" >
This is the tech space of alex. I like. Net coding.
< BR />
If you have some questions, plz contact me.
</ ASP: Panel >
< Ajax: alwaysvisiblecontrolextender ID = "Alw" Runat = "Server" Targetcontrolid = "Panel" Verticalside = "Middle" Verticaloffset = "50" Horizontaloffset = "50" Horizontalside = "Center" > </ Ajax: alwaysvisiblecontrolextender >
</ Contenttemplate >
</ ASP: updatepanel >
</ Div >