|
Hi, what do I have to put in my HTML file so that I don't have the links underlined? Do I need a CSS file for that? How can I wrote it? Thanks in advance.
|
|
|
|
|
define the styles for your links and put text-decoration:none
See here:
[^]
Sincerely,
Elina
Life is great!!!
Enjoy every moment of it!
|
|
|
|
|
make a simple css file and use
a
{
text-decoration: none;
}
hope it'd work for u
Reagrds,
|
|
|
|
|
How can java web page connect to database such as Access, SQL, Oracle?
If u know, please tell me how?
Thanks : )
|
|
|
|
|
I guess you can google for it, it has been far too long for me to remember. Java needs a sort of bridge to connect to a database (JDBC)
So search on terms like 'JDBC', 'Database acces with java', ...
You can also check out the java documentation on the Sun[^] site.
Hope this helps...
|
|
|
|
|
hi, i want to study and master CSS 3. But i havn't known anything about it before? Please tell me, what i need and how to work?
-- modified at 5:37 Friday 20th October, 2006
|
|
|
|
|
|
Hi everyone!
I’m still fighting with IE and I need a little help from you guys! My site[^] takes forever to load in IE (6 or 7), but not in every other browser I tested it with. I have no idea what it can be due to. I know most people here use Microsoft solutions, but this site is powered by Django/Python/Apache.
Thanks!
Carl
|
|
|
|
|
Probably it's waiting for one of your many Javascripts to complete. Remove them one at a time until you find the one that's taking time.
---
b { font-weight: normal; }
|
|
|
|
|
It's not. I turned off JS completely in IE and it is still very (just as) slow. That was also my first guess and what I tried first.
|
|
|
|
|
Then I don't know what it is that you do that IE doesn't like, but you are obviously doing a lot of weird stuff when loading the page, so it could be just about anything...
The site loads quite slowly in any browser. It takes about five seconds before it's completely loaded in Firefox, only twice that time in IE so the difference is not that big anyway. I would expect less than a second for a site like that.
---
b { font-weight: normal; }
|
|
|
|
|
What's your connection? I have basic AT&T DSL (the slow one) and it loads in about 1 second here...
|
|
|
|
|
first time takes around 5 seconds (im on v. good connect); subsequent trips (cached) def have less load time.
Nathan Lindley
|
|
|
|
|
I have a 100 MBit broadband connection, so that's not why it's slow.
Hold control when you press F5 to update, so that the page is not fetched from the cache, if you want to experience the real loading time.
---
b { font-weight: normal; }
|
|
|
|
|
i have the error described in
Issue 5: Converting the Personal Web Site Starter Kit (Visual Basic)
(This issue applies only when using Visual Basic.) When converting the Visual Basic version of the Personal Web Site starter kit to a Web application project, you will see a run-time error similar to the following:
Server Error in '/' Application
The type specified in the TypeName property of ObjectDataSource 'ObjectDataSource1' could not be found
To resolve the error, you must add the project namespace to the TypeName property. Assuming your project namespace is "wap1", follow these steps.
1. Open the Member_List.aspx page.
2. Change the type name in the ObjectDataSource declaration to be fully qualified, as in the following example:
<asp:objectdatasource typename="wap1.MemberDetails">
The problem is that id on't have the page of Member_List.aspx. Any one know what i should do
|
|
|
|
|
Hi,
In my asp.net (C#) application, I am running a long running process on one asp:button's click. So for safety purpose, I set the UseSubmitBehaviour attribute = "false" and then disable the buttons on the page (using javascript) and then proceed with the process.
Before actually starting the process, I ask the user a confirmation, whether to proceed or not using Ok/Cancel box in javascript and then actually proceed with the process.
But I see that even if user clicks Cancel, the page still posts back and server side process starts to execute.How can I avoid this ?
For your reference, given below is the whole code
<asp:Button ID="btnSubmit" runat="server" UseSubmitBehavior="false" Text="SUBMIT" Width="100%" CssClass="BUTTON" OnClick="btnSubmit_Click"/>
On Page_Load()
{btnSubmit.Attributes.Add("onclick", "ConfirmSubmit('" + btnSave.ClientID + "','" +btnSubmit.ClientID + "','" +btnValidate.ClientID + "','" +btnCancel.ClientID + "','" +btnBack.ClientID + "','" +btnViewEntireRecord.ClientID + "')");
javascript function
function ConfirmSubmit(btnSave,btnSubmit,btnValidate,btnCancel,btnBack,btnViewEntireRecord)
{if( window.confirm("Are you sure you want to submit this data ?") == true)
{
event.cancelBubble = false;
window.history.forward(1);
btnSave=document.getElementById(btnSave);
btnSubmit=document.getElementById(btnSubmit);
btnValidate=document.getElementById(btnValidate);
btnCancel=document.getElementById(btnCancel);
lnkBack=document.getElementById(btnBack);
lnkViewEntire=document.getElementById(btnViewEntireRecord);
btnSave.disabled = true;
btnSubmit.disabled = true;
btnValidate.disabled = true;
btnCancel.disabled = true;
lnkBack.disabled = true;
lnkViewEntire.disabled = true;
return true;
}
else
{
event.cancelBubble = true;
return false;
}
What is the bug in this. Pls guide me.
Thanks and best regards
Omkar
|
|
|
|
|
AFAIK you need to change the following:
{btnSubmit.Attributes.Add("onclick", "<big>return</big> ConfirmSubmit('" + btnSave.ClientID + "','" +btnSubmit.ClientID + "','" +btnValidate.ClientID + "','" +btnCancel.ClientID + "','" +btnBack.ClientID + "','" +btnViewEntireRecord.ClientID + "')");
The reason is when calling the Javascript from onclick you need to return false to cancel the event.
Your ConfirmSubmit function returned the true or false but it is not returned to the onclick event handler.
"A democracy is nothing more than mob rule, where fifty-one percent of the people may take away the rights of the other forty-nine." - Thomas Jefferson
"Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote." - Benjamin Franklin
Edbert
Sydney, Australia
|
|
|
|
|
I have a website create in Visual Studio 2005 (so asp.net 2.0). This site includes a Temporary folder where files are written by this site only for temporary storage. On my computer, I used IIS to give myself rights to read/write to this temporary folder. However, when I publish my website to the company's servers those rights do not transfer and must be manually set on each server. I'd read once that you can put a web.config in any directory to configure it differently from the rest of your website, but I haven't found anything specific. How do I grant read/write permissions to a specific folder? (I'd rather not use a virtual directory in this case)
Any help would be greatly appreciated.
|
|
|
|
|
My xml contains something like this
<intersectionx>street1
<intersectionx>street2
<intersectionx>street3
<intersectionx>street4
<intersectionx>street3
<intersectionx>street1
In my javascript i have stored the street names in an array using Dom.GetElementByTags() method.
in this case my array (lets call it list[]) will have the following content:
list[0]=street1
list[1]=street2
list[2]=street3
list[3]=street4
list[4]=street3
list[5]=street1
is there a good way in JS to make it so that the array contains only a set? (i.e. remove dupicates)
|
|
|
|
|
Hi,
This may be a very common task that many websites carry out, but I dont seem to find a proper solution for the same. Pls help me out
I have a webpage with a datagrid and stuff and 3 buttons. On the click of 2 out of those 3 buttons, I know that the processing time taken at backend is longer, so I need to change the mouse pointer to Hourglass so that none of the buttons are clickable, whereas when the processing is over and screen is updated with new data, I need to show default mouse pointer to the user.
The basic problem what I see here, is that, Because the Client side page rendering doesn't start before server side code is run through, how do you set 2 different cursors at the start of event and then at the end of that event.
Pls Guide me.. I am totally confused, whether this is even possible.
Thanks.. Waiting for ur scholarly reply.
Omkar
|
|
|
|
|
I do not know what language you are using. But one way you could change the cursor is, in the style sheet for your button (if none then make one), add this:
cursor: wait;
|
|
|
|
|
Have a look at AJAX, or if you're using .Net 2.0 you can check Microsoft's Atlas.
Sorry I don't have time to show you the code, but basically you may need Javascript and XMLHTTP to achieve that.
*Ok, just found an article I read in CP before. This article[^] (PleaseWaitButton) is what you need.
"A democracy is nothing more than mob rule, where fifty-one percent of the people may take away the rights of the other forty-nine." - Thomas Jefferson
"Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote." - Benjamin Franklin
Edbert
Sydney, Australia
|
|
|
|
|
I have two web pages. The main page contains several VML rectangles that have their "onclick" events set to javascript code. The second page is opened by the first page when a particular link is clicked. What I want to do is change the onclick event of a <v:rect> element on the main page from the 2nd page.
So far I am able to retrieve the reference to the object and view it's initial onclick event:
<br />
var rectelem = window.opener.document.getElementById('event2_2372');<br />
alert(rectelem.onclick);
rectelem.onclick = 'alert(\'This is the new onclick event!\');' ;<br />
alert(rectelem.onclick);
When I switch back to the main page and click on the object though, the initial onclick behavior is gone but the new behavior does not take place. Nothing happens and I get no script error to look at. I've tried moving the new onclick behavior to a function and then setting the object's onclick to the address of that function:
<br />
rectelem.onclick = test;<br />
<br />
function test()<br />
{<br />
alert('This is the test function!');<br />
}<br />
This approach has had the same result so far Any ideas on what I'm doing wrong or how to change this events behavior at runtime?
|
|
|
|
|
I have since been able to get the second approach to work by putting the function test() on the main page and then setting the onclick event = to window.opener.test. This still leaves me with the underlying problem though which is that I need to change what test() does during runtime which I'm not sure how to do.
|
|
|
|
|
Try to put the function object in the event instead of in the page:
rectelem.removed = function() { alert('This is the test function!'); }
---
b { font-weight: normal; }
|
|
|
|