שאלה ב-JS.

שאלה ב-JS.

יש לי
onClick="location.href=´page.html´;"​
בשביל לפתוח אותו בתוח iFrame מסויים, אני כותב:
onClick="iframeName.location.href=´page.html´;"​
איך אני יכול לפתוח אותו בתוך חלון חדש?
 
אכן שכחתי מקיומו של

window.open...
אבל בכל זאת (אם כבר שאלתי) ניתן לעשות את זה ע"י locatio.href?
 

dragon17

New member
בבשקה..../images/Emo127.gif

תוסיף את זה בתוך הדף.. function openwin() {pollWin=window.open(´2001.htm´, ´DPollPll01600´, ´width=700,height=430,location=no,menubar=no,status=no,directories=no,toolbar=no,scrollbars=no,resizable=no´) ואת הקישור תפנה ל: ()javascript:eek:penwin
 
למעלה