Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [JavaScript] Dodanie OnClick do kodu
Samosia
post 13.04.2011, 20:37:06
Post #1





Grupa: Zarejestrowani
Postów: 9
Pomógł: 0
Dołączył: 13.09.2010

Ostrzeżenie: (0%)
-----


Witam,

Jak dodać do poniższego kodu funkcję OnClick?
Dokładniej taką:

<script language="javascript">
function openWindow() {
window.open('player.html', 'Music', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res
izable=no,fullscreen=no,channelmode=no,width=175,height=100,top=500,left=1')
}
</script>


Do ...

<script type="text/javascript">
freshsettings = new Object();
freshsettings.introbox1_link = "www.przykład.xxx"; // W to miejsce dokładnie - by po kliknięciu na link otwarła się strona www.przykład.xxx + popup //
freshsettings.introbox2_link = "#";
freshsettings.introbox3_link = "#";
freshsettings.landing_check = "";
freshsettings.landing_link = "#";
freshsettings.get_post = "http://domena.pl";

freshsettings.prf_blognav = "";
freshsettings.prf_blogmedium = "";
freshsettings.prf_galleryshine = "";
freshsettings.prf_gallerybump = "";
freshsettings.template_url = "http://domena.pl";
freshsettings.blog_url = "http://domena.pl";
var actual_location = window.location+"";

</script>


Ktoś dopomoże ?

Ten post edytował Samosia 12.04.2011, 21:54:57
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 19.07.2025 - 10:30