PDA

View Full Version : javascript pop-ups



Ĉon Light
March 14th, 2003, 08:38 PM
Ho hum... I;m back again with another scripting dilemma... And once again it's because I have clumsy fingers and have obviously put things in thw wrong places...

The page in question is this (http://www.miss-light.com/skye/perception/myth/) one... the links are meant to open each corresponding page in a popup window... normally this works for me, but for some reason... now, it says there is no page to be displayed. However, I have double, even triple-quadriple checked my paths and folders, and everything SHOULD be working.

But it wont.

Anyone care to dissect the source file and tell me why I'm an idiot?

:x

Alex
March 14th, 2003, 08:50 PM
whats the link to your site?

Alex
March 14th, 2003, 08:58 PM
any who i didnt see the script in your source file. did you upload it with the changes. here is a link that will tell you a script that should work. http://www.simplythebest.net/info/javascript65.html

Ĉon Light
March 14th, 2003, 10:00 PM
http://www.miss-light.com/skye/perception/myth/

this one

Alex
March 14th, 2003, 10:27 PM
ah ha. i think i found it


var popurl="aboriginie.htm"

where it says that, you have to have the full location, and it has to be uploaded to a server.

Ĉon Light
March 14th, 2003, 10:54 PM
well.. I used to have it as a full link... it was on my server..and that didnt work either..

:hangover:

Alex
March 14th, 2003, 11:06 PM
it should of. or mabye the script doesnt work when its there about 15 times. i had that happen to me. its not going to where with out a place to go. so upload the sites and fix the code. then im going to try to figure out why its not working.

lostinbeta
March 15th, 2003, 12:30 AM
You can try this...

Change double quotes to single quotes

var popurl="ainu.htm"

var popurl='ainu.htm'



And also, your code is a bit unefficient.... yeah. Check my attachment.

Ĉon Light
March 15th, 2003, 01:37 AM
Alex - I think you were right... I deleted a lot of the links and the remaining ones worked fine...

Very strange.

*kicks dreamweaver*
*kicks self*

thank you for your help guys...



:asian: