PDA

View Full Version : Pop Up Problems


stevenj_3
03-27-2001, 03:18 PM
I'm having trouble with a popup window.

I'm using this code to call a popup window.

<a href="javascript:popup('front.html')"><img src="image" border="0"></a>

This works fine when it's on my local directory, but when I upload the page onto a live server the problems begin.

Once live the link now goes to:

http://www.ahlberg.com/wp-adv/specialsales/education/spring2001/directory/popup('http://www.ahlberg.com/wp-adv/specialsales/education/spring2001/front.html')

Any help would be greatly appreciated.

kdjoergensen
03-27-2001, 03:26 PM
It may be that your page is not located in the same directory as the page you are referring in the link ?

try using absolute path:
e.g. http://www.yoursite.com/subdir_ifany/page.html
instead of:
page.html

Kenneth

stevenj_3
03-27-2001, 04:22 PM
I'm still having problems getting this to work. I've tried using absolute paths and the same problems occurred.

Unregistered
04-03-2001, 11:30 AM
I also think that the file ur uploading is not in the same directory, I had these alot so I do becareful when I am uploading things. My suggestion is to upload the whole directory (folder) as it is.