Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 20, 2008 05:54 PM by NC01
Nov 20, 2008 10:52 AM|LINK
Hi, I have created a pop up window using the following code:
<a href="Index.aspx" onclick='window.open("special.aspx?id=1",null,"height=400,width=500,status=yes,toolbar=no,menubar=no,location=no");'>Take a test</a>
this works fine, except its not actually what i want.
what i am actually looking for is, on this forum when u type up a question there is a button called SOURCE CODE.. on the far right. that window that pops up like that is what i want to create.
there will be a link on the home page saying TAKE A TEST and then in the pop up window will be about 5 questions.
Nov 20, 2008 01:25 PM|LINK
What is wrong with the code above? If you want to cancel the link action, add return false to the end.
Nov 20, 2008 01:35 PM|LINK
hi, thanks for the response... but that doesnt change anything...
Nov 20, 2008 01:46 PM|LINK
Not sure that I understand what you want either. Please list exactly what you are trying to do in more detail.
Nov 20, 2008 05:22 PM|LINK
ok, i am trying to get a pop up screen. but not a normal window like i did with the code above. i have tried finding examples, but now cannot remember any sites offhand.
the best example is right here on this site.
when u typing a post, click on the button called source code, by the smily toolbar... i want a window that pops up like that..... where i will have some text and some radio buttons with yes and no text. and a close button. thats it... is it possible?
Nov 20, 2008 05:23 PM|LINK
also the pop up screen will pop up from a link, for example
click here, pop up appears (not taking the user away from their current page)...
Nov 20, 2008 05:36 PM|LINK
You've got to create that look. There is no ready made solution to do all of that.
Nov 20, 2008 05:43 PM|LINK
how do u create that look? doesnt have to be exactly like that... is there a way?
Nov 20, 2008 05:54 PM|LINK
I suggest that you start here: