Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

popup window from .ascx file

Posted on 2004-09-16
7
Medium Priority
?
615 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 160 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 5

Assisted Solution

by:darksinclair
darksinclair earned 160 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 180 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

Industry Leaders: 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 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…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

730 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