Problem with pop-up window - Joomla! Forum - community, help and support
hello there.
i trying open pop-up window when site loads in order have player there.
so, @ head of index.php file write this:
and load popup onload() on body tag.
the pop-up window opens fine, have 1 major problem. every time click on menu item , page reloads load new content, pop-up re-loads every time load new content new pop-up (music player).
one thought use if function so, if in frontpage open pop-up, popup doen't load @ other content if user wants come frontpage, pop-up opened again.
is there way, in popup function can make pop-up open 1 time?(i don't want @ frontpage because if enters content google searching , go directly example products, music won't open @ all.
i trying open pop-up window when site loads in order have player there.
so, @ head of index.php file write this:
code: select all
function popup(){
window.open("my_url","title","height=200,width=200");
}
</script>
and load popup onload() on body tag.
the pop-up window opens fine, have 1 major problem. every time click on menu item , page reloads load new content, pop-up re-loads every time load new content new pop-up (music player).
one thought use if function so, if in frontpage open pop-up, popup doen't load @ other content if user wants come frontpage, pop-up opened again.
is there way, in popup function can make pop-up open 1 time?(i don't want @ frontpage because if enters content google searching , go directly example products, music won't open @ all.
use extensions instead of manual coding may have conflicts other jscripts.
http://extensions.joomla.org/extensions ... -a-iframes
http://extensions.joomla.org/extensions ... -a-iframes
Comments
Post a Comment