Solved

popup window from .ascx file

Posted on 2004-09-16
7
595 Views
Last Modified: 2012-06-27
please help me create a popup window from a .ascx file. I'm unsure how to do this since the file does not have <head> tags to put my javascript in. the popup window is html and i need it to be small and without toolbars. is it possible to put code in the html file to get this done?
0
Comment
Question by:coletteck8
7 Comments
 
LVL 35

Expert Comment

by:YZlat
Comment Utility
put javascript there by adding <script language="javascript"> </script> tags
0
 
LVL 35

Accepted Solution

by:
YZlat earned 40 total points
Comment Utility
or you could put your javascript on the page that will include your ascx file but the best way (so you don't get confused later on) it's better to just add <script language="javascript"> </script> tags to your ascx page. You don't need to have <head>
0
 

Author Comment

by:coletteck8
Comment Utility
so i can put the <script language = "javascript"> anywhere on the page?
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 5

Assisted Solution

by:darksinclair
darksinclair earned 40 total points
Comment Utility
coletteck8 : a <SCRIPT> tag and </SCRIPT> tag are independant of any other tags.. Ie : they can be on any page regardless of what else is there.  so Yes you can pug a <SCIRPT language="javascript"> anywhere on the page even if you do not have a <HEAD> or <BODY> or anything else.

Cheers,
0
 
LVL 35

Expert Comment

by:YZlat
Comment Utility
yeah, anywhere
0
 
LVL 23

Assisted Solution

by:apresto
apresto earned 45 total points
Comment Utility
try this site:

http://javascript.about.com/library/tools/blpopwindow_maker.htm

its a cheap way out but it genarates the pop up code for you - all you have to do is specify the width and height and some other properties and BAM, its yours, also try this one out if u get no joy with that one:

www.accessify.com/tools-and-wizards/ pop-up-window-generator.asp

RESULTS PAGE:

http://www.google.com/search?hl=en&lr=&ie=UTF-8&q=create+a+pop-up+window
0
 

Author Comment

by:coletteck8
Comment Utility
thanks everybody for all your help. i got it working!
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now