|
Please don't cross post. It is considered to be bad form.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi all,
I am developing a web page that has an
inside.
productDetails page is generated by users in html format and there is no standard layout. So when I show this page in an iframe I want to know the height of the page so that there wouldn't be any white blank places in the page. I also do not want vertical scroll bars.
So I think I have to find the height of the page in iframe's src. Is there anyway I can do this ?
Thanks in advance.
|
|
|
|
|
var SHeight = screen.height will give you the page height.
Ramesh.Kanjinghat
|
|
|
|
|
Hi, i have an application(server/'dumb' web-client), which uses an "old" web-service and now, i want to make the communication "secure". I read in several posts, that WSE is going to be replaced by "Windows Communication Foundation"and it is not advisable to use it (it`s more complicated too).
Is there any good tutorial or something like that, which shows, how to use WCF with the security bindings on an old web-service ?
Thx
L.
|
|
|
|
|
When you say "service" do you "mean" "SOAP" or something "along" those lines? ("Like" a "Software" interface rather then a user "interface"?)
Brad
Australian
-CAUTION-
The previous statement may contain traces of PHP, and by reading this statement you negate the right to vote me down.
|
|
|
|
|
Hmm, i mean an "normal" Web-Service (asmx) which uses Soap and XML, written in C# like this one:
http://abstractvb.com/code.asp?A=1006
And my question is: Can i use this old-fashioned web-service without any endpoints, etc. (which are part of the WCF-created Web-services) with the WS-Security-possibilities of WCF??
|
|
|
|
|
Click on Agree and Install and nothing happens. Edit bar doesn't appear to allow blocked content. Other suggestions on the page also fail.
This is at work on a new machine. On the previous machine I started from FF 1.5 and was able to install the toolbar. Subsequently updated to FF 2.
Also, other Google extensions won't install. I've disabled popup blockers and so on.
Is there a way of forcing that Edit Options bar to appear or otherwise manually entering the required entries?
Also, I've just noticed that the tab close button does not appear on background tabs. Is there a setting somewhere that controls this? It seems that installing FF 2 from scratch creates different behaviour from installing over FF 1.5.
Kevin
|
|
|
|
|
Not sure what fixed it, but it all works now (today). Previously I'd tried things such as clearing the cache but to no avail. However, now Greasemonkey/CPhog doesn't work! I've had this happen before too and then it mysteriously starts working again!
Kevin
|
|
|
|
|
debagging is such a problem...
|
|
|
|
|
please help me to genrate it.
manish
|
|
|
|
|
You'll need a pen, some double sided stickytape and large piece of red cardboard )
|
|
|
|
|
don't forget Ajax!
Brad
Australian
-CAUTION-
The previous statement may contain traces of PHP, and by reading this statement you negate the right to vote me down.
|
|
|
|
|
You're thinking of www.rentacoder.com, or www.monster.com, depending on if you have money, or just want something that sucks.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Hi,
I have to host the Web application on our company's Web server (Windows platform). It should be possible to host clients data on our server as well. o you have any Best practices for this. How to do this efficiently. Also which is the best security model for this. This is not an e-business type of application, rather it is a coprporate application a database driven Web application. Let me know if there are any good articles on this as well.
Thanks
sj
|
|
|
|
|
it is not possible to host client data on your server coz it is (Windows platform) in windows there is always premissions are required form client also
SP
--
Bugs can neither be created nor be removed from software by a developer. They can only be converted from one form to another. The total number of bugs in the software always remain constant.
|
|
|
|
|
I have a layout here: http://www.roomofrequirement.com/js
and if you click on the nav buttons at the top a div layer fades (well the background fades in). What I want it to do is after the first fade in, the background stays in place and only the text pops up once another button is clicked. So if I click on the site button first, the background fades and it stays there when I click on books, but only the text changes.
Is that possible?
Here is my code:
var ie4 = !!document.all
var w3c_dom = !!self.HTMLElement
var nc4 = !!(!w3c_dom && window.captureEvents)
if (w3c_dom && !ie4) {
document.writeln('<script language="JavaScript" src="dom.js"></sc'+'ript>')
ie4 = true
}
var dhtml = (ie4 || nc4)
var local_delay;
var opacity;
// End
var active_page = 0
var visible, hidden
if (ie4) {
visible = "inherit"
hidden = "hidden"
}
else {
visible = "show"
hidden = "hide"
}
var pages_loaded = false
var layerTimerID = null
var pages = new Array()
function layerOver(num)
{
if (!dhtml || !pages_loaded)
return
opacity = 0;
//layerTimerID = setTimeout("layerChange(" + num + ")", delay)
layerChange( num );
}
function layerOut() {
//if (layerTimerID)
// clearTimeout(layerTimerID)
}
function layerChange(num) {
layerTimerID = null
if ( opacity == 20 )
{
var p_old = pages[active_page]
p_old.visibility = hidden
if ((w3c_dom) && (active_page != num))
p_old.display = "none"
active_page = num
var p_new = pages[active_page]
p_new.visibility = visible
//if (w3c_dom)
p_new.display = "inline"
p_new.filter = "alpha( Opacity="+opacity+" );"; // IE
p_new.MozOpacity = opacity/100; // Mozilla
opacity++;
layerChange();
}
else
{
//alert( "halt" );
opacity += 5;
pages[active_page].filter = "alpha( Opacity="+opacity+" );"; // IE
pages[active_page].MozOpacity = opacity/100; // Mozilla
if ( opacity < 100 )
layerTimerID = setTimeout("layerChange(" + num + ")", 40)
}
}
function initLayers()
{
if (!dhtml)
return
//document.writeln('<DIV id=' + ("layer" + page_max) + ' class=page><h2 align=center>Place the mouse pointer over the above links.</h2></DIV>')
for (var i = 0; i <= page_max; i++)
pages[i] = (ie4) ? document.all["layer" + i] : document.layers["layer" + i]
if (nc4)
page_height = 0
if (!page_height) {
var p_height
if (ie4)
p_height = pages[0].offsetHeight
for (var i = 0; i <= page_max; i++) {
var p = pages[i]
p_height = (ie4) ? p.offsetHeight : p.clip.height
if (p_height > page_height)
page_height = p_height
}
}
else {
for (var i = 0; i <= page_max; i++) {
pages[i].style.pixelHeight = page_height
pages[i].style.overflow = "auto"
}
}
if (ie4) {
for (var i = 0; i <= page_max; i++) {
var p = pages[i]
if (w3c_dom)
p.style.display = "none"
pages[i] = p.style
}
}
//document.writeln('<TABLE border=0 height=' + page_height + '><TR><TD></TD></TR></TABLE>')
//layerChange(page_max)
pages_loaded = true
}
this code is what is used on the main html page (I am including only one of the divs as an example):
<div style="display: none;" class="page" id="layer7">
<center>
<table height="132">
<tbody>
<tr>
<td valign="center">
<table width="232" height="132" border="0" align="right" cellpadding="0" cellspacing="0" class="fadearea">
<tr>
<td align="center"><BR>Flash Games<BR>Triva<BR>Puzzles<BR>Fun Lists<BR>Spoofs<BR>Photoshop Fun</td>
<td align="center"><BR>Song Parodies<BR>License Plates<BR>Caption Contest<BR>Mugglenet Interactive<BR>Project Legilimensia
</table>
</td></tr></tbody></table></center></div></div><!-- End ImageReady Slices -->
<script language="JavaScript">
var page_max = 7
var page_height = 0
var delay = 1000
initLayers()
//-->
</script>
<map name="Map">
<area onMouseOver="layerOut()" onClick="layerOver(0)" onMouseOut="layerOut()" shape="rect" coords="4,181,65,250" style="cursor: pointer;">
<area onMouseOver="layerOut()" onClick="layerOver(1)" onMouseOut="layerOut()" shape="rect" coords="32,84,97,142" style="cursor: pointer;">
</map>
please any help will be appreciated, I have been working on this for over 2 weeks.
thanks!
|
|
|
|
|
|
Hi,
I am using asp.net 2.0 for a new application wherein I have used the concept of master pages. The Master page has a search functionality, wherein user enters search criteria in the textbox and clicks the Search button, to see the results in a different page (Child page using the master page).
I have written normal Button_Click event inside the code behind of Master page, but the application doesn't fire the code when the button is clicked.
What can be the problem ? Am I wrong somewhere ? Can't we have button click event inside master page ?
Pls guide me.. I am in a lot of trouble.
Thanks and best regards
Omkar Ghaisas
|
|
|
|
|
Yes, you should be able to fire an event from a control located w/in the master page content.
Check for the following:
1) runat="server" attribute set for Button control
2) OnClick attribute should equal the name of the event handler in the codebehind
3) Event handler should be declared as at least "protected" or higher so pages inheriting from Master page have access to it.
4) method signature of event handler is correct eg. "void (object, EventArgs)"
Like this:
ASPX:
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" />
CODEBEHIND:
protected void Button1_Click(object sender, EventArgs e)
{
}
|
|
|
|
|
if any one know how to create custom column using "Feature" feature of MOSS for the "Image" type?
the following is the code for creating custom site column for "Choice" Type column
Feature.xml:
<feature id="CA7BD552-10B1-4563-85B9-5ED1D39C073B"
="" title="myField" description="asdf" version="2.0.0.0" scope="Site" xmlns="http://schemas.microsoft.com/sharepoint/">
<elementmanifests>
<elementmanifest location="testing.xml">
and following is testing.xml
<elements xmlns="http://schemas.microsoft.com/sharepoint/">
<field id="{1DAB9B48-2D1A-47b3-878C-8E84F0D322CB}"
="" name="RegionFromFeature" group="my Column" type="Choice" i="" need="" this="" for="" the="" image="" type.="" dont="" know="" what="" is="" format="" that.
="" displayname="Region" sourceid="http://schemas.microsoft.com/sharepoint/v3/fields" staticname="Features" fillinchoice="FALSE">
<choices>
<choice>Parker
<choice>Dollar
<default>Dollar
thanx
|
|
|
|
|
Hi,
I have a plain old html file with a bunch of links. My standard browser is FF, but some links only open in IE. Is there a way to 'tell' the link to open a IE browser even though the main page is open in FF?
tnx.
V.
I found a living worth working for, but haven't found work worth living for.
|
|
|
|
|
Here's the standard way of doing it:
<href="http://www.google.com" target="_blank">Google</a>
Trinity: Neo... nobody has ever done this before.
Neo: That's why it's going to work.
|
|
|
|
|
I think he wants to be able to open a page in IE whilst in firefox.
Brad
Australian
-CAUTION-
The previous statement may contain traces of PHP, and by reading this statement you negate the right to vote me down.
|
|
|
|
|
yes idd, thanks .
|
|
|
|
|
no, sorry, this is not what I meant . Sorry if my question was unclear.
I want a link in a FF browser to open an instance of IE and load the page there...
|
|
|
|