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:
What else has to be included on that page?
What I have for the page is:
<html>
<body>
<script src="//barnabasfoundation.com/embed/415" id="barnabas-widget-415"></script>
</body>
</html>
What else has to be included on that page?
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.
ASKER
Pandas, what you see is what you get, so what is your recommendation?
Like this:
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>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
All you needed to do is create a blank div with the id barnabas-widget-415 and remove that id from your script tag.
ASKER
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.