Link to home
Start Free TrialLog in
Avatar of aclaus225
aclaus225

asked on

Creating Pop Up Web Page

I need to create a web page that will read a script when it opens, but have to be missing something.  
What I have for the page is:
<html>
<body>
<script src="//barnabasfoundation.com/embed/415" id="barnabas-widget-415"></script>
</body>
</html>

Open in new window


What else has to be included on that page?
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

What you are actually loading is javascript and that should go either in your <head> section or just below the closing </body> tag depending on where you are putting your js scripts.
Avatar of aclaus225
aclaus225

ASKER

Pandas, what you see is what you get, so what is your recommendation?  
Like this:

<html>
<head>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script>
				
		
	<script type="text/javascript" src="/js/global.js"></script>
</head>
<body>
<script src="//barnabasfoundation.com/embed/415" id="barnabas-widget-415"></script>
</body>
</html>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
All you needed to do is create a blank div with the id barnabas-widget-415 and remove that id from your script tag.
Thank you for the speedy assistance.  It always seem like really basic stuff is what I miss.
That's true of everybody.  Sometimes it just takes another set of eyeballs....or a long walk or nap.