window.open not functioning
-
I trying to have a window.open function when i click on my hyperlink. something like the code below (code line 1) hyperlink.Text += "* [" + Title("link_title") + "](" + Title("link_url") + ")
" But that is still not what I want. I want the type of window open is like the window with the function at below (line 2). hyperlink.Text += "* " + Title("link_title") + "
" + vbCrLf but when i replace my first line of code with the second line of code, my hyperlink don't function at all. With i use the line at below, so how am i going to show my Title("link_title") hyperlink.Attributes.Add("onclick", "window.open('" + Title("link_url") + "','pic','width=420,height=520')")
-
I trying to have a window.open function when i click on my hyperlink. something like the code below (code line 1) hyperlink.Text += "* [" + Title("link_title") + "](" + Title("link_url") + ")
" But that is still not what I want. I want the type of window open is like the window with the function at below (line 2). hyperlink.Text += "* " + Title("link_title") + "
" + vbCrLf but when i replace my first line of code with the second line of code, my hyperlink don't function at all. With i use the line at below, so how am i going to show my Title("link_title") hyperlink.Attributes.Add("onclick", "window.open('" + Title("link_url") + "','pic','width=420,height=520')")
-
hyperlink.Text += "* " + Title("link_title") + "
" + vbCrLf i try this line of code and it showing syntax error on javascript -- modified at 0:06 Tuesday 4th April, 2006
-
hyperlink.Text += "* " + Title("link_title") + "
" + vbCrLf i try this line of code and it showing syntax error on javascript -- modified at 0:06 Tuesday 4th April, 2006
-
well you dont need a vbcrlf can you print out the what it shows when you click View Source from IE? 1 line of code equals many bugs. So don't write any!!
Yes it showing the link as below. <^a class='lesson' href='javascript:window.open('Tutorial/Lesson1/createLayer.htm','pic','width=420,height=520')'>Create Layer
- and my file is at inetup/wwwroot/fyp/tutorial/lesson1/createLayer.htm wherby my page is at inetup/wwwtoor/fyp/tutorial.aspx -- modified at 22:12 Friday 21st April, 2006
-
Yes it showing the link as below. <^a class='lesson' href='javascript:window.open('Tutorial/Lesson1/createLayer.htm','pic','width=420,height=520')'>Create Layer
- and my file is at inetup/wwwroot/fyp/tutorial/lesson1/createLayer.htm wherby my page is at inetup/wwwtoor/fyp/tutorial.aspx -- modified at 22:12 Friday 21st April, 2006
-
yeah but can you paste in the entire line. below the text wind are < and > signs that convert them so we can see the text 1 line of code equals many bugs. So don't write any!!
<^a class='lesson' href='javascript:window.open('Tutorial/Lesson1/createLayer.htm','pic','width=420,height=520')'>Create Layer