siLent`skY
04-27-2006, 08:50 PM
i have a problem. i have a flash gallery and every picture link calls a JS popup
on (release) {
getURL("javascript:popup('/11095.jpg','')");
}
my JS in the html is
<script language="JavaScript">
function popup(URL, Name, Features)
{
newWindow=window.open(URL, Name,"height=600,width=350");
newWindow.focus();
newWindow.document.bgColor="000000";
}
</script>
i want to ask is there a way to put a buton in the popup window
but i am loading *.jpg in the popup, not html. my question is can i add that close button in the popup window function, so every time i call that function that button to appear under the *.jpg im loading
pls if there is a way to do that rewrite my code with my ".../close.gif" im kinda newbie with js and html
on (release) {
getURL("javascript:popup('/11095.jpg','')");
}
my JS in the html is
<script language="JavaScript">
function popup(URL, Name, Features)
{
newWindow=window.open(URL, Name,"height=600,width=350");
newWindow.focus();
newWindow.document.bgColor="000000";
}
</script>
i want to ask is there a way to put a buton in the popup window
but i am loading *.jpg in the popup, not html. my question is can i add that close button in the popup window function, so every time i call that function that button to appear under the *.jpg im loading
pls if there is a way to do that rewrite my code with my ".../close.gif" im kinda newbie with js and html