|
You need to use the Select[^] and Option[^] objects.
var list = new Select();
list.add( new Option('myValue', 'Displayed Text') ); That should add one option to a new drop-down list. I believe you can also use a second option to the add() method to specify what (zero-based) index to add the option to.
Michael Flanakin
Web Log
|
|
|
|
|
Thanks for giving early response.
Please help me using image and onmouseover and onmouseout event :
HOW To ...
1. I want to use image.
2. onmouseover on image it will display menu .
3. onmouseout event it will disapear.
4. while on menu , color of menu will change automatically.
I like to have functions like :
function createmenu(menuname,menuitems);
function showmenu(document.getElementById('mymenu',event);
function hidemenu(document.getElementById('mymenu',event);
Some usefull CSS .
Expecting early response.
rpkumar
|
|
|
|
|
Hi all,
Any ideas why this should have happened, and/or how to run both side by side?
TIA,
Steve.
|
|
|
|
|
it is all about http and isapi filters; first install iis then sql server
Mikail Çetinkaya . The C# DEveloper
|
|
|
|
|
Hi!
I would like to know is there any way or method by which I can use following code in HTML file on Linux and Windows server. I use this code for SHTML file on Linux server.
code:
I need to automate some pages made in HTML which have common header and footer. everytime i have to upload all pages if i did any common chnages, which have to reflect in all pages of the website.
seeking for an early help.
thanks in advance.
Sujata.
|
|
|
|
|
Yes, if you reconfigure the web site to handle html files as shtml files.
---
b { font-weight: normal; }
|
|
|
|
|
Thanks for quick reply.
I don't know how to do it? can you please tell me how can i do that? i have all html files on Windows Server.
sujata.
|
|
|
|
|
In the properties for the web site, klick Configuration. In the Mappings tab you see a list of extensions and their mappings. Add a mapping for html with the same settings as the shtml mapping.
---
b { font-weight: normal; }
|
|
|
|
|
you mean to say on the Control Panel of our website, sorry i didn't find that one. in my website control panel, i have following options:
option, preference, plan manager, Domain, serv U FTP, Trouble Ticket, Folder manager, mail manager, database manager, ODBC DSN, frontpage manager, stat manager, scripting manager, DNS manager, ACL manager, APPs manager, reports etc.
is there any other way to do it?
Thanks.
Sujata.
|
|
|
|
|
You need access to the server to change the properties of the site.
---
b { font-weight: normal; }
|
|
|
|
|
that seems that only Service Provider can do only that thing, i have discuss those option which we have on control panel. I we don't have any other feature, which we can access. do you thing is there any chance to change any feature via FTP?
sujata.
|
|
|
|
|
No, you can't change properties of the web application using FTP.
---
b { font-weight: normal; }
|
|
|
|
|
Try renaming the HTML file that does the SSI to .shtm or .shtml . If you have SSI's enabled, this should work.
Michael Flanakin
Web Log
|
|
|
|
|
Thanks for the suggession!
Yes i know .shtml file will solve the problem. I am working with two website one running on Linux where all pages are made of .shtml and one on windows where more or less 100 pages are there made in html. change all 100 html file to shtml will waste of time, that site on search engine will hamper too.
I will start one more website also. either on linux or windows, but i want to clarify before that if i make .html file can I use that 'include code' SSI?
if you know any other please let me know.
thanks once again for all cooperation.
Sujata
|
|
|
|
|
In that case, the only option you really have is to either add a mime type or application mapping on the site. And, the only way to do that would be to logon to the server or remote connect thru IIS Manager.
Michael Flanakin
Web Log
|
|
|
|
|
Sorry its not clear to me what are you trying to say.
Sujata.
|
|
|
|
|
This is basically, what Guffa mentioned. Do you have access to the server? If it's not your server, then you'll have to contact your hosting provider about it.
Michael Flanakin
Web Log
|
|
|
|
|
Many many thanks both of you!
Yes as I can't find that option from where i can Map HTML as shtml into my server control panel, its better to ask my hosting provider.
Thanks once again for your help.
Sujata.
|
|
|
|
|
i want disable back key in the ie ,please give me hand for that .
|
|
|
|
|
Is this a new window or the current one?
Michael Flanakin
Web Log
|
|
|
|
|
Hi dear , thanks for your help
It is a current page,I have one page in all site and I want to disable the back button that is in the top cornner of the IE window.
|
|
|
|
|
I don't think you can disable the toolbars in the current window. I'm pretty sure you can only do that in new windows that you create.
Michael Flanakin
Web Log
|
|
|
|
|
Hi
please give me your solution for it
|
|
|
|
|
Are you wanting to know how to open a new window without the toolbar? Just so you know, there's no way to disable any one button. You'll have to remove the entire toolbar. And, even if you do that, that doesn't stop people from using Alt+(left) , Alt+(right) , and Backspace . My suggestion is that you find a better way of dealing with the back button, rather than removing it. I understand that sometimes you can't, but it's usually a better solution.
Michael Flanakin
Web Log
|
|
|
|
|
How to access objects declared with the <object> in the code behind.
C# ASP.Net-1.1 and to set its parameters
Thanks in advance.
K.P.Kannan
|
|
|
|