Comments (13)
Argh! Typo in the title, and it's uneditable. Oh, the shame. :)
Original comment by [email protected]
on 19 Nov 2007 at 4:03
from recaptcha.
Update: I found that it's better to apply the ltr direction to recaptcha_table
instead of recaptcha_widget_div, that way, it doesn't affect the whole box's
alignment (left or right).
Attached is the updated PHP file. You can see it in action in my blog:
http://eesh.net/blog/?p=204 (Just a random post).
Original comment by [email protected]
on 24 Nov 2007 at 12:27
Attachments:
from recaptcha.
Still relevant to version 2.7.
Original comment by [email protected]
on 2 Jan 2008 at 12:10
from recaptcha.
Hi,
Could you please post a sample HTML page where applying the tag on the div vs.
applying it on the table makes a difference? I'm going to look into applying
this fix
to the reCAPTCHA javascript, but I need to understand exactly what will work
best.
Original comment by ben.maurer
on 2 Jan 2008 at 4:23
from recaptcha.
Here are two static pages I made from my blog. You will see that in the first
one,
the div is set to LTR, and the whole box is moved to the left instead of being
right-aligned like the rest of the interface. In the second page, the table is
set to
LTR, so the left/right alignment is inherited from the page and the box is
aligned to
the right.
http://eesh.net/blog/rc_div.html
http://eesh.net/blog/rc_table.html
IMO, the alignment should be inherited from the page, because that's what the
user
expects, so LTRing the table is better.
Of course, if you ever plan to add localizations for RTL languages (I would
gladly
help with Hebrew), this needs to be a per-language parameter in your code, so
an RTL
language interface won't get an LTR table.
Original comment by [email protected]
on 2 Jan 2008 at 4:47
from recaptcha.
Hi,
Thanks for the example. I'll look into making the change on the reCAPTCHA side.
It is
probably going to take a bit because we're in the middle of deploying some major
upgrades.
re: localizing for RTL: I think it's going to be pretty hard to do that with our
current theme. What I'd suggest doing is to use the custom theme. That will
allow you
to choose the localization and also make a more RTL friendly layout.
Original comment by ben.maurer
on 2 Jan 2008 at 5:38
from recaptcha.
Thank you!
When I have some free time, I'll look into making a Hebrew custom theme. Is
there any
way to submit such a thing to you to be included among the standard options?
Original comment by [email protected]
on 2 Jan 2008 at 6:23
from recaptcha.
In the meantime, the only fix we could apply to the WordPress plugin is the:
document.getElementById('recaptcha_widget_div').style.direction = 'ltr';
addition. Am I correct? In that case I will include that in the Work-In-Progress
version unless/until otherwise told to (In case it is incorporated into the
reCAPTCHA
side).
Original comment by [email protected]
on 23 Feb 2008 at 8:13
from recaptcha.
It is better to apply the direcrionality to the table, like so:
document.getElementById('recaptcha_widget_table').style.direction = 'ltr';
But except for that detail, yes, that is the only fix possible through the WP
plugin.
Thank you!
Original comment by [email protected]
on 23 Feb 2008 at 8:18
from recaptcha.
Sorry for the late response but, I implemented the 'fix' in comment #9 but
FireBug
claims there is no such element with id 'recaptcha_widget_table'. It doesn't,
however, complain when I use 'recaptcha_widget_div'.
Original comment by [email protected]
on 3 May 2008 at 4:33
from recaptcha.
I copied the name wrong, it's supposed to be:
document.getElementById('recaptcha_table').style.direction = 'ltr';
You can see it in action on my blog on any random post (like
http://eesh.net/blog/?p=242) or on the demonstration pages I mentioned on
comment 5:
http://eesh.net/blog/rc_div.html
http://eesh.net/blog/rc_table.html
You'll notice the rc_table page looks better, because the whole recaptcha frame
is on
the right (With the textbox and the button, as expected).
Original comment by [email protected]
on 6 May 2008 at 12:56
from recaptcha.
Alright, thanks for the fix :)
Original comment by [email protected]
on 6 May 2008 at 1:20
from recaptcha.
Glad to have helped!
Original comment by [email protected]
on 6 May 2008 at 1:26
from recaptcha.
Related Issues (20)
- Checkout command is incorrect, should be https://
- v2 does NOT WORK on many servers because of php hardening!
- Domain blo.gg not valid
- PYthon 2.4 compatibility
- Using Recaptcha on CMS system
- ReCaptcha V2 API not responsive
- reCaptcha wizard not rendered in IE 8 in Compatibility View mode
- Audio pattern challenge - not able to input (type in)
- Audio challenge - instruction text cut off
- No audio on Samsung Galaxy S4/S5
- An error occurred while connecting recaptcha service
- Internal error occured
- Current font on site flickers on recaptcha load or challange question popup.
- Error: Invalid verify parameters
- recaptcha v2 does not load on IE7.
- recaptcha v2 does not load on IE7. HOT 1
- Captcha passing validation with invalid characters
- Captcha is not working even if the entered value is corrent
- Not validating accurately
- Getting wrong captcha every time, even if correct captcha is provided HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recaptcha.