View previous topic :: View next topic |
Author |
Message |
gabe Smarty n00b
Joined: 30 Dec 2003 Posts: 3
|
Posted: Mon Feb 23, 2004 9:42 pm Post subject: popup function broken |
|
|
The code below used to work in 2.6.0-rc1 ...and we just updated to 2.6.2 and now this gives a javascript error. I suspect certain overlib options which take numeric arguments don't like the single quotes which now seem to be the default for all arguments. Things like WIDTH, OFFSETY, DELAY.
<a href="" onClick="return false;" {popup text="If you forget your password, we will use the answer you provide to the secret question to verify your identity.<br><br>Choose a Question/Answer that only you will know. It should not be related to your password in any way, unlikely to change over time, and extremely difficult for others to guess, even if they see your secret question." fgcolor= '#E68035' textcolor= '#FFFFFF' width='240' delay='50'}>What is this?</a> |
|
Back to top |
|
Duncan Smarty Pro
Joined: 16 Dec 2003 Posts: 166
|
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Mon Feb 23, 2004 11:26 pm Post subject: |
|
|
@duncan: It seems some issues with popup where fixed before 2.6.2, but not the Integers like width, height, timeout etc. |
|
Back to top |
|
Duncan Smarty Pro
Joined: 16 Dec 2003 Posts: 166
|
Posted: Tue Feb 24, 2004 9:24 am Post subject: |
|
|
Ah,
ok, I thought those were fixed in the CVS before already - at least all issues I experienced with the popup were fixed after grabbing the popup function file from the CVS back then. |
|
Back to top |
|
FEZ Smarty Rookie
Joined: 21 Oct 2004 Posts: 6
|
Posted: Thu Oct 21, 2004 5:04 pm Post subject: |
|
|
There is still a problem with popup in 2.6.5-dev!
Gives a Java-script error!
FEZ |
|
Back to top |
|
kills Smarty Elite
Joined: 28 May 2004 Posts: 493
|
Posted: Thu Oct 21, 2004 5:24 pm Post subject: |
|
|
FEZ wrote: | There is still a problem with popup in 2.6.5-dev!
Gives a Java-script error!
FEZ |
which error?
line?
which Browser? |
|
Back to top |
|
FEZ Smarty Rookie
Joined: 21 Oct 2004 Posts: 6
|
Posted: Thu Oct 21, 2004 5:26 pm Post subject: |
|
|
Oooops... Sorry
Line: 75
Error: Object required
FEZ |
|
Back to top |
|
|