|
|
Author |
Thread |
butcher
Paranoid (IV) Inmate
From: New Jersey, USA Insane since: Oct 2000
|
posted 06-17-2001 03:05
When I view this page in IE 5.5 on my computer, the page links at the bottom of the page (page1 page2 ect.) work great with no errors. When I view the same page in the IE 5.5 browser that is in my Compuserve setup on the smae computer, I get errors saying object required. I'm using a script Mr. maX was kind enough to supply me with, so it can't be the code, unless I made a boo boo typing in into my code, but that still wouldn't explain why it does in one, and not the other.
Anybody run into this before?
- Resolutions, Of All My Fruitless Searches -
|
mr.maX
Maniac (V) Mad Scientist
From: Belgrade, Serbia Insane since: Sep 2000
|
posted 06-17-2001 09:03
Butcher, try to open my example page in CompuServe's IE and see what will happen.
|
butcher
Paranoid (IV) Inmate
From: New Jersey, USA Insane since: Oct 2000
|
posted 06-17-2001 20:18
No, your test page works fine Mr. maX, it must be something I did with your code.Here's one of the pages in question, can you tell me what I screwed up on?
Also, while I have you Mr. maX. Could I theoretically use that same code to duplicate the sliding nav bar on that same page? I was thinking that I could start with the divs all lined up, but set the display on the subsections to { display: none;} and have it change to something like { display: inline;} (not quite sure on that point yet) when the user clicks on one of the headings. Do you think that would work?
As always, Thanks
- Resolutions, Of All My Fruitless Searches -
|
mr.maX
Maniac (V) Mad Scientist
From: Belgrade, Serbia Insane since: Sep 2000
|
posted 06-17-2001 21:34
The problem is that you defined ten pages in the layers array, but you have only five.
As far as your second question is concerned, the answer is that it should work...
|
butcher
Paranoid (IV) Inmate
From: New Jersey, USA Insane since: Oct 2000
|
posted 06-17-2001 22:32
Thanks Mr. maX, and sorry bout that.
I knew none of the articles I have that PHP script running have more than 10 pages, so I just took a short cut in the script. I'll have to add some code to my PHP script to generate that dynamically.
Thanks for all your help
- Resolutions, Of All My Fruitless Searches -
|
butcher
Paranoid (IV) Inmate
From: New Jersey, USA Insane since: Oct 2000
|
posted 06-17-2001 22:34
Oh... and one more thing
Is there a way to suppress errors in JS like there is in PHP? Although I get and error in Compuserve, the script does work. If I can suppress that error, it'll be a done deal.
Thanks again
- Resolutions, Of All My Fruitless Searches -
|
mr.maX
Maniac (V) Mad Scientist
From: Belgrade, Serbia Insane since: Sep 2000
|
posted 06-17-2001 22:42
You can put "window.onerror = null;" at the top of the first <script> tag, but that won't suppress error messages (IE will still show exclamation mark in the status bar). You can also disable JS debugging in Internet Options.
[This message has been edited by mr.maX (edited 06-17-2001).]
|
butcher
Paranoid (IV) Inmate
From: New Jersey, USA Insane since: Oct 2000
|
posted 06-18-2001 01:15
Thanks Mr. maX
I made the adjustments in my PHP script and it works fine.
- Resolutions, Of All My Fruitless Searches -
|
butcher
Paranoid (IV) Inmate
From: New Jersey, USA Insane since: Oct 2000
|
posted 06-22-2001 04:54
mr. maX
I have modified the script you gave me to do my navigation thingy on the left of this page. Could you give me any pointers on making this work in NN 4.72, or is it not possible to do this in Netscape.
Thanks
- Resolutions, Of All My Fruitless Searches -
|
mr.maX
Maniac (V) Mad Scientist
From: Belgrade, Serbia Insane since: Sep 2000
|
posted 06-22-2001 10:12
To put it simple, you can't change display property in Shitscape 4.
For more info go to this site: http://www.xs4all.nl/~ppk/js/index.html and read "Archives/Old Display script" & "DHTML/Navigation: display" topics.
|
butcher
Paranoid (IV) Inmate
From: New Jersey, USA Insane since: Oct 2000
|
posted 06-22-2001 21:34
I was afraid of that.
Thanks for the link and all the help mr. maX, I appreciate it.
- Resolutions, Of All My Fruitless Searches -
|
Slime
Lunatic (VI) Mad Scientist
From: Massachusetts, USA Insane since: Mar 2000
|
posted 06-22-2001 21:45
It is possible to do in NN 4.x, I did the exact same thing once, but it's a nuisance.
You need to put it all in one big DIV, and have JavaScript arrays and objects containing the data for the dropdowns and links. Then you have to dynamically rewrite the entire HTML for the DIV every time someone clicks something in it. It's not *that* horrible a peice of code, and I may be able to dig it up...
then you just write the HTML with document.write - oh, wait, the catch is it all has to be in a layer. So, well, you may or may not be able to implement it. I'd recommend just removing the dropdown functionality for NN 4.x users, have it all un-collapsed immediately.
|
butcher
Paranoid (IV) Inmate
From: New Jersey, USA Insane since: Oct 2000
|
posted 06-22-2001 21:50
That's a good suggestion Slime, thanks. Maybe I'll even whip up a few graphics for it in NN.
Thanks again.
- Resolutions, Of All My Fruitless Searches -
|