Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.

# Thread: How to convert this code back to normal

1. ## How to convert this code back to normal

Hi,
I am looking for an automated software that can convert this code back to normal

Code:
```&lt;script type=&quot;text/javascript&quot;&gt;
\$(document).ready(function() {
//Tooltips
\$(&quot;.tip_trigger&quot;).hover(function(){
tip = \$(this).find(&#39;.tip&#39;);
tip.show(); //Show tooltip
}, function() {
tip.hide(); //Hide tooltip
}).mousemove(function(e) {
var mousex = e.pageX + 50; //Get X coodrinates
var mousey = e.pageY  - 340; //Get Y coordinates
var tipWidth = tip.width(); //Find width of tooltip
var tipHeight = tip.height(); //Find height of tooltip

//Distance of element from the right edge of viewport
var tipVisX = \$(window).width() - (mousex + tipWidth);
//Distance of element from the bottom of viewport
var tipVisY = \$(window).height() - (mousey + tipHeight);

if ( tipVisX &lt; 90 ) { //If tooltip exceeds the X coordinate of viewport
mousex = e.pageX - tipWidth - 90;
} if ( tipVisY &lt; 90 ) { //If tooltip exceeds the Y coordinate of viewport
mousey = e.pageY - tipHeight - 90;
}
//Absolute position the tooltip according to mouse position
tip.css({  top: mousey, left: mousex });
});
});
&lt;/script&gt;```
I used a code converter to convert it but I want to convert it back, One should ask Why did I convert in first place? Well because sometimes blogger never agree to the code straight away so this is one way to make it understand ^^

• Just use a text editor and do a search/replace. `&lt;` stands for (and has to be replaced with) `<`, `&gt;` for `>`, and `&quot;` for `"`. I don’t see anything else that has been converted. And actually you can even do that manually, it’s not that much. And I could even have done that myself. Would have taken less time than writing this.

• Originally Posted by VIPStephan
Just use a text editor and do a search/replace. `&lt;` stands for (and has to be replaced with) `<`, `&gt;` for `>`, and `&quot;` for `"`. I don’t see anything else that has been converted. And actually you can even do that manually, it’s not that much. And I could even have done that myself. Would have taken less time than writing this.
I should have actually made it clear that above this is just a demo, my issue is that I use blogger and it not only converts '< > but "" ' and much more things and sometimes it lots of work to be done manually, that's why I was asking for an automated software. Btw thanks for reply.

• Create your own web page that includes that code wrapped inside <textarea> </textarea> and it should display in the page with everything converted back.

• ## Users who have thanked felgall for this post:

cryoffalcon (04-29-2012)

• Originally Posted by felgall
Create your own web page that includes that code wrapped inside <textarea> </textarea> and it should display in the page with everything converted back.
You are really smart man, It is what I wanted. Thanks.

•

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•