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-Funktion übernimmt width nicht

 
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 -> Language: German
View previous topic :: View next topic  
Author Message
Frodoo
Smarty n00b


Joined: 09 Nov 2004
Posts: 2

PostPosted: Tue Nov 09, 2004 5:34 pm    Post subject: PopUp-Funktion übernimmt width nicht Reply with quote

Hallo,
ich fange gerade erst an, mich mit Smarty zu beschäftigen und teste mit den Beispielen aus der Anleitung.
Dort habe ich auch die PopUp-Funktion gefunden, nur scheint diese bei mir nicht richtig zu funktionieren.

Smarty-Vers.: 2.6.2 / overlib 4.06

Wenn den Link aus dem Beispiel einfüge und keine Breite angebe, wird 200px als Standardwert angenommen. Aber das Fenster ist sehr viel größer und geht bis an den rechten Rand. Auch die Angabe einer eigenen Breite geht nicht.
Eine Breiteangabe funktioniert nur, wenn ich in der function.popup_init.php direkt einen Wert angebe, was aber nicht Sinn der Sache sein kann.
Weiß einer Rat?

Hier der Link im Template:
<A href="mypage.html" {popup text="This link takes you to my page!" fgcolor=#333 bgcolor=#660000 textcolor=#fff}>mypage</A>

Als Source:
<A href="mypage.html" onmouseover="return overlib('This link takes you to my page!',FGCOLOR,'#333',BGCOLOR,'#660000',TEXTCOLOR,'#fff');" onmouseout="nd();">mypage</A>
Back to top
View user's profile Send private message
Frodoo
Smarty n00b


Joined: 09 Nov 2004
Posts: 2

PostPosted: Tue Nov 09, 2004 7:24 pm    Post subject: Reply with quote

Habe den Fehler selber gefunden.
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 -> Language: German 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