|
benjymous wrote:
I guess he means "what percentage of my sites visitors will be using a browser that supports the iframe tag"
Well he needs both what browsers support the iframe and then how many people use what browser. So we both helped him
Netscape 4.x: 4%
IE 4: 8%
IE 5/6: 87%
Other browsers: 1% (Opera, Netscacpe 6.x, Mozilla 1.0 etc.)
But it doesn't matter, we should all be coding towards standards not browsers...
|
|
|
|
|
I guess my stats are a bit abnormal then (13% Netscape6/Mozilla users) - then again it's probably not surprising when you consider the number of my friends that I've converted to Mozilla
--
Help me! I'm turning into a grapefruit!
|
|
|
|
|
I want a webpage to show the printdialog and close the window when this printdialog is closed:
window.print();
window.close();
What am I doing wrong?
btw: is it possible to disable/change the header/footer dynamically before the page is printed?
--
Alex Marbus
www.marbus.net
But then again, I could be wrong.
|
|
|
|
|
window.print(); should load the print dialog to the screen, however it won't run the window.close(); function until the print dialog has closed by the user hitting the print button or hitting the close button on the dialog. Otherise the code works for me.
HTH
Nick Parker
The goal of Computer Science is to build something that will last at least until we've finished building it. - Unknown
|
|
|
|
|
HI all
After reading the funny post about a "tree being hit ny lightning" I realise I have not got this tree control. Is this extra stuff you need to download? Or did I delete it in my sleep?
Thanx all
Give them a chance! Do it for the kittens, dear God, the kittens!
|
|
|
|
|
Ehhh . Ok I found it
Are there any other nice goodies like this available from MS?
Cheers
Give them a chance! Do it for the kittens, dear God, the kittens!
|
|
|
|
|
I have read the messages about changing the colors of scrollbars, can this be done on elements within a form only - eg. a textarea or select box.
|
|
|
|
|
kelly_attrill wrote:
can this be done on elements within a form only - eg. a textarea or select box.
Firstly you should not be wanting to do this. It is an IE specific feature, not part of any standard and takes control and familiarity away from the user.
Saying that: Yes you can do what you are asking. You simply assign the same scroll bar CSS attributes to the form element that you want styled.
e.g.
<textarea style="width:200px; height: 200px; scrollbar-Face-Color: #ffcc00;">
Not recommended but this is how you do it anyway
</textarea>
That would make the scroll bar face of your textarea orange.
Obviously when you do it for real rather use a CSS class than an inline style.
|
|
|
|
|
Hi,
I'm new at ASP.NET, and I'm designing a web app to access a database on the server, the problem is I don't know what to put as my connection string. The program works fine when I use a .mdb database on my local hard drive, but I want to connect to a database thats in the data directory on my server. What would my connection string be, the app is being written in C# with the code in a .dll.
Thanks
|
|
|
|
|
I don't have one to hand, but what you can do is use Server Explorer to create the connection for you (see the MSDN help for more info), this then has the added advantage you can view the database as you're developing code for it.
When you select a connection you'll see some stuff in the properties window, in there should be a connection string. If you need more info let me know and I'll come up with a better answer
--
Paul
"I need the secure packaging of Jockeys. My boys need a house!"
- Kramer, in "The Chinese Woman" episode of Seinfeld
MS Messenger: paul@oobaloo.co.uk
Sonork: 100.22446
|
|
|
|
|
I wanted a nice transparent image on a web page, and having shadows, etc. i saved as a PNG with alpha channel. But it appears as grey in IE6. Am i hallucinating? Is there something i need to turn on/off/some weird CSS style that needs to be set?
Shog9
------
If you really what to get shitfacde tell a crowded bar that is is yourt borthday and hife your wallet. you ka will many more friends.
- David Wulff, Brithday selebrations, 9/19/02
|
|
|
|
|
Shog9 wrote:
But it appears as grey in IE6. Am i hallucinating? Is there something i need to turn on/off/some weird CSS style that needs to be set?
I did some investigating and found that you have to use PNG 8bit for IE6 to recognise the alpha channel.
e.g. In Macromedia Fireworks I exported a PNG file in 8bit format and set the transparency to the alpha channel, then and only then did IE6 display the transparency properly. PNG 24bit and 32bit did not work.
What graphics tool are you using?
|
|
|
|
|
Paul Watson wrote:
What graphics tool are you using?
PSP7... Was thinking about trying photoshop when i got home, then forgot about it.
Paul Watson wrote:
PNG 24bit and 32bit did not work.
alright, i'll reduce it to 8bit then. *sigh*... when, oh when, are we gonna get out of the '90s...
Shog9
------
If you really what to get shitfacde tell a crowded bar that is is yourt borthday and hife your wallet. you ka will many more friends.
- David Wulff, Brithday selebrations, 9/19/02
|
|
|
|
|
|
Wow, Thanks Richard! You just saved me hours of converting images
Shog9
------
If you really what to get shitfacde tell a crowded bar that is is yourt borthday and hife your wallet. you ka will many more friends.
- David Wulff, Brithday selebrations, 9/19/02
|
|
|
|
|
Shog9 wrote:
Wow, Thanks Richard! You just saved me hours of converting images
Being the standards nazi I am I have to remind you that while Richard's link is useful and quite cool, it will only work in IE. Which is a bad thing.
My 2 cents
|
|
|
|
|
Ah, yes. But, PNG alpha already works in mozilla, so no worries!
Shog9
------
If you really what to get shitfacde tell a crowded bar that is is yourt borthday and hife your wallet. you ka will many more friends.
- David Wulff, Brithday selebrations, 9/19/02
|
|
|
|
|
|
Interesting! Thanks benjymous
Shog9
------
If you really what to get shitfacde tell a crowded bar that is is yourt borthday and hife your wallet. you ka will many more friends.
- David Wulff, Brithday selebrations, 9/19/02
|
|
|
|
|
Hello!
I need to share some information (username, password) between pages (to submit them to calls to a web service). Now the Session object is individual for each page and I don't think it is a good idea to transfer the username and password etc. in the Url (like mypage.aspx?userName=""&password="").
So is there any possibility to share such information between different pages of my app?
Cheers
and thanks in advance
Martin
"Situation normal - all fu***d up"
Illuminatus!
|
|
|
|
|
Throwing the password backwards and forwards isn't a good idea at the best of times. Try to validate the user id using the password once and then pass the user id around in a cookie. If you must use the password, encrypt it and put that in a cookie too.
Paul
|
|
|
|
|
Thanks, I think I'll try it with two cookies...
Paul Riley wrote:
Throwing the password backwards and forwards isn't a good idea at the best of times.
Yeah, I know but the problem is that I'm calling different methods of a webservice (written by me so I could change that) from different websites - and I wanted to make sure that the user has the rights to call the specific method from within the webservice (because he could easily invoke the webservice without using my webclient, I think). Therefore the webservice needs user information passed (in a soapheader) with every call.
But maybe this approach is flawed in itself? But how can I secure a webservice from unauthorized access?
Cheers
and thanks
Martin
"Situation normal - all fu***d up"
Illuminatus!
|
|
|
|
|
Hmmm... I see your point. Maybe you need to have a method in your webservice that authenticates a user/pw combo (storing details in private properties) and not allow a program or web site call any other methods until they've authenticated?
Alternatively, you might be able to use web.config authorisation but possibly not if your site is hosted.
Or I believe WebServices have been designed to allow you to sell access to the service. I don't know too much about that though. If you look into it, you might be able to use that.
Just a few ideas... if you find the answer, can you let me know? I might need this soon myself.
Paul
|
|
|
|
|
Paul Riley wrote:
Hmmm... I see your point. Maybe you need to have a method in your webservice that authenticates a user/pw combo (storing details in private properties) and not allow a program or web site call any other methods until they've authenticated?
That was my first thought. But the problem with this approach is: I need to create the webservice from my web application everytime a new page loads. So I would need to know the password and username at least at this point which is the same problem. If I could share the instance of the webservice across my whole web app (but AFAIK that isn't possible) I could even save the fact that the user has been authorised in the Session object of the webservice.
Paul Riley wrote:
Alternatively, you might be able to use web.config authorisation but possibly not if your site is hosted.
This wouldn't be an issue. I create the application just for fun and don't think I'll host it anywhere else than on my machine...
Paul Riley wrote:
Or I believe WebServices have been designed to allow you to sell access to the service. I don't know too much about that though. If you look into it, you might be able to use that.
I sure will - but I won't dig deeper until next week, for tomorrow is my last "Vordiplomsprüfung" and after that - well you can figure.
My second thougt was just to let the application authorize itself with the webservice(with fixed "user"name and password) but that seems a little bit awkward. Well I'll wait and see...
Thank you very much for your answers
Martin
"Situation normal - all fu***d up"
Illuminatus!
|
|
|
|
|
If I create a permant cookie by calling
RedirectFromLoginPage("",true),
After sometime,I specify "false".
Then the users who have accessed to my website before I disable the permant cookie can still access to my web without user/pass checked?
I set up autoentication timeout=30minutes,but after that period of time,when user focus on the page again,they will be surprised that they are directed to login.aspx.
So could it be possilbe to display something that the users are timed out?
Thanks.
this is my signature for forums quoted from shog*9:
I can't help but feel, somewhere deep within that withered, bitter, scheming person, there is a small child, frightened, looking a way out.
|
|
|
|