By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,098 Members | 2,007 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,098 IT Pros & Developers. It's quick & easy.

how to open window with in the same page

P: 30
hi i am creating travels project using .net and c#
and iam new to java scripts i want to open new window with in the same page after clicking the image
i have wreiten code just look at this

Expand|Select|Wrap|Line Numbers
  1. <script language=javascript>
  2.     function open_win(url_add)
  3.    {
  4.          window.open(url_add,'','width=800,height=650'
  5.    }
  6.  
  7.     </script>
  8.  
by the above codding i am able to open in popup page, but i want to open window with in the page
thank you
raghu
Jan 23 '08 #1
Share this Question
Share on Google+
1 Reply


acoder
Expert Mod 15k+
P: 16,027
Just put a link around the image - no JavaScript needed.
Jan 23 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.