|
ian mariano wrote:
Actually, Framesets are a modern HTML standard: HTML4.01 - 16 Frames[^] and XHTML 1.0[^]
Frames have been dropped from XHTML 2.0 and even in XHTML 1.0 the W3C recommends not using them.
They only kept them in XHTML 1.0 to ensure older sites encoded using frames have a chance to re-code.
Frames are bad in 99% of cases.
Paul Watson Bluegrass Cape Town, South Africa Colin Davies wrote:
...can you imagine a John Simmons stalker !
|
|
|
|
|
Hmmm... Have almost got my site outa frames..... Will join the group to tell that ...
Paul Watson wrote:
Frames are bad in 99% of cases
- SPS
|
|
|
|
|
Actually, they are part of XHTML 2.0[^], but as XFrames , to quote the current draft: "XFrames not published yet - We need a reference to XFrames here, but XFrames is not yet public."
|
|
|
|
|
ian mariano wrote:
Actually, they are part of XHTML 2.0[^], but as XFrames
LOL well exactly, Frames as in the Frames we know and lo.. hate are not part of XHTML 2.0.
From what I have read, XFrames intends to retain the good parts of Frames and get rid of the horrible parts of Frames, like URLs etc.
Paul Watson Bluegrass Cape Town, South Africa Colin Davies wrote:
...can you imagine a John Simmons stalker !
|
|
|
|
|
Add this
<frame src="left.html" name="leftside" scrolling=no>
to your frame tag. As was said above though, tables are much easier, but I guess this is kind of late advice if you have already finished your page. For next time or upgrade though:
<table><br />
<tr><br />
<br />
<td> I am your left frame</td><br />
<br />
<td> I am your middle frame</td><br />
<br />
<td> I am your right frame</td><br />
<br />
</tr><br />
</table>
As you can see, you can put whatever you like inside this table framework. Other tables, menu's, etc. For an example check out www.lowveldinfo.com[^] - we built it using tables this way.
HTH
I knew it would end badly when I first met Chris in a Canberra alleyway and he said 'try some - it won't hurt you'.....
- Christian Graus on Code Project outages
|
|
|
|
|
Megan Forbes wrote:
scrolling=no
This doesnt work properly if a frame has more content (vertically). Those contents goes away.... I mean those are chopped off.
Thanks for ur reply...
|
|
|
|
|
May be you forgot to mention that the table technique you detail implies you use some server scripting technologies to manage the table content logic, essentially refreshing the whole page for each click. Unlike frame sets.
|
|
|
|
|
Phew.... I got a small point to justify why I used frame-sets....
.S.Rod. wrote:
It saves server time
It saves server time
Thanks...
|
|
|
|
|
Hi All,
I have created an ODBC connection called 'Reports'. In my asp page, I want to call Crystal report to view the data via ODBC 'reports '.
My code is:
' Set the location
set mytable = session("myReport").Database.Tables.Item(1)
mytable.SetLogonInfo "reports", "Testing", "username", "password".
I am calling 'report' the ODBC connection to connect the database and its not doing what its should be. Don't worry about the Crystal report. I just need to know how the odbc connection works in terms of asp pages.Please can anybody help, how to call odbc in order to work this functionality !!! I will be most greatful..
Bravo Two Zero
A pen is mighter then a sword.
|
|
|
|
|
Is it possible to build a web application that will allow the the use of short cut keys (hotkeys), function keys etc. as they are used in traditional windows forms applications?
Thanks,
Niels
|
|
|
|
|
You can on buttons
Include accesskey="s" title="Press alt+s to submit"
in your button tag
ie
Alt-S will now submit the form. You could put other letters on other buttons (calling javascript functions etc)
HTH
I knew it would end badly when I first met Chris in a Canberra alleyway and he said 'try some - it won't hurt you'.....
- Christian Graus on Code Project outages
|
|
|
|
|
Hi All,
I am trying to retrived data from SQL server in my asp page via ODBC connection. I have done the ODBC connection via administration tool.
MY Code is:
<%
dim oConn, strSQL, rstMovie, Records
set rstMovie = Server.CreateObject("ADODB.RECORDSET")
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.Open "Provider=MSDASQL; Driver={SQL SERVER}; SERVER=localhost; database=Movie2002; UID=test; PWD=test;"
strSQL = "Select * From tbl_movie"
rstMovie.Open strSQL,oConn,adOpenForwardOnly,adLockReadOnly
%>
when I am trying to view the page on the browser the error message is 'page cannot be displayed'. The error message relates to ODBC connection I think. Can anybody help?!!
Many Thanks.
Bravo Two Zero
A pen is mighter then a sword.
|
|
|
|
|
Try this:
"DSN=MyDSN;UID=user;PWD=password;DATABASE=mydatabase"
Pyt.
|
|
|
|
|
Sorry about the smiley,
"DSN=MyDSN;UID=user;PWD=password;DATABASE=mydatabase"
Pyt
|
|
|
|
|
Many Thanks
Bravo Two Zero
A pen is mighter then a sword.
|
|
|
|
|
Hi all,
I want to display some table (contain data in them) in one screen with some conditions:
1. when page is loaded in the first time. Only display one table name a
2. when u click a button in table a. The next table will display bellow table a.
Thanks alot
|
|
|
|
|
caonguyen wrote:
1. when page is loaded in the first time. Only display one table name a
2. when u click a button in table a. The next table will display bellow table a.
k here goes. You code your two TABLEs and set one to have a style of display: none which effectively hides it. Then on click of the button, you tell that hidden table to display by setting this display: block
e.g.
<table id="table1">
<tr>
<td>Data here or wherever, not in Kansas anymore Toto</td>
</tr>
</table>
<input type="button" onclick="document.all.table2.style.display = 'block'" value="Display Table 2" />
<table id="table2" style="display: none">
<tr>
<td>Take her shoes, she does not need them anymore, welcome to Harlem</td>
</tr>
</table>
NOTE: I used non W3C DOM techniques for my lazy assed nature. So please if this goes live, change it to the proper way using getElementByID.
Paul Watson Bluegrass Cape Town, South Africa Colin Davies wrote:
...can you imagine a John Simmons stalker !
|
|
|
|
|
Paul Watson wrote:
Take her shoes, she does not need them anymore, welcome to Harlem
Regards,
Brian Dela
Níl aon tintéan mar do thintéan féin.
Is fear rith maith ná droch sheasamh.
Irish Sayings
|
|
|
|
|
Brian Delahunty wrote:
I am trying to make The Wizard of Oz more accessible to todays youth by setting it in Harlem and using ghetto gangsetr-beeetch language.
I am having problems the phrase "yellow brick road" though as everyone keeps thinking I am talking about some new drug!
*sigh* The kids of today... come Toto, lets go back to Kansas...
Paul Watson Bluegrass Cape Town, South Africa Colin Davies wrote:
...can you imagine a John Simmons stalker !
|
|
|
|
|
Paul Watson wrote:
I am trying to make The Wizard of Oz more accessible to todays youth by setting it in Harlem and using ghetto gangsetr-beeetch language.
Oh, ok Paul... [Hey Toto.. I think he's taking some of those new "Yello Brick" bangers.. lets get outta here... ]
Regards,
Brian Dela
Níl aon tintéan mar do thintéan féin.
Is fear rith maith ná droch sheasamh.
Irish Sayings
|
|
|
|
|
Hello,
I'm trying to do the following,
I need to exchange some data from a database stored on a IIS server.
I thought I would use XML for the data format.
Note: ASP.NET is not available on this server.
Note: .NET framework is not availble on the client
The client app is in C++ and the server is ASP.
The client has made a tcp connection to the server and I can send HTTP headers
and get a response.
My question is how can I send the XML data to the server on a HTTP connection and have the ASP code read this data?
Not sure what the HTTP headers or method is to send large chunks of data to a webserver.
Receiving is fine, request a page and use ASP Response.Write to output the XML Data.
Cheers
John
|
|
|
|
|
johnb wrote:
My question is how can I send the XML data to the server on a HTTP connection and have the ASP code read this data?
Just an idea, but could you not use the upload features of HTML? Not sure how you do it in C++, but maybe have a look at how it is done with HTML and ASP and then watch the header files (where I assume the uploaded file is stored.) Then you could mimmick it. AFAIK it MIME encodes files for uploading.
You could also just use FTP to FTP up the XML file and then alert the ASP code to get the file.
Paul Watson Bluegrass Cape Town, South Africa Ray Cassick wrote: Well I am not female, not gay and I am not Paul Watson
|
|
|
|
|
Hello Paul,
I found a way by using POST on the client side and BinaryRead on the ASP side.
Thanks for info
Cheers
John
|
|
|
|
|
I'm using ActiveXObject function of JavaScript in order to instantiate a COM in the head section of a HTML. Unfortunately, the browser shows up a message box every time i load the page, saying
An ActiveX control on this page might be unsafe to interact with other part of the page.
Do you want to allow this interaction? (Yes, No) Do you know how could i disable it?
rechi
|
|
|
|
|
Try adding the site to the trusted zone in IE.
|
|
|
|