|
How about doing his the normal way and have:
document.location = "http://google.com";
Brad
Australian
-CAUTION-
The previous statement may contain traces of PHP, and by reading this statement you negate the right to vote me down.
|
|
|
|
|
I have one big hTML page say a.htm and 10 menus in home page.
I want on click of different menus user focus should move to different headers of a.htm page.
Please share some code sample
Amit
Amit
|
|
|
|
|
Please specify what you mean by headers.
Brad
Australian
-CAUTION-
The previous statement may contain traces of PHP, and by reading this statement you negate the right to vote me down.
|
|
|
|
|
Ok let me explain in more better way.....
I have one Html Page like
Company History
<lot of details>
Company Mgt
<lot of details>
Company Locations
<lot of details>
so on....
Now in my home page i have one menu for each header i.e. Company History,
Company Mgt, Company Locations and so on...
I want to build only one html page for all abovve and depending upon user choice from menu selection, my html page should start from there......I don't worry if user scroll other sections also. Requiremnt is on click of menu focus should goto specific header of html page.
Please let me know in case still you are not clear with my query....
Amit
|
|
|
|
|
OK you should use a page jump here.
Type this in the html above Company History:
<a name="CompanyHistory">
Then when you call the page you pass that param to the browser.
Example:
<a href="http://example.com/mypage.html#CompanyHistory">
Brad
Australian
-CAUTION-
The previous statement may contain traces of PHP, and by reading this statement you negate the right to vote me down.
|
|
|
|
|
Thanks...I will try and test this. Happy new year to you and all other members of this site.
Amit
|
|
|
|
|
Hi all,
I want to put an download link, when viwer click on the clink the relavent file has to be download. I dnt want to manage the file in zip format. If the user uploades the file as document, he can able to download the same file in document format and save in the local system.
Plz any one suggest me..............
Thanks in advance
Bye
Know is Drop, Unknown is Ocean
|
|
|
|
|
what language are you using?
webProgrammer
|
|
|
|
|
Hi,
I want to create menu control for asp.net application. I tried to use asp.net 2 menu control, but it is not working properly, ie, it shows parentMenuName only and in the case of sub menu it shows "SubMenuName". And I am not able to hide sub menu during page load.
My xml file is
<?xml version="1.0" encoding="utf-8" ?>
<RootElements>
<ParentMenuName Name="Registration" ParentMenuId="1.1" URL="www.msn.com">
<SubMenuName Name="Agreement" SubMenuId="1.1.1" URL="www"></SubMenuName>
<SubMenuName Name="Personal" SubMenuId="1.1.2" URL="www" ></SubMenuName>
</ParentMenuName>
<ParentMenuName Name="News" ParentMenuId="1.2" URL="www.msn.com">
<SubMenuName Name="CNews" SubMenuId="1.2.1" URL="www"></SubMenuName>
</ParentMenuName>
</RootElements>
That is***************
* Registraion * During loading i want to show Registratin and News
* Agreement * only. If I click Registration it expand and shows
* Personal * the sub menu, ie, shows Agreement & Personal
* News * and vice versa.
* CNews *
******************
Can i do this using Asp:Menu control?.
Which is better one using Asp:Menu control or using JavaScript.
Please suggest me. If any sample application please send to me.
Regards,
Maxi
Maxi
|
|
|
|
|
how to declare static variable in javascript code in html tag.
|
|
|
|
|
Declare with 'ClassName.variableName' or 'ClassName.functionName'. Can be changed by any function or method. This method is rarely used.
Regards,
Venkatesh Mookkan.
Software Engineer, India
|
|
|
|
|
Hi
I need help regarding web and excel
Let me say about me I am not a programmer , I have interest in web design
My problem
I am trying to make a web page to store my books and cd dvd collection
Every is fine my question is
When I enter data in web page it should be stored in excel in a particular cell
Ex
Cd/dvd menu
English
srno-----Title---- cd / dvd-----action/com
1-------film name ----dvd-------action
as I enter this data in web this should be saved in excel
twith out any server because I want to use this any where with out any problem
if there is any other method please let me know
thanks
ramu
|
|
|
|
|
You can use ActiveX controls to save to the local disk. I would not use excel though. Also is this available from the web or not? Without a server there is no point in making a web application for a task like this.
It would be faster to develop and much easier to run if you wrote it in C# or VB.net
(One additional note, use XML instead of Excel.)
Brad
Australian
-CAUTION-
The previous statement may contain traces of PHP, and by reading this statement you negate the right to vote me down.
|
|
|
|
|
helloo friends
i am using
Dim excel As New Excel.ApplicationClass()
and with this i am retriving data from sql database
and print in excel .but when i click on button i wan to
store that excel file direct at particular location which
i mention .how is it possible????????
Thanks
|
|
|
|
|
Dear friends,
Can I find time that it is taking to execute a set of statements in .Net. Here I am opening a word document in a browser
using aspose library, where I open it by writing some set of statements aspose and .net
And I open it in a different browser by using window.target="_blank". Any way I want to know that, how much time that it is
taking to open a new browser and the word document both. I want to calculate that time for better performance of my
application. Thank you.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
|
Ok, go:
<br />
DateTime R_start = DateTime.UtcNow;<br />
<br />
<br />
DateTime R_end = DateTime.UtcNow;<br />
long timeCounter = (long)(R_end - R_start).TotalMilliseconds;<br />
Response.Write (timeCounter);<br />
|
|
|
|
|
I'm really stumped on this security issue. I get a windows challenge, pop-up, login dialog, whatever you want to call it, when I go to my website. Here is what I have so far:
1) I can get to services.xxx.com just fine ( no pop-up)
2) When I go to services.xxx.com/newsite I get the login pop up
3) services.xxx.com/newsite is a .NET 2.0 site with windows authentication in the web.config <authentication mode="Windows">
4) services.xxx.com/newsite is running as an application in IIS 6.0 (not as a virtual directory it physically sits under the root in the windows directory)
5) If I click "Cancel" on the pop up I get a "HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials.
Internet Information Services (IIS)"
6) If I enter the same login I use to remote desktop to that server, I gain access to the site
7) In windows security, the folder "newsite" inherits all it's permission from the parent directory.
8) If I open in IE on the web server itself like this http://localhost/newsite it opens w/o a login, but if I use the domain http://services.xxx.com/newsite then I get the pop-up
I want to allow anyone on the web to see this site (eventually but not yet so I didn't post the actual url ) . Can anyone help?
-- modified at 17:52 Wednesday 27th December, 2006
|
|
|
|
|
Well it sounds like your system only trusts the local intranet. Review your firewall settings and your IIS configuration to make sure they all to all (in fact sometimes you should block local to stop worms).
My best advice at this time (without being able to review your settings) is tha you should switch to Apache.
Brad
Australian
-CAUTION-
The previous statement may contain traces of PHP, and by reading this statement you negate the right to vote me down.
|
|
|
|
|
I have been developing a web application. In that Home Page is having almost 200 KB of images. I tried to optimise the image sizes. After reducing all images it become around 200 KB( Since it is clients requirents I can remove some images ). Now my Home Page is taking almost 17-200 seconds for downloading.
Can anybody help me in improving the page load time, ... means what can I do so that loading images can be faster.
Thanks in advance.
Arindam
|
|
|
|
|
Holy #$@!
What were you doing while you were at web design school??;P
Make all images in low quality "gifs" and try your best to replace them with text in divs where you can.
Brad
Australian
-CAUTION-
The previous statement may contain traces of PHP, and by reading this statement you negate the right to vote me down.
|
|
|
|
|
Hi Brad
Appreciate your suggestion.
Any other idea if you can share to me ...
Arindam
|
|
|
|
|
|
Well,
If te client wants these images he will have to accept that his homepage will take that long to download.
But, do make sure that the images are at their maximum compression!
200K images are very big for a home page.
Check out Microsofts home page. there 3 images, 1 big one and 2 smaller ones. all together are around 65K..
If you want to achive performance, your design is wrong form the very beginning.
|
|
|
|
|
Can I delete all the elements at once from a .net server drop down list control by using Javascript function.
Or atleast show me how can I find the count of items in a .net server side drop down list box by using Javascript function.
So that I can use .remove().
But show me atleast any one thing, please.
Thank you very much.
-- modified at 8:07 Wednesday 27th December, 2006
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|