Forum Moderators: open

Message Too Old, No Replies

pop window problem

pop up window problem

         

meanweaver

2:53 pm on Jun 5, 2004 (gmt 0)

10+ Year Member



I am using the scrpit below for a pop up on click window, but just above my image there is an icon that suggest a image should be there ie the red x in a box, in dreamweaver preview it looks fine but when uploaded to the server i then see this problem, also happens in netscape, i do not understand javascript just pasted the text in, anyone have any ideas.

Regards

<script language="javascript">
function openMywindow(){
open("PathToPage.html","PageName","scrollbars=0, width=100,height=100, top=5, left=5, title=YourTitle").focus();
}
</script>

<a href="javascript:openMywindow()"><img src="PathToImage"/></a>

Rambo Tribble

3:13 pm on Jun 5, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The red x means the browser can't find the image at the URL in your markup. Either you haven't uploaded the image to the server or it has a different relative path or absolute path on the server than on your computer.

meanweaver

7:20 pm on Jun 5, 2004 (gmt 0)

10+ Year Member



The problem was i had the picture i wanted and this red x image, I found the trouble, i had put part of the script in twice to my html i had found this, but when i uploaded it i kept uploading to the wrong part of the site, so everytime i viewed it i was seeing the old page still. Anyway had a break come back and found my daft mistake straight away. Live and learn!

Regards Ian