I'm a recent Python/Django inductee and trying to get a small project
going.
Is there a good way to do a pop-up window from Django or should I use
java-script.  Right now, I can call an

 <a href= "mypage.html" onClick="return popup(this,'notes')">

and pop up mypage.html with some appropriate content and return code.
I can imagine one path which would be to instead use the same onClick
code above, with

 <a href= "popup1" onClick="return popup(this,'notes')">

and in my urls.py pick it up with a regular expression which then
initiates the views.py call to put in some nice things from my
postgresql database.
I was kind of hoping that I could just do a simple

   <a href ="popup1">Click me</a>

and have the views.py do some Django magic that indicates a pop-up.
Is that possible?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to