Solved

popup window from .ascx file

Posted on 2004-09-16
7
606 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 35

Expert Comment

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

Accepted Solution

by:
YZlat earned 40 total points
ID: 12075731
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
ID: 12075805
so i can put the <script language = "javascript"> anywhere on the page?
0
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 
LVL 5

Assisted Solution

by:darksinclair
darksinclair earned 40 total points
ID: 12075935
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
ID: 12076284
yeah, anywhere
0
 
LVL 23

Assisted Solution

by:apresto
apresto earned 45 total points
ID: 12077027
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
ID: 12077196
thanks everybody for all your help. i got it working!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

623 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