i'm wondering if there's the ability to have multiple src .js files? or how do you handle something like that?
let's say you have:
but you need to add something else to the page like:PHP Code:<script language="JavaScript" src="setPointer.js">
</script>
i tried putting in between the <script> and even tried including it into the .js file but neither way worked. so i'm wondering how to handle seperate things with javascript. is it possible?PHP Code:function popUp(URL) {
well i found out how to do it....you actually can have multiple src's...
it would end up looking like this
of course i had to create the popUp.js file which contained something simple like:PHP Code:<script language="JavaScript" src="setPointer.js">
</script>
<script language="JavaScript" src="popUp.js">
</script>
well ya learn something new everyday...PHP Code:function popUp(URL){
pop = window.open(URL,"","width=400,height=500,resizable=1,scrollbars=1,menubar=1")
pop.focus()
}
![]()






Bookmarks