PDA

View Full Version : chromeless error...already read other threads


Kurupt!oN
11-30-2002, 05:00 PM
hmm...i don't know why, but i have an error with the chromeless window. this is my website. www.uhhh.cjb.net/ everytime i click the link and try to enter it, there is an error. i don't know what the error is. i am building the website offline using evrsoft's 1st page 2000. a friend of mine told me that maybe the problem is with the coding. the codes online and offline are different

lazy n0k (10:59:22 PM): offline moo\moo.html
lazy n0k (10:59:27 PM): online moo/moo.html
lazy n0k (10:59:30 PM): stuff like that


i have read other threads, and nothing caught my eye about the same problem i am having. help me please!! thank you in advance

Quiet Storm
11-30-2002, 07:36 PM
I think the problem is with:

<a href="javascript:openIT();chrome.html">

Try changing it to this:

<a href="javascript:openIT('chrome.html');">

Mr J
11-30-2002, 07:51 PM
You do not need to pass the page to the function as this is already stated in the secondary script.


<a href="javascript:openIT()">»CONNECT«</a>

will suffice.

The error message is relating to the main script....

pz_chromeless_2.1.js

which we'll need to see to try and find the cause of the problem

Kurupt!oN
11-30-2002, 10:35 PM
i attached the pz_chromless_2.1.js do what you must javascripts wizards and help me! :D you will need to unzip the file

Quiet Storm
11-30-2002, 10:48 PM
You're code's a lot different than mine...

:confused:

What does the error say exactly?

Kurupt!oN
12-01-2002, 12:56 AM
it says ERROR ON PAGE right on the status bar. you can check the error out by visiting my website. www.uhhh.cjb.net/

zoobie
12-01-2002, 06:43 AM
They disabled chromeless windows with the SP update. :D

Mr J
12-01-2002, 01:13 PM
OK ..I downloaded the .JS file, placed it in the same directory as the HTML file calling the chromeless window, made sure I had the following in the HTML file

<script language=javaScript src="pz_chromeless_2.1.js" type=text/javascript></script>

Cooked it on gas mark 7 for 20 minites and up popped a chromeless window

:)


It worked OK
:thumbsup:

Kurupt!oN
12-01-2002, 05:41 PM
ok....i finally got the chromeless window to open up. it seems all i had to do was change

<script language="javaScript" type="text/javascript" SRC="js/pz_chromeless_2.1.js"></SCRIPT>

to

<script language=javaScript src="pz_chromeless_2.1.js" type=text/javascript></script>


but now a new problem has occured. when i open up the chromeless, the page within it is not viewable, saying the "page cannot be found"...i don't get this because i linked my page to chrome.html. chrome.html is just a normal html file like intro.html. so how come this thing doesn't work?

i guess it won't matter because i am trying to make three frames within chrome.html. the first frame would be for the navigation on the left side. the middle frame would be where everything will load from the navigation and the third frame would be my menu of music on the right side. hmm....is this even possible?


by the way...mr j, when you tested out the chromeless window, did you build everything offline?

Quiet Storm
12-02-2002, 06:03 PM
I think the problem is with:

<a href="javascript:openIT();chrome.html">

Try changing it to this:

<a href="javascript:openIT('chrome.html');">

Mr J
12-02-2002, 06:22 PM
In your page you have a link

<a href="javascript:openIT();chrome.html">»CONNECT«</A>

This is wrong!

It should be

<A href="javascript:openIT()">»CONNECT«</A>

The page that is going to be loaded is stated in the script (not the .js file) within the page at line

theURL="www.brinkster.com/alphakenny1/chrome.html"

I have tried this and it works.

You could have a frame in the chromeless window I suppose.... just load in the frameset page instead.


Did not build offline, just downloaded and edited your page, thats why I needed the .js file


:D

Kurupt!oN
12-04-2002, 03:37 PM
it didn't seem to work. it has the same error: "the page cannot be displayed"

in my chromeless window, where they have the "close" button on the top right corner doesn't seem to be visible either. hmm...this is really weird.

go to www.uhhh.cjb.net [my website] and see if you have the same problem, or is it just me?

A1ien51
12-04-2002, 05:04 PM
Just a quick comment. I would not nother using a chromeless window anymore since IE fixed its bug. Most people have upgraded their browsers by now and can no longer get a chromeless window. Your page is getting outdated as you make it and by the time you get it up, no one will be able to see it the way you want it do to the bug fix.

JustMy2Cents
A1ien51

Mr J
12-04-2002, 06:53 PM
Is this the page you are wanting to open in the Chromeless window?

www.brinkster.com/alphakenny1/chrome.html


All I get from this link is the "Page cannot be found" error

I notice that this page is on a different site

Kurupt!oN
12-07-2002, 10:06 PM
so the page is on a different site? how weird....maybe i shouldn't do my page in chromless...too many errors and what not. well thanks everyone for helping me out

Mr J
12-07-2002, 10:47 PM
Just change the correct the path to where the file is