我在哪里可以访问生产服务器上的ASP.NET配置?(Where can I access the ASP.NET Configuration on a production server?)
目前,我已在生产服务器中成功部署了我的ASP.NET应用程序。
现在我需要使用MySQL成员资格提供程序创建角色和用户。
到目前为止,我已经使用ASP.NET配置站点在localhost中完成了此操作,该站点可以在VS2010的“项目”菜单中找到。
如果我没有安装VS2010,如何在生产服务器中使用它? 有没有其他方法可以有效地设置此配置(角色,用户......)?
Currently, I have successfully deployed my ASP.NET App in the Production server.
Now I need to create the roles and users with the MySQL Membership Provider.
So far I have done this in localhost using the ASP.NET Configuration site that can be found in the "Project" menu in VS2010.
How can I use this in the production server if I don't have VS2010 installed there? Is there any other way to effectively set up this configuration (roles, users...)?
原文:https://stackoverflow.com/questions/8122082
最满意答案
粗略地说,您需要单击以触发一些更改相关目标的不透明度的JavaScript代码。 一个简单的例子是这样的:
<style> .topping { opacity: 0; } </style> <div onclick='changeOpacity()'>Click me</div> <div id=changeme class=topping>Hello</div> <script> function changeOpacity() { x = document.getElementById('changeme'); x.style.opacity = 1; } </script>
我认为您正在寻找的相关位是如何更改不透明度(
x.style.opacity
,或者您可以使用jQuery),但您还需要弄清楚如何将按钮与适当的图像链接。与单选按钮可能有点不同,但它基本上是相同的想法。
Roughly speaking, you need the click to trigger some javascript code that changes the opacity of the relevant target. A quickie example would be something like this:
<style> .topping { opacity: 0; } </style> <div onclick='changeOpacity()'>Click me</div> <div id=changeme class=topping>Hello</div> <script> function changeOpacity() { x = document.getElementById('changeme'); x.style.opacity = 1; } </script>
I think the relevant bit you're looking for is how to change the opacity (
x.style.opacity
, or you could use jQuery), but you'll also need to sort out how to link the buttons with the appropriate images.And it might be a bit different with radio buttons, but it's essentially the same idea.
相关问答
更多-
背景不透明度(Background Opacity)[2022-05-22]
我不明白你拥有什么是错的。 只是设置没有不透明度的字体? .carousel-caption { background-color: rgba(100,222,300,.2); border: 2px solid rgba(100,200,300,.2); } .carousel-caption p, .carousel-caption h1{ color: blue; } 的jsfiddle I don't understand what's wrong with what you ... -
L.GeoJSON没有setOpacity方法。 使用setStyle方法。 也没有必要使用jQuery: L.DomEvent.on(L.DomUtil.get('sldOpacity'), 'change', function () { L.DomUtil.get('image-opacity').textContent = this.value; geojson.setStyle({ opacity: this.value }); }); 参考: http : ...
-
找到答案,如果你像我一样使用样式表设置小部件的背景。 小部件中的所有对象显然都具有相同的背景。 found the answer, if you set the background of an widget using stylesheet like i did. All the object in the widget get the same background apparently.
-
你必须使用'图像地图'。 它是一种分解图像的不同部分并能够用它们执行不同功能的方法。 我之前创建了图像映射,使图像的不同部分转到不同的URL。 有很多在线工具可以帮助您制作图像地图。 您可以在此处使用某些设置来调整CSS属性 You have to use an 'image map'. It is a way of breaking up different parts of an image and being able to do different functions with them. I ha ...
-
我会在Javascript中这样做。 示例jQuery代码: $("#startButton").hover(function(){ $("#menu").fadeTo(500,1); }, function(){ $("#menu").fadeTo(500,0); }); 仅仅因为jQuery很有趣 或类似的东西,所以你可以使用菜单: $("#startButton").hover(function(){ $("#menu").fadeTo("500", 1); }, func ...
-
我不确定,但你可以在这种情况下使用不同的CSS类。 在两个类中使用不同的不透明度并根据您的情况进行更改。 例 .class1 { opacity:0.4; filter:alpha(opacity=40); } .class2 { opacity:1; filter:alpha(opacity=100); } 并在条件下使用它 bool IsLocked = repUser.IsLockedOut(txtDetailUserName.Value); if (IsLock ...
-
第一步是添加z-index: -1; 和position: relative; 到你的后面div css: 改变不透明背景的方法: $("#backDiv").css("opacity", "0.4"); $("#backDiv").css({ opacity: 0.4 }); $("#backDiv").fadeTo("slow", 0.4); $("#backDiv").fadeTo(1000, 0.4); // fist parameter is animate time in ms 可能的测试按钮 ...
-
粗略地说,您需要单击以触发一些更改相关目标的不透明度的JavaScript代码。 一个简单的例子是这样的:Click meHello