|
$URL="http://www.example.com";
header ("Location: $URL");
|
|
|
|
|
you can redirect to the same php with different action case too.
like just pass action in the php link and then write:
header("Location: phpFile?action=newaction");
--------------------------------------------------------------------------------------------------
Hiral Shah
India
If you think that my question is good enough and can be helpful for other then don't forget to vote.
|
|
|
|
|
take a look at this code ...
<div style="height:100%;">
<div style="height:20px;"></div>
<div style="height:100%;"></div>
<div style="height:20px;"></div>
</div>
basically i want it so that the top and bottom inner divs always stay 20px in height, and the inner div fills in the rest of the left-over space of the outter div ... but i don't want the outter div becoming taller than the page itself ... any help?
~ Munky
|
|
|
|
|
I believe you can use the css float property to do this.
Try the following steps:
1. Float the first inner div to the top, and specify height: 20px
2. Specify height of second inner div as 100% (I'm not sure whether this works in FireFox though)
3. Float the third inner div to the bottom, and specify height: 20px
That should allow the middle (second) div to fill in the page.
Edbert
Sydney, Australia
"A day without sunshine is like, you know, night."
|
|
|
|
|
Maybe you can try this?
In your CSS document create a class like so:
.Top
{
position:absolute;
top:0px;
width:100%;
max-height:100%;
overflow:hidden;
}
and then create a bottom part like this:
.Bottom
{
position:absolute;
bottom:0px;
width:100%;
max-height:100%;
overflow:hidden;
}
Now, when you define the classes in div it would look something like this:
and bottom:
everything between top and bottom will scroll under the top and bottom classes.
hope it helps!!
Illegal Operation
Making Computer Software Talk
|
|
|
|
|
I have noticed in Netscape and Opera that web sites can display an icon in the address bar just before http:// as this site does.
I am interested in doing this for my web site but have no idea what is involved.
Can anyone help?
old, but still trying new things!
|
|
|
|
|
|
Thank you so much for the prompt response!! I will try out the suggestion on the link you gave me.
I did search the site for this topic but perhaps worded it wrongly.
Again, Thanks.
Never too old to learn!
|
|
|
|
|
I followed the instructions and now have my icon appearing in Netscape and Firefox.
It does NOT work with IE 6.01 SP 1
I am currently using IE and the Codeproject icon does not appear either.
This would appear to be consistent with Microsoft wanting to over-ride anything that interferes with their logo and also attempting to take over all types of MEDIA using their own products.
Les
|
|
|
|
|
Weird, try bookmarking the page and IE only then downloads the icon... I just tried a quick google[^] and it seems *it's by design*
I don't think your going to get around it unfortunately
Gavin Taylor
w: http://www.gavspace.com
|
|
|
|
|
After playing around for a few hours, it is true that any page on a site that is added to Favorites in IE, AND where favicon is present in the root, that page will always display the site icon.
Thanks for your help and pointers on this matter.
Les
|
|
|
|
|
what is the code where when i click on a button, then a value will be passed to the next page?
Thanks
|
|
|
|
|
use "session"
you can save anything in the session and get it in anypage you want...
Militiaware
Faris Madi
|
|
|
|
|
That depends on how you load the next page.
You can put values in the querystring of the URL.
You can put a value in a hidden form field.
---
b { font-weight: normal; }
|
|
|
|
|
Hi. I am writing a data web service in VS 2005 using Ms Sql Server 2005 as data server. I wrote a connection strin gin the web.config file in the <appsettings> area. I used it in the code, but when I invoke it, it doesnt bring up the details. I know there is some data in the table, but it doesnt bring it up via the web service call.
what would I be doing wrong?
|
|
|
|
|
<%
Dim RS
Set Conn = Server.CreateObject("ADODB.Connection")
Set RS = Server.CreateObject("ADODB.Recordset")
Conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("forum.mdb") & ";"
Conn.Open
SQL = "SELECT * FROM profile"
RS.Open SQL, Conn
%>
<title>Youth Aloud!Forum
#content {
margin-right:1%;
margin-left:1%;
margin-top:5%;
padding-bottom:10px;
background:#fff;
border:2px solid #ffaf38;
text-align:left;
min-width:600px;
}
Name:
">
Age:
">
Gender:
">
Website:
">
MSN:
">
Yahoo:
">
Occupation:
">
|
<%
RS.Close
Set RS = Nothing
Conn.Close
Set Conn = Nothing
%>
The above code is my code. After running for a few times, an error occured...i cannot solve it... :'( This happened to my previous code too..I redo my code and this time it's happening again..may i know what is the prob???
Script error detected at line 61.
Source line: response.write(RS("Name"))
Description: Type mismatch: 'Response.Write'
girl77
|
|
|
|
|
Are you checking to make sure your record set has values? Are you displaying a single record because I do not see a loop.
|
|
|
|
|
i'm onie trying to display a single value..act i'm not sure on how to set the value of RS....i'm soooo new to this
|
|
|
|
|
I believe you can do without the response.write( ) in that line ... so just use <% RS("Name") %>
~ Munky
|
|
|
|
|
I believe that you are thinking of the short form of Response.Write:
<%=RS("Name")%>
which is exactly the same as:
<%Response.Write(RS("Name"))%>
---
b { font-weight: normal; }
|
|
|
|
|
i want to know how textarea can be converted into htmlarea
Sam Moon
|
|
|
|
|
What do you mean by "htmlarea"?
If you mean an element with the contenteditable property set, then no. You have to create a new element with the contenteditable property, and copy the contents from the textarea into it.
---
b { font-weight: normal; }
|
|
|
|
|
Search for textareapro(This is seperate page only for text insertion format)
store the value of textareapro in database
retrieve values and include recorset value anywhere in any page where you want to put
|
|
|
|
|
|
I have designed a website layout entirely in div's.
The layout appears perfect in IE.6 but is everything is out of wack in other browsers (Mozilla Firefox, Netscape, Opera).
The page can be viewed here:
http://demo1.monkeysoftware.com.au/newmonkey/monkey1.htm[^]
I am hoping someone can help me out!! I just cant figure out what i'm doing wrong!!???
Mystickle
|
|
|
|