Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

popup

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
cam
Smarty Rookie


Joined: 17 Jul 2003
Posts: 9
Location: France, Grenoble

PostPosted: Wed Jul 23, 2003 7:23 am    Post subject: popup Reply with quote

Hello,

I'd like to open a popup(= just a little window which open near the principl window) when I click on a link. I wrote :

in .tpl:

{popup_init src="/jscript/popup/overlib.js"}

<A href="#" {popup text="coucou"}>{$nom|upper}</A>


The probleme is that nothig happens when I click on the link.
If someone know what I have to do.

Thank you very much


Last edited by cam on Wed May 05, 2010 10:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
boots
Administrator


Joined: 16 Apr 2003
Posts: 5611
Location: Toronto, Canada

PostPosted: Wed Jul 23, 2003 7:30 am    Post subject: Reply with quote

uhhhh, something does happen. Your browser targets the location given by the href attribute which you have set to "#" -- essentially null. Look at the manual page again--the example should make clear what you are doing wrong.

Also, I don't think that this is the function you want. {popup} is meant to create tool-tip type windows.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP