-
Image map and openWindow Round II
Hi guys:
Last week some of you guys, Khalid Ali and Joda, more specifically, helped me with a pop up function.
<script type="text/javascript">
function OpenWin(obj){
var newWin = window.open(this.href,'newWin','width=350,height=360,scrollbars=no,location=no');
return false;
}
</script>
<area shape="rect" alt="about" coords="184,31,255,56" href="order.html" onclick="return OpenWin(this)">
The file that should open in that pop up is called order.html
I created and external .js file, but for some reason, the page (order.html) doesn't display....
What could it be?
am89
-
Forgot external.js
Here is the externalk.js i made:
function OpenWin(obj){
var newWin = window.open(this.href,'newWin','width=350,height=360,scrollbars=no,location=no');
return false;
}
function changePage(newLoc)
{
nextPage = newLoc.options[newLoc.selectedIndex].value
if (nextPage != "")
{
document.location.href = nextPage
}
}
Thanks,
am89
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
|
Bookmarks