Loading...
Copy code
Close
Permalink
Close
Please tell us why you want to mark the subject as inappropriate.
(Maximum 200 characters)
Report Inappropriate
Cancel
Private Message
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Cancel
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Update
Cancel
Feedback
Email ID
Subject :
Comments :
Send
Cancel
Private Message
Type the characters you see in the picture below.
Type the characters you see in the picture below.
Attach files
Desktop
Google Docs
Each Attachment size should not exceed 1.0 MB.
Max no of attachments : 3
Loading User Profile...
guest
Response title
This is preview!
Attachments
Publish
Back to edit
Cancel
(
)
Sign In
New to this Portal? Click here to
Sign up
You can also use the below options to login
Login with Facebook
Login with Google
Login with Yahoo
jQuery
Plugins
UI
Meetups
Forum
Blog
About
Donate
All Forums
Recent Posts
Log In
Search
jQuery
Search
jQuery Forum
Move this topic
Forum :
Getting Started
Using jQuery
Using jQuery Plugins
Using jQuery UI
Developing jQuery Core
Developing jQuery Plugins
Developing jQuery UI
QUnit and Testing
About the jQuery Forum
jQuery Conferences
jQuery Mobile
Developing jQuery Mobile
Sub forum :
Move this topic
Cancel
Using jQuery
colossuss..
Huge Gaps on a url using encodeURIComponent();
in
Using jQuery
•
9 years ago
Hy Guys i´m encoding some urls using encodeURIComponent(); for sharing links like google+,twitter,mailto:
The links are working fine but when they get hover some parts of the url represent huge gaps .
IS THIS NORMAL??WHAT I´M DOING WRONG? HERE IS A FIDDLE
EXAMPLE
1
Replies(2)
jay.blanc..
Re: Huge Gaps on a url using encodeURIComponent();
9 years ago
You just needed a little trim() -
http://jsfiddle.net/jayblanchard/86ABC/5/
Most notable was this line -
var text = $('.blog-title', this).text().trim();
And please, don't yell in your posts. We know that coding can make people crazy - including us
colossuss..
Re: Re: Huge Gaps on a url using encodeURIComponent();
9 years ago
Jay you are The Men thank you a lot.
Leave a comment on jay.blanchard's reply
Change topic type
Topic Type :
Discussions
Questions
Ideas
Problems
No of days :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Change topic type
Cancel
Link this topic
Provide the permalink of a topic that is related to this topic
Permalink
Save
Close
Reply to colossusstudiodesign's question
Top
Reply
{"z37237860":[14737000005280022,14737000005279077],"z5263876":[14737000005279049]}
Statistics
2
Replies
2314
Views
0
Followers
Tags
Cancel
javascript
html
url
encodeuricomponent
jquery
fiddle
Actions
Permalink