|
To hide the div:
document.getElementById('hideshow').style.display = 'none';
To show the div:
document.getElementById('hideshow').style.display = 'block';
- S
50 cups of coffee and you know it's on!
|
|
|
|
|
Applet codes of the web page is as follow:
applet code="fphover.class" codebase="./" width="120" height="24">
param name="color" value="#000080">
param name="hovercolor" value="#0000FF">
param name="textcolor" value="#FFFFFF">
param name="text" value="C Programming">
param name="effect" value="glow">
param name="url" valuetype="ref" value="http://metalab.uniten.edu.my/~azhana/indexCProg.html">
|
|
|
|
|
Why won't you tell what the real assignment is?
The assignment is not to solve the problem, but to explain methods to solve it.
It's not very nice to try to trick people into doing your assignments.
---
b { font-weight: normal; }
-- modified at 5:22 Sunday 9th July, 2006
|
|
|
|
|
I having problems with getting Front Page 98’s hover buttons to function. So i need your help.i hope anyone can solve my problem qickly.pelase help me.i really need your help.this is the code.
Applet codes of my web page is as follow:
<applet code="fphover.class" codebase="./" width="120" height="24">
<param name="color" value="#000080" />
<param name="hovercolor" value="#0000FF" />
<param name="textcolor" value="#FFFFFF" />
<param name="text" value="C Programming" />
<param name="effect" value="glow" />
<param name="url" valuetype="ref" value="http://metalab.uniten.edu.my/~azhana/indexCProg.html" />
thank a alot to whom reply it....
|
|
|
|
|
-- modified at 4:23 Sunday 9th July, 2006
I just found out that this is a school asignment. It's not nice to try to trick people into doing your assignments for you. Unless you come clean about this I don't think that you will get any help at all.
--
Use "Ignore HTML" when you post your code. If we can't see the code, it's pretty hard to help you with it...
An please try to write a useful subject.
---
b { font-weight: normal; }
|
|
|
|
|
Hello, i tried closing a window using the code snippet
It seems not to work, does anybody know why or an alternative way.
|
|
|
|
|
You can't close the main window using Javascript. You can only close windows that has been opened from another window.
---
b { font-weight: normal; }
|
|
|
|
|
What you have posted won't work because you have commented it out. The following will work to close a window. If the window is the parent window (the only window open) you get a message box asking "Do you want to close this window?".
<a href="javascript:window.close();">Close Me</a> This works with Internet Explorer but probably won't work with other browsers. You can also use a button or image. Using the elements 'OnClick' event handler you can call a script function to close the window also. This is usually done for popup windows.
Mark
|
|
|
|
|
i am sending mail using asp.net 1.1 through class mailmessage
it is going in bulk and not in inbox what should i do
|
|
|
|
|
Does Sytem.Web.Mail use smpt authentication? I'm not sure that it does and I think that may be why microsoft has dumped it in favor of the System.Net.Mail class. This is how I use the mailclient in System.Net.Mail to avoid the bulk folder:
Dim mailClient As SmtpClient = New SmtpClient
mailClient.Host = sMailServerName
mailClient.UseDefaultCredentials = True
mailClient.DeliveryMethod = SmtpDeliveryMethod.Network
If you can use the System.Net.Mail namespace that'd be your best bet. Otherwise if you have to use the 1.1 namespace, you might check out DotNetOpenMail[^] which allows SMPT authentication.
"Half this game is ninety percent mental." - Yogi Berra
If you can read thank a teacher, if you can read in English, thank a Marine.
M y and h don't work so well due to m addiction to caffeine and m in abilit to to set a cup down uprigt.
|
|
|
|
|
... at http://forums.microsoft.com[^]
The situation is this:
At work:
Win XP SP2 + all patches, Firefox 1.5.0.4, IE 6 SP1 + all patches
I can post successfully to the forums.
At home:
Win XP SP2 + all patches, Firefox 1.5.0.4, IE 6 SP1 + all patches
I can compose messages but after posting, nothing happens.
Pop-ups are enabled. Only thing I can think of is anti-virus interference.
Kevin
|
|
|
|
|
Why don't you ask Microsoft why their support for any other browser than IE is non-existent?
Just use IE for their site. You can get the FireFoxView (View in IE) plugin for Firefox to make it easy to switch in between the two browsers.
http://www.iosart.com/firefox/firefoxview/
Dirk Watkins
|
|
|
|
|
drkwtkns wrote: Why don't you ask Microsoft why their support for any other browser than IE is non-existent?
You've misunderstood me. The forums do support Firefox. My problem is that I cannot access them in either IE or Firefox from my home PC but I can from my work PC, which is puzzling.
(BTW, MS do appear to be explicitly supporting Firefox these days - at least in some of their services.)
Kevin
|
|
|
|
|
I see. Microsoft is becoming a bit more "standards compliant" as you noted but even the msdn library doesn't come up "right" in firefox. Sometimes I get a little frustrated..
I would suggest looking at your firewall, virus scanner, router config, and maybe call your ISP cause something is either blocking it or there is something up with your connection.
Good luck!
Dirk Watkins
|
|
|
|
|
What's odd is that I experience no problems with any other similar forums.
Kevin
|
|
|
|
|
drkwtkns wrote: even the msdn library doesn't come up "right" in firefox.
True. Although msdn2 is better behaved. Problem is that many complain that it's slower than the main site.
At least Firefox is reasonably well supported by most sites/services these days - unlike, e.g., Opera.
Kevin
|
|
|
|
|
i'm using a popup in this way:
javascript:void(window.open("http://www.codeproject.com"));
how can i force this popup to open always without blocking it by the browser???
Faris Madi
Nothing Comes Easy (N.C.E.)
|
|
|
|
|
You can't. If that was possible, all popup blockers would be useless.
---
b { font-weight: normal; }
|
|
|
|
|
You know, I'm SURE I told him that a week or so ago...guess he didn't believe me
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
I was working with asp session.
I have around 30 sesssion variables. I want to update a database using this. For that i need to insert two variables in th database. One is the value of the session variable and other is the name of the session variable.
Eg :- i am initilizing session("name")="harikrk"
session("city")="delhi" etc. and so on...
when i insert into record i have to enter like
insert into details(field,value) values('name','harikrk')
insert into details(field,value) values('city','delhi')
etc.. and so on
i want to use a loop for this because otherwise i may need to write this query 30 times. For that i have to get the name of the session variable. If i get i can give in a loop.
Can any one tell me how can i get a name of the session variable?
by name i mean "name" , "city" etc in the above example.
hope someone will respond soon
thanks
reagrds
hari
|
|
|
|
|
Loop through the keys in the Session.Contents collection. Example:
For Each strKey in Session.Contents
Response.Write strKey & "=" & Session(strKey) & "<br/>"
Next
---
b { font-weight: normal; }
|
|
|
|
|
It works..
thanks a lot
|
|
|
|
|
I have this function
<br />
<br />
function convertToEntities() {<br />
var tstr = document.form.unicode.value;<br />
var bstr = '';<br />
for(i=0; i<tstr.length; i++)<br />
{<br />
if(tstr.charCodeAt(i)>127)<br />
{<br />
bstr += '&#' + tstr.charCodeAt(i) + ';';<br />
}<br />
else<br />
{<br />
bstr += tstr.charAt(i);<br />
}<br />
}<br />
document.form.entity.value = bstr;<br />
}
How can I make charCodeAt(i) return hex instead of decimal?
/\ |_ E X E GG
|
|
|
|
|
eggie5 wrote:
How can I make charCodeAt(i) return hex instead of decimal?
The return from charCodeAt method isn't in decimal format, it returns a number. So, You can't make it return hexadecimal instead of decimal.
It's like asking how to make a cow produce butter instead of cheese.
Use the toString method to convert the number to a string instead of using the implicit conversion that you do now. The toString method takes a parameter that specifies the radix:
bstr += '&#' + tstr.charCodeAt(i).toString(16) + ';';
However, why would you like to create hexadecimal numbers in that code? Character entities in html uses decimal numbers.
---
b { font-weight: normal; }
|
|
|
|
|
Guffa wrote: However, why would you like to create hexadecimal numbers in that code? Character entities in html uses decimal numbers.
It's perfectly fine to use hex too. And windows charmap utility uses hex Unicode codepoints, so putting the entities in hex helps to map back to charmap.
/\ |_ E X E GG
|
|
|
|