|
no need to add any code/meta etc????
Should I add this in all the pages ... or pout it in a include file that spans throught my site??
|
|
|
|
|
SPS wrote:
no need to add any code/meta etc????
Should I add this in all the pages ... or pout it in a include file that spans throught my site??
Ray said it all. No meta data, no modification to your files, no IIS settings, no CSS, no JavaScript, no nothing. Just make the favicon.ico, put it in the root and hey presto.
On word of warning though: Favourite Icons may disapear after awhile as they are stored in the temporary internet files folder. IE unfortuantley does not re-download the file.
Paul Watson Bluegrass Cape Town, South Africa Colin Davies wrote:
...can you imagine a John Simmons stalker !
|
|
|
|
|
Thanks.....
I started with nothing,
And I still have lots of it left with me.
|
|
|
|
|
Paul Watson wrote:
hey presto.
It still aint working
I started with nothing,
And I still have lots of it left with me.
|
|
|
|
|
Hey what's up....
Okay C# scripting? can it completetly replace javascript?
Could somebody help me out and tell me how i can do this in C#:
document.getElementById("table1").style.color = 'red';
and also how can i call multiple functions on an event?
ie.... onMouseover="Foo1();Foo2()" like this in java
|
|
|
|
|
gekotechno wrote:
Okay C# scripting? can it completetly replace javascript?
No, C# is server side only (for the time being).
The rest of your answer would be. NO. No. No. No. It would also be better to ask C# related questions in the ASP.NET forum.
Anything client side needs to be javascript (those questions again are valid in this forum).
Cheers
DBHelper - SQL Stored Procedure Wrapper & Typed DataSet Generator for .NET
|
|
|
|
|
So do we get to see that site you were working on yet?
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
A moment of silence please. A programmer's best friend has passed beyond that great exception in the sky.... - Mark Conger on "The coffee machine has died"
|
|
|
|
|
gekotechno wrote:
how can i call multiple functions on an event?
ie.... onmouseover="Foo1();Foo2()" like this in java
Just like that. Although it may be better to write one function to wrap it all. Less hassle to change multiple lines rather than just one function.
function AllFoo()
{
Foo1();
Foo2();
}
onmouseover="AllFoo()"
|
|
|
|
|
There is a keyword in Javascript and C++ - this, that points to current instance of class, function, etc. So my question - is there any such keyword, property or whatever like "this" in VBScript?
For example I have a Class and it creates another one, to which I need to pass its parent (this), how to do it in VBScript?
Philip Patrick
Web-site: www.stpworks.com
"Two beer or not two beer?" Shakesbeer
|
|
|
|
|
is there any such keyword, property or whatever like "this" in VBScript?
Yes: me is the same as this in VBScript. Same for normal VB.
Understanding Events has an explanation and some examples.
Paul Watson Bluegrass Cape Town, South Africa Colin Davies wrote:
...can you imagine a John Simmons stalker !
|
|
|
|
|
Oh, thanx! Well, I have no idea in VBA, thus didn't know about "Me" But hey, it is working now
Philip Patrick
Web-site: www.stpworks.com
"Two beer or not two beer?" Shakesbeer
|
|
|
|
|
How do you design your big applications??
I ususally use the 3-tier model but for a big application is better to separate le business layer and the presentation layer into small pieces. Or not?
I mean, multiple web projects for the user interface, and multiple business layers (one for each web project), and one database for all.
So you can update and deploy only one module (WebUI + Business) without touch the other modules.
But what about the circular references??
How do you desing your big application??
Thanks
Emanuele
- b0nu$ -
|
|
|
|
|
Does anyone know how to access a SQL Server database from ASP without showing the userid and password in the ASP file?
When I type the following in my ASP file, anybody who has access to the file can readily view the username and password.
objConnection.Open "DSN=mydsn;UID=sa; PWD=password;DATABASE=MYDB"
Appreciate your help. Thanks.
|
|
|
|
|
I don't think you can. If someone has access to your ASP, there is not much to do... He can always find a way to connect to your database or get your username/password.. The question is.. who can access your ASP code?
Philip Patrick
Web-site: www.stpworks.com
"Two beer or not two beer?" Shakesbeer
|
|
|
|
|
If someone has access to your asp scripts that makes you worry you have bigger problems than just trying to hide the connection string.
One option is write a resource type object and compile it. If an unauthorized user got to it they would still lneed to decompile to get the connection string.
|
|
|
|
|
Wy doesn't work this in Opera 5?
parent.document.getElementById("FrameTitel").firstChild.data = "123";
I want to change the text of a ID element of the parent window in my frame window, but my does this not work in Opera?
Is the code wrong!?!?!?
Daniel
---------------------------
Never change a running system!
|
|
|
|
|
Daniel S. wrote:
Wy doesn't work this in Opera 5?
Opera is a good browser for everything except the DOM, which is what you are using. It does HTML and CSS well, but not the DOM. It supports bits and pieces of the DOM, but not all.
Here is some info:
DHTML and the Opera Browser: The Fat Lady Hasn't Sung Yet[^]
Paul Watson Bluegrass Cape Town, South Africa Colin Davies wrote:
...can you imagine a John Simmons stalker !
|
|
|
|
|
I want to change a text with JavaScript, when the user clicks on a link (href).
I know that I have to make a JavaScript function and call that funktion in the onClick event of a link.
But, how can I change a text (no input field!!!) in my html file?
Daniel
---------------------------
Never change a running system!
|
|
|
|
|
Daniel S. wrote:
But, how can I change a text (no input field!!!) in my html file?
<a href="http://www.testurl.com/" onclick="this.innerText = 'we ain`t in Kansas no more.'; return false;">Toto,</a>
Paul Watson Bluegrass Cape Town, South Africa Colin Davies wrote:
...can you imagine a John Simmons stalker !
|
|
|
|
|
How to set the colour for the button... the way CP sets the color... Something to so with the .css, but whats the property to be set, and how.. Help PLease...
Also, is it possible to change the shape of the button?
|
|
|
|
|
SPS wrote:
How to set the colour for the button
You can use "background-color" in you CSS file for INPUT element. To separate buttons from other INPUT (like text) you can use a class. Here is an example:
<font color=green><!--in html page--></font>
<input type=button class=button value="Click me">
<font color=green><!--in CSS file--></font>
INPUT.button{
background-color: orange;
color: white;
}
SPS wrote:
Also, is it possible to change the shape of the button?
Nope, unless you'll create an image for your button. All you can do in HTML is to play with borders
Philip Patrick
Web-site: www.stpworks.com
"Two beer or not two beer?" Shakesbeer
|
|
|
|
|
Philip Patrick wrote:
CSS file
Thanks.... I guessed this to be the answer....
|
|
|
|
|
SPS wrote:
but whats the property
input.colouredbutton
{
background-color: #ff9900;
}
Is the way.
SPS wrote:
Also, is it possible to change the shape of the button?
Only if you use an image as a button. e.g. <input type="image" src="res/img/btn_submit_off.jpg" />
Paul Watson Bluegrass Cape Town, South Africa Colin Davies wrote:
...can you imagine a John Simmons stalker !
|
|
|
|
|
Thanks....
Hey Paul... Long time- No See??? Busy or were you in vacation?? ANything wrong with ur health....
Have a nice day!
|
|
|
|
|
How can I display the titel of the Frame?
I have a simple HTML file with one frame (inserted with <iframe src... ).
So, I want to display the title of the HTML file in the frame on the top HTML file!
And I want to update the title of the frame window on the top HTML file every time a new
file is loaded in the frame.
Is that possible?
If yes, how?
Daniel
---------------------------
Never change a running system!
|
|
|
|