|
MSIE's CSS implementation is full of bugs, most likely Netscape 6 or Mozilla shows your pages like they should be according to CSS standards. Anyway, first you should validate your HTML and CSS code and fix any syntax errors. Use W3C's HTML validator and CSS validator
|
|
|
|
|
Can anybody find an error in this statement?
SELECT Username,Subject,TimeDate,Posts,WhoLast,WhenLast FROM MessageList WHERE Forum = 'general'
It used to read in all entries but now it seems to not read in any entries at all. Thanks in advance.
modified 12-Jul-20 21:01pm.
|
|
|
|
|
Hi, i always wondered and still wonder how the DHTML feature in the Code Project Forums work.
Someone gave me the following code but i don't think that's what i wanted.
function Toggle(node) {
var elmref;
if (Selected != "") {
elmref = eval("document.all('" + Selected + "_h1')");
if (elmref) elmref.style.display = 'none';
elmref = eval("document.all('" + Selected + "_h0')");
if (elmref) elmref.bgColor = '#FEF9E7';
}
Selected = this.name;
elmref = eval("document.all('" + this.name + "_h1')");
if (elmref) {
if (elmref.style.display=='none') elmref.style.display='';
else elmref.style.display = 'none';
}
elmref = eval("document.all('" + this.name + "_h0')");
if (elmref) {
elmref.bgColor = '#99CCFF';
}
window.navigate("#xx" + Selected + "xx");
return false;
}
If this is the code, can someone explain this to me ?
If this is not the code, then can anyone show me a example on how do this.
Thank You !
|
|
|
|
|
How to full screen the window of the internet explorer when click a button in the web page.
Thanks
|
|
|
|
|
|
I have a client who wants to add a feature to a website that can tell the distance between two addresses. As an example, on a moving company website the user enters in the city/state they are moving from and to, the website is updated with xxx miles between points.
Does any one know of a site or web service that can provide this?
|
|
|
|
|
Does anybody know how to install automatically in client browser a toolbar (.dll) like google toolbar?
What is the html code to do that?
Shin
|
|
|
|
|
Hello again,
Does anybody know how to create a new IHTMLDocument2 object and then add/insert elements to it?
To date, the only way i've found to initialise a IHTMLDocument2 object, has been to load up a (blank) html page and associate it with the new object.
Surely, there must be a programmatical way of creating new HTML docs a fresh, without having to load a pre-existing blank web page (i.e to use as a template) everytime?
Thanks in advance.
Roy
|
|
|
|
|
|
Hi Mark,
Sorry, was there supposed to be a URL or code fragment attached to your reply?
Roy
|
|
|
|
|
The word "this" was hyperlinked to http://www.codeproject.com/soap/xml_html.asp
|
|
|
|
|
Hi,
I've got little words for your question but don't have any real code fragments that I've used.(I did some similar job what you said in your posting.)
1. Call CreateStreamOHGlobal.
(Anyway, you have to allocate some memory or object to physical memory.)
2. Init New stream object with some Text or anything else.(Not Mandatory)
3. Load stream object to your MSHTML instance.
If any of you know better COM-style way to implement this, plz comment.
Regards,
Ryan
-p.s If you're not familiar with COM, I guess your current method is sufficient.
|
|
|
|
|
Hello,
I am using MSHTML (in VC++)
I would like to parse a HTML doc with <object> tags in it, extract the Object(s) in question, then grab the object's parameters (<param />)
I was surprised that the MSHTML element designed to represent the <object> tag, IHTMLObjectElement, does not provide this functionality, aside from allowing you to extract class ID and name.
It seems the only way to extract the params is as a text string using IHTMLElement->get_outerHTML(),
This is a bit of a poor solution, as the reason for using MSHTML/IE's DOM in the first is to move away from hap-hazard string manipulation of HTML.
Am I missing something, or does IE/MSHTML's version of the <object> tag not include the standard <param /> functionality?
Any help on this would be appreciated,
Thanks
Roy
|
|
|
|
|
Hi - I need urgent help. I need some Visual C++ code that will allow me to export a screen image as a BMP/GIF and to save the file. I would greatly appreciate anyone's help. I am a newbie and need to do this somewhat urgently. Thanks everybody!
Imran
|
|
|
|
|
Hi,
With the version of IE5.0. We get the IHTMLElement "FRAME" as the active element after calling get_activeElement() function from top document even if the active element is a control or something other than the frame itself.
Does anyone know how to get this active element?
Oguzhan...
|
|
|
|
|
i am trying to get compaq's ipaq pocket internet explorer3.0 to display web pages that use a jvm. i have bought the jvm jeode runtime (by insignia solutions) and installed that on my ipaq. the pages i am looking to access through pocket ie pass *.jar files to browsers using the ARCHIVE attribute. however, pocket ie which forms part of WinCE uses html3.2 spec i am told, which does not support the ARCHIVE attribute introduced in later specs of html. is there an alternative way of passing the *.jar zip files of the class files to the pocket ie browser without using the ARCHIVE attribute that pocket ie doesn't seem to understand? thanks, dar.
|
|
|
|
|
how can i open a new window in the background in IE and netscape? in netscape i used "alwaysLowered=yes" option but this doesn't seem to work.
any suggestions?
thanx
|
|
|
|
|
Could anyone tell me if at all i could create the box effect which works in Netscape and IE. The Box effect i mean is the one which is there on codeproject.com on the left when you hove on a link, a box is drawn around it.
I have tried putting the many menus in that place to have a compatible version but they dont position correctly.
Eg: if you goto codeproject.com and observe the link and Say hover on the "Who's Who" cell on the left you see a box being drawn.
|
|
|
|
|
I would like simple javascript that performs the following task:
On mouseover of text, I need it either a pop-up or drop-down effect to occur with hyperlinks.
I'm very new at web development, so the simpler the better.
Thanks very much.
|
|
|
|
|
These scripts will do exactly what you want:
http://www.webreference.com/dhtml/hiermenus/
I do have to warn you: this stuff is *not* simple by nature. The menus are fairly easy to configure, but the scripts themselves are very complicated.
Jon Sagara
"Did you bring the butfor?"
"What's a butfor?"
"To poop with, silly."
|
|
|
|
|
Check here: http://www.dynamicdrive.com/dynamicindex1/index.html You should find one menu script that suits your need. Best of luck,
|
|
|
|
|
It seems that Netscape likes bringing up Close Window [windowname] where windowname is the name you specified as the 2nd parameter in window.open(). It looks as if it performs this event when doing a self.close() or opener.close().
Does anyone know the actual reason why Netscape brings this alert up to the user? This might provide a hint programically why I see this itermittingly rather than all the time.
Thanks!
Chris
"Why are we hiding from the police, Daddy?"
"We use VI, son. They use Emacs."
|
|
|
|
|
When requesting a file from a http server the browser usualy send a GET/"the folder"/ HTTP/1.1 and some other stuff
i figured out the under pnm:// protocol it dose send a PNA message but that was as far as i could get dose anyone have any info on those two protocols the thing is i don't know how it requests the file ater the PNA message.
Would be really thankfull if anyone could give me something to start on.
thank you
|
|
|
|
|
Hi Friends
I am building an intranet site and want to access the IP Address or the domainname/ computer name of the client machine using javascript or vbscript.
so if any one could help me i will be thankful.
|
|
|
|
|
Here's some script that should work
//////////////////////////////////
//// Note
//////////////////////////////////
//////////////////////////////////
if (navigator.appName=='Netscape' && navigator.javaEnabled()) {
hn = java.net.InetAddress.getLocalHost().getHostName();
ha = java.net.InetAddress.getLocalHost().getHostAddress();
document.write('HostName: '+ hn + '<br>' + 'HostAddress: '+ ha );
}
//////////////////////////////////
//// Note
//////////////////////////////////
//////////////////////////////////
if (navigator.appName=='Microsoft Internet Explorer') {
var ip = "";
document.write(ip)
}
Hope that helps. I tryed documenting it a little bit for ya,
so beer with me
Later,
Caleb
|
|
|
|