|
Paul Watson wrote:
relative URLs
This is comething I guessed. And, will give a try.
If that thing doesnt seem to be a good solution.. I will have to re-organize and remove the subdirectories... as it has very few files in them right now.
Thanks..
|
|
|
|
|
I designed my site with 3 frames page. One as a banner, one for left navigation, one as the main content page.
Finally, my left navigation got biger and.... there are two scroll bars in my site. I need to remove the scroll bar. I wanna remove it...
Any simple proceess for it????
|
|
|
|
|
Yeah, get rid of the frames;).
Generally speaking, frames are deriled in web development these days. There are better technologies to do what you are looking for, that will do the same thing better, easier and allow for better expansion and extensibility of your site.
They are also not complaint with the modern HTML standards.
Try looking at using tables to do what you want. Table design for a web page is more complicated than using frames, but it's easier to expand and modify than using frames. Plus you get back more screen area, which is always valuable.
If you want something that is really cool, look at using CSS ( Cascading Style Sheets ). You can do some amazing things with them, assuming your users have a compatible browser ( IE 5.5 or better, Mozilla 1.2 or better, Opera 6 ).
Yes, you may face a learning curve with all this, but you will be so much better off in the long run.
|
|
|
|
|
Yeah.... CSS is what I am planning to migrate to, and I thought of giving a chance of survival with the existing frames, like synchronising two frames (?!?!) and get my job done in few minutes. I know its going to be days,, if I need to put all the pages into the tables....
Thanks for the advice...
|
|
|
|
|
You can sync between different frames, but your looking at some complex JavaScript to do it. With CSS and compliant HTML code there is still some JavaScript involved, but it's no where near as complex.
You may want to start simple. Maybe move one of the frames over to the table, and then the other. You will need to get the feel for using tables to do what you need to do.
Also, if you are using a webserver such as Apache or IIS 4.0+, consider using SSI ( Server Side Includes ) to help ease layout and consistancy (sp?) issues. But don't worry about that until you get a design that your users are comfortable with.
|
|
|
|
|
Thanks.... finally.... I will be moving to CSS.. for time being, I am trying to adjust with the existing frames stuff....
Thanks for the reply
|
|
|
|
|
|
Will have a look at that....
Thanks for the LINK....
|
|
|
|
|
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 !
|
|
|
|