• Our friends from AlphaCentauri2.info are in need of technical assistance. If you have experience with the LAMP stack and some hours to spare, please help them out and post here.

Integrated popup html/javascript

Ziggy Stardust

Absolutely Sane
Joined
Nov 23, 2005
Messages
27,573
Location
High above the ice
I have just recently started programming in Javascript because there isn't a front-end developer at this company, so I was assigned the task of getting to grips with it. The project is an editor type of tool which has a submit rule button. When pressed I want a new window which shows the statistics of the project that was created and a message that the project has been saved successfully.

Now I have been searching for a few days for a way to create an integrated pop-up window. The alerts and prompts won't do the trick. I have seen this on websites, so I think it's possible. I just can't figure out how.

What I want is something like:

<html>
<body>
yadi, yadi, yadi
<pop up stuff id="Blah">
html code generated by ajax calls
</pop up stuff>
more yadi
</body>
</html>

So I have 2 questions.
Is this even possible? (if the answer is "no" I actually only have 1 question)
How is this possible?

I'm not using JQuery (yet) just plain old javascript/ajax/html/php/css

Any clues on the matter are appreciated!
 
After searching for 2 days I find the answer 30 minutes after deciding to ask for help :lol:

I found a lightweight lightbox solution which seems to do exactly what I wanted.
 
I often find that asking someone about a problem forces you to put it into words, which then makes the solution (or at least the correct google search terms) more obvious -- and kind of makes me look a bit silly :lol:
 
Precisely :D

I sit beside a designer who hasn't got the foggiest on the stuff I'm working on. When he sees me staring at the screen and pulling my hairs out, he sometimes asks: "What's up?". And more often than not I start explaining the problem and halfway I go "..... ..... hang on! That's it! Thanks!".
 
Back
Top Bottom