|
Greetings,
I was wondering how to add a line break <BR> after a table using DHTML.
I am creating this html table dynamically using DHTML from javascript, and adding it to the document, but
I am not sure how I can add a line break after it?
Example:
var mybody=destinationWindow.document.getElementsByTagName("body").item(0); // Get the doc body.
...
...
// Create the table, and modify the table.
mytable = destinationWindow.document.createElement("TABLE");
...
...
// Add the table to the body
mybody.appendChild(mytable);
// Add a line break, before I create another table?
<BR></BR>
// Create next table.
...
...
Thanks in advance for any suggestions!
|
|
|
|
|
I found a way to do this by just adding the line break element to the doc right after my table has been added.
(ie
lineBreak = destinationWindow.document.createElement("BR");
mybody.appendChild(lineBreak);
|
|
|
|
|
Dear all,
I have to make a search page using ASP but I have only to display only 5 results in one page and there will be a "next" button to display the other 5 results and so on
could any one help me on how to do that???
|
|
|
|
|
you must use of this method "PageSize" To show
your Records From DataBase !
you know "Pagesize" is a methot of Recordset (ADO Technique)
|
|
|
|
|
How i can handle request from client and repond to client in Microsoft IIS 5.0 or more? What do i need? Or some information? Thanks
Nothing
|
|
|
|
|
|
The link Gerald provides above is an excellent gateway to a vast amount of information on developing web applications hosted on IIS 5.0. I've dabbled with a few and find that, by far, classic ASP is the simplest to understand and implement. ASP.Net has far greater functionality - and I'm learning it - but you can accomplish a lot with the original without the complexity of ASP.Net. Check out www.w3schools.com[^] for some excellent tutorials.
"If it's Snowbird season, why can't we shoot them?" - Overheard in a bar in Bullhead City
|
|
|
|
|
Hi All,
I am in the process of developing a web tool in ASP that will be used to update static content on a web page. Is there any sample code/already built web tool that you know of where I can get some design and coding ideas from. Doesnt really look that hard but would prefer to see something that is actually working first. The idea i had was to probably populate the static content from the staging server onto the webtool and then update it before sending it back to the staging server. Thoughts?
|
|
|
|
|
I'm not sure what you mean by this.
You wrote:
The idea i had was to probably populate the static content from the staging server onto the webtool and then update it before sending it back to the staging server.
Typically, most companies would use something like FrontPage to update static content to a production server. At the very least copy/paste documents would suffice for small businesses to move HTML documents from staging to a production server.
If the users must be able to update static content on the production server (like documentation) then perhaps perhaps Wiki technology would work for you. OpenWiki (www.openwiki.com) is an ASP based wiki that you could review and borrow technology ideas from or implement entirely. There are many other Wiki sites just search Google.
Good luck on your project.
-John
|
|
|
|
|
What is the maximum size of database that mysql can permit?
Ranjan Goyal
|
|
|
|
|
With the MyISAM table type in MySQL Version 3.23, the maximum table size was increased to 8 million terabytes. The maximum effective table size for MySQL databases now normally is determined by operating system constraints on file sizes, not by MySQL internal limits.
-John
|
|
|
|
|
thanks john for help.
Ranjan
|
|
|
|
|
I need to display a calendar where i can select the year from combo box... asp.net does not provide this and it makes a postback each time... any remedy???
Regards
gP
|
|
|
|
|
|
Hi,
I've got a .NET 1.1 C# client connecting to an Axis 1.1 web service. The service is sending SOAP XML as RPC/encoded and most everything deserializes correctly. The problem is with enumerations. Single enumerations deserialize just fine. Arrays with enumeration values do not deserialize correctly in the C# client. It always assigns the first enumeration value. Sadly, I wrote a Java client and it works just fine.
I used wsdl.exe to create the proxy class and everything looks fine within it. Perhaps there are additional settings to get .NET to consume an RPC/encoded web service?
As a test I created a .NET web service to return an array of enumerated values. It defaulted to Document/Literal style and the client was able to deserialize it just fine. I modified the web service to be RPC/encoded styling and again the client was able to deserialize.
The difference was how the web service generated the SOAP XML. The .NET RPC/encoded web service created its array of enumerated values like this:
- <soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
- <types:getEnumeratedResponse>
<getEnumeratedResult href="#id1" />
</types:getEnumeratedResponse>
- <soapenc:Array id="id1" soapenc:arrayType="types:EnumeratedCodeType[3]">
<Item xsi:type="types:EnumeratedCodeType">Green</Item>
<Item xsi:type="types:EnumerateddCodeType">Blue</Item>
<Item xsi:type="types:EnumeratedCodeType">Red</Item>
</soapenc:Array>
</soap:Body>
The Axis 1.1 RPC/encoded web service created its array of enumerated values like this:
- <soapenv:Body>
- <ns1:getEnumeratedResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://beangen.beanraw.samples">
- <getEnumeratedReturn xsi:type="soapenc:Array" soapenc:arrayType="ns2:EnumeratedCodeType[5]" xmlns:ns2="urn:om.beanraw.samples" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<item href="#id0" />
<item href="#id1" />
<item href="#id2" />
<item href="#id3" />
<item href="#id4" />
</getEnumeratedReturn>
</ns1:getEnumeratedResponse>
<multiRef id="id4" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns3:EnumeratedCodeType" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns3="urn:om.beanraw.samples">Green</multiRef>
<multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns4:EnumeratedCodeType" xmlns:ns4="urn:om.beanraw.samples" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">Red</multiRef>
<multiRef id="id3" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns5:EnumeratedCodeType" xmlns:ns5="urn:om.beanraw.samples" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">Blue</multiRef>
<multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns6:EnumeratedCodeType" xmlns:ns6="urn:om.beanraw.samples" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">Purple</multiRef>
<multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns7:EnumeratedCodeType" xmlns:ns7="urn:om.beanraw.samples" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">Black</multiRef>
</soapenv:Body>
The differences are obvious. I'm not sure how to handle it correctly in .NET though. Any help with using Axis 1.1 web services with C#.NET would be appreciated!
-- John Parker
|
|
|
|
|
Hi,
I im looking for a code to generate text boxes in a table whenever user clicks add button next to the row. Code should add dinamically one row to table and return controls to it....
pls help
|
|
|
|
|
|
How to invoke the Send page by email in IE in javascript?
Thanks
|
|
|
|
|
|
I'm trying to create a small window in HTML without any toolbars, status windows, etc., only just resizable. My question is this. I need to make this window small enough to contain certain text and nothing more. How small can the smallest window be when called using JavaScript:Window.Open(...). Anyone has a better idea on how to do this? Thanks.
"For that one fraction of a second, you were open to options you would never have considered. That is the exploration that awaits you. Not mapping stars and studying nebula, but charting the unknown possibilities of existence." - Q (Star Trek: The Next Generation) ^ Blog
|
|
|
|
|
By following code, you can specify the size of a window so that it will open a window with the same size document area
Om Prakash
|
|
|
|
|
I'm familiar with that. However, my question was how small can a web page window be? I haven't been able to make it as small as I want it to be and I'm wondering if there is a browser limit.
"For that one fraction of a second, you were open to options you would never have considered. That is the exploration that awaits you. Not mapping stars and studying nebula, but charting the unknown possibilities of existence." - Q (Star Trek: The Next Generation) ^ Blog
|
|
|
|
|
I do not know about the browser limit but I tried with
width=1
height=1
And with these attributes window is really small just like a thumbnail.
I tried following code:
window.open('P2070013.JPG','','width=1,height=1,scrollbars=yes')
In all the cases below, window size is large enough and of same size.
Means width=1 and height=1 generates a smallest sized window.
window.open('P2070013.JPG','','width=0.1,height=0.1,scrollbars=yes')
window.open('P2070013.JPG','','width=0,height=0,scrollbars=yes')
window.open('P2070013.JPG','','width=-1,height=-1,scrollbars=yes')
window.open('P2070013.JPG','','width=-199,height=-199,scrollbars=yes')
|
|
|
|
|
What browser are you using? When I tried this in IE, I got a window that was 100x100 pixels large. Note: The userinfo.gif image is the Code Project image found next to the average user's name.
**************************************************************************
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
<script LANGUAGE="JavaScript">
<!--
function myOpen(page)
{
window.open(page,'windowName','width=1,height=1,scrollbars=yes');
}
//-->
</script>
</head>
<body>
<a href="javascript:void();" onclick="myOpen('userinfo.gif');">Test</a>
</body>
</html>
<font size="1px">"For that one fraction of a second, you were open to options you would never have considered. That is the exploration that awaits you. Not mapping stars and studying nebula, but charting the unknown possibilities of existence." - <b><i>Q (Star Trek: The Next Generation)</i></b> <a target=_blank href="http://mywebpages.comcast.net/babdulbaki/">^</a> <a target=_blank href="/script/profile/whos_who.asp?id=8018&forumid=7606&exp=6&select=957518&df=100&msg=957518#Blog">Blog</a></font>
|
|
|
|
|
I again got the same result with ur code as well but with one change.
You get the pop up but main window says page not found.
I think you should change ur code as follows(I think that was typing mistake):
From:
Test
To:
Test
I am using IE 6.0 with XP installed
Ranjan Goyal
|
|
|
|