oops... sorry guys... i just read over the other forums and find one of the answers there... (the HTML/DHTML forum) <br>
However, it only works for Netscape.... can this also be done on IE 4 or IE 5?<br>
Hello-<br>
<br>
I'm the one that submitted the one in the HTML/DHTML forum. I'm pretty sure that this can be done in IE4, the only problem is that I don't know the necessary chain of commands in Internet Explorer...I only was able to derive that script from one at:
Of course, Netscape wasn't interested in making it IE compatible; you might look for a comparable script somewhere on MSN, if you could give me a script that does this on IE4, I would be more than willing to comine the two scripts for you.<br>
<br>
<br>
-Robherc
this your home page</a><br>
<br>
robherc, I did find this on the MSN page.... Very cool!<br>
<br>
Any idea how to combine these two scripts?<br>
<br>
Doug
It sends different html based on which browser you are using. <br>
<br>
I'm using IE5.0 and found that script in the Source (they have a link on the left to do this). If it is possible with IE4, I would imagine visiting that page would contain a the proper script. I tried the same page with Netscape and the link took me to an instruction page on how to set a home page (through the menu. That page included a set of instructions for IE4...)<br>
<br>
Let me know what you come up with.<br>
<br>
Doug
Hi Doug-<br>
<br>
Could you e-mail me both scripts, this one and the one that only works for Netscape. I'm not sure where I stored the Netscape compat. one, but if you can get them both to me together, I should have no problem incorporating the two scripts.<br>
<br>
<br>
-Robherc
Oh yeah, might help if I give you my e-mail address. Oops!<br>
<br>
robherc@netzero.net<br>
<br>
There, that'll probably make THAT easier for you. <br>
<br>
<br>
-Robherc
Doug- <br>
<br>
I encountered a problem while configuring the joint IE5/Netscape 4.x compatible homepage setting script. I need the function called: setHomePage(); from the microsoft.com page. The onClick handler from the <a href=> tag you gave me merely calls this function; the function itself is what I need.<br>
Please let me know if you can't find such a function in the page source (or just e-mail me the entire source code if you'd REALLY rather not look for it yourself) and I'll try to get this thing fully functional as soon as possible. <br>
Also, one thing I know of that you CAN do to add some cool JavaScript stuff to the forums w/o causing problems for less compatible browsers is this: you can use an if/then statement wimilar to this uone when implementing JS apps.... <br>
if(document.images[0]) <br>
{ <br>
document.images[0].src=whatever.gif or .jpg <br>
} <br>
<br>
This will cause the JS app to run ONLY if their browser supports such a property (ex: IE doesn't support document.images[] {at least not in any version up to 4.x} so this entire app. would be completely ignored). Just a suggestion for if you do really want to start implementing some cool JavaScript apps into the threads.
robherc nad dough,<br>
<br>
I have accessed the msn.com page that you guys have referenced. I did not find the coding of the function of "setHomepage". I think it is a memeber function of the IE5 objects...Might have to look for the full spec. of IE5 from microsoft?<br>
<br>
I have tried to access the same page via IE4 and I found that it merely re-direct me to a page showing the instruction on how to set the default URL manually...so there may be no way to perform the same task on IE4.<br>
<br>
I have tried to implement the IE5 script on my web page and I have encountered a problem... because I am using Frames on my web page. Once I click the link to "make this as my home page", the page was refreshed but it was refreshed in the frame where I put the script in. Is there a way to get around? <br>
<br>
pendragon
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.